Skip to content
Discussion options

You must be logged in to vote

That warning is the core problem: the PyTorch you have installed was built for older CUDA architectures (up to sm_90) and does not include kernels for your GPU. The RTX 5060 (Blackwell, compute capability sm_120) needs a PyTorch built against CUDA 12.8 or newer. With an older build there is no kernel image for sm_120, so every CUDA operation fails even though the card is detected.

There are two parts to getting aihwkit running on this GPU:

1. PyTorch. Install a CUDA 12.8 (or newer) build into your conda env:

pip uninstall -y torch
pip install torch --index-url https://download.pytorch.org/whl/cu128

Then verify:

python -c "import torch; print(torch.__version__, torch.cuda.is_available(), …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@Atai0610
Comment options

@PabloCarmona
Comment options

@Atai0610
Comment options

@PabloCarmona
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by PabloCarmona
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants