|
Download README.md from DoctorPopi/python_wheelhouse: direct link, hf CLI and curl.
- Browser
- Download file 2.79 kB
-
https://huggingface.co/datasets/DoctorPopi/python_wheelhouse/resolve/main/README.md
- Command line
-
hf download hf://datasets/DoctorPopi/python_wheelhouse/README.md
-
curl -L -o README.md https://huggingface.co/datasets/DoctorPopi/python_wheelhouse/resolve/main/README.md
2.79 kB
| license: other | |
| pretty_name: CUDA Extension Wheelhouse | |
| tags: | |
| - wheels | |
| - cuda | |
| - pytorch | |
| - prebuilt | |
| viewer: false | |
| # CUDA Extension Wheelhouse | |
| Prebuilt Python **wheels** for CUDA / PyTorch extensions | |
| (`cumesh`, `flash_attn`, `flex_gemm`, `natten`, `nvdiffrast`, `nvdiffrec_render`, | |
| `o_voxel`). Compiling these from source dominates install time — often **hours** | |
| on a single machine. This dataset is a shared cache so machines and CI can | |
| **build once, then reuse the wheel** and skip the compile entirely. | |
| Built for GPU archs `sm75`, `sm80`, `sm89`, `sm120` against `torch2.7`/`torch2.9` | |
| (CUDA 12.8), for CPython `cp310` and `cp312`. | |
| ## Why a wheel can't just be cached by filename | |
| A compiled-extension wheel's runnability depends on **four** axes, but the wheel | |
| filename only encodes **two** (dist name + Python ABI tag). The other two — the | |
| **GPU compute architecture** and the **torch version it was ABI-linked against** — | |
| are invisible in the name. A wheel built for `sm120` / `torch2.9` installs fine on | |
| `sm89` / `torch2.7` and then dies at the first kernel launch | |
| (`no kernel image available`). So wheels are stored under a path that carries | |
| arch + torch. | |
| ## Layout | |
| ``` | |
| <package>/sm<arch>/torch<major.minor>-cu<cuda>/<wheel>.whl | |
| ``` | |
| Examples: | |
| ``` | |
| flash_attn/sm89/torch2.9-cu128/flash_attn-2.8.3+cu128torch2.9-cp312-cp312-linux_x86_64.whl | |
| nvdiffrast/sm89/torch2.9-cu128/nvdiffrast-0.4.0-cp312-cp312-linux_x86_64.whl | |
| natten/sm120/torch2.7-cu126/natten-0.21.0-cp310-cp310-linux_x86_64.whl | |
| ``` | |
| - `sm<arch>` — GPU compute capability of the card the wheel runs on (e.g. `sm89` | |
| for Ada / RTX 40xx, `sm120` for Blackwell). Keyed off the **real GPU**, not a | |
| multi-arch build list. | |
| - `torch<mm>-cu<cuda>` — the torch + CUDA the extension was linked against | |
| (e.g. `torch2.9-cu128`). | |
| - The Python ABI tag (`cp310`, `cp312`, …) lives in the wheel filename itself. | |
| ## Usage | |
| Download a specific wheel: | |
| ```python | |
| from huggingface_hub import hf_hub_download | |
| path = hf_hub_download( | |
| repo_id="DoctorPopi/python_wheelhouse", | |
| repo_type="dataset", | |
| filename="flash_attn/sm89/torch2.9-cu128/flash_attn-2.8.3+cu128torch2.9-cp312-cp312-linux_x86_64.whl", | |
| ) | |
| # then: pip install --force-reinstall --no-deps <path> | |
| ``` | |
| > Install compiled wheels with `--force-reinstall --no-deps`: several declare an | |
| > unpinned `torch` requirement and a bare reinstall would clobber the env's pinned | |
| > torch, breaking every other C-extension built against the original ABI. | |
| ## Licensing | |
| Each wheel is a build of its **upstream project** and remains under that project's | |
| own license (e.g. natten, nvdiffrast, flash-attention each have their own terms). | |
| This dataset only redistributes compiled artifacts for convenience; refer to each | |
| package's upstream repository for license terms. | |