Views
No views yet
cu128 stable and cu130 nightly) compile CUDA kernels up to sm_120. The GB10 has compute capability sm_121, which is not included. Simple CUDA operations work via PTX forward compatibility, but complex model inference — particularly diffusion sampling in tools like Boltz-2 — hangs indefinitely during PTX JIT compilation.pip install https://huggingface.co/Qanatpharma/pytorch-sm121-gb10/resolve/main/torch-2.12.0a0+gitb071fd7-cp312-cp312-linux_aarch64.whlpip install torch-2.12.0a0+gitb071fd7-cp312-cp312-linux_aarch64.whl --force-reinstall --no-deps1# Triton's bundled ptxas doesn't support sm_121a — use the system one
2export TRITON_PTXAS_PATH=/usr/local/cuda/bin/ptxas
3
4# Enable Tensor Core matmul for better performance
5export TORCH_FLOAT32_MATMUL_PRECISION=highpip install cuequivariance-torch cuequivariance-ops-torch-cu12 --extra-index-url https://pypi.nvidia.com| Field | Value |
|---|---|
| PyTorch version | 2.12.0a0 (main branch, commit b071fd7) |
| CUDA | 13.0 |
| CUDA arch | sm_121 only |
| Python | 3.12 |
| Platform | linux_aarch64 (ARM64) |
| Build flags | USE_CUDA=1 USE_CUDNN=1 USE_NCCL=0 USE_DISTRIBUTED=0 |
| Build time | ~2 hours on DGX Spark (20 ARM cores) |
| Wheel size | 168 MB |
1import torch
2props = torch.cuda.get_device_properties(0)
3cc = f"sm_{props.major}{props.minor}"
4print(f"Device: {props.name}") # NVIDIA GB10
5print(f"Compute capability: {cc}") # sm_121
6print(f"PyTorch archs: {torch.cuda.get_arch_list()}") # ['sm_121']
7print(f"Match: {cc in torch.cuda.get_arch_list()}") # True| Metric | Pre-built torch (hangs) | NIM container | This wheel |
|---|---|---|---|
| Time | ∞ | 4.1s | 7s |
| GPU utilization | 0% | 76% | 81% |
| Peak power | 9W (idle) | 21W | 38.7W |
| Confidence | N/A | 0.93 | 0.93 |
1git clone --recursive --depth 1 https://github.com/pytorch/pytorch
2cd pytorch
3python -m venv .venv && source .venv/bin/activate
4pip install pyyaml typing-extensions numpy cmake ninja setuptools wheel
5
6TORCH_CUDA_ARCH_LIST="12.1" \
7USE_CUDA=1 USE_CUDNN=1 USE_NCCL=0 USE_DISTRIBUTED=0 USE_MPI=0 \
8MAX_JOBS=$(nproc) BUILD_TEST=0 \
9python setup.py bdist_wheel