Add dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
pretty_name: CUDA Extension Wheelhouse
|
| 4 |
+
tags:
|
| 5 |
+
- wheels
|
| 6 |
+
- cuda
|
| 7 |
+
- pytorch
|
| 8 |
+
- prebuilt
|
| 9 |
+
viewer: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# CUDA Extension Wheelhouse
|
| 13 |
+
|
| 14 |
+
Prebuilt Python **wheels** for CUDA / PyTorch extensions
|
| 15 |
+
(`cumesh`, `flash_attn`, `flex_gemm`, `natten`, `nvdiffrast`, `nvdiffrec_render`,
|
| 16 |
+
`o_voxel`). Compiling these from source dominates install time — often **hours**
|
| 17 |
+
on a single machine. This dataset is a shared cache so machines and CI can
|
| 18 |
+
**build once, then reuse the wheel** and skip the compile entirely.
|
| 19 |
+
|
| 20 |
+
Built for GPU archs `sm75`, `sm80`, `sm89`, `sm120` against `torch2.7`/`torch2.9`
|
| 21 |
+
(CUDA 12.8), for CPython `cp310` and `cp312`.
|
| 22 |
+
|
| 23 |
+
## Why a wheel can't just be cached by filename
|
| 24 |
+
|
| 25 |
+
A compiled-extension wheel's runnability depends on **four** axes, but the wheel
|
| 26 |
+
filename only encodes **two** (dist name + Python ABI tag). The other two — the
|
| 27 |
+
**GPU compute architecture** and the **torch version it was ABI-linked against** —
|
| 28 |
+
are invisible in the name. A wheel built for `sm120` / `torch2.9` installs fine on
|
| 29 |
+
`sm89` / `torch2.7` and then dies at the first kernel launch
|
| 30 |
+
(`no kernel image available`). So wheels are stored under a path that carries
|
| 31 |
+
arch + torch.
|
| 32 |
+
|
| 33 |
+
## Layout
|
| 34 |
+
|
| 35 |
+
```
|
| 36 |
+
<package>/sm<arch>/torch<major.minor>-cu<cuda>/<wheel>.whl
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
Examples:
|
| 40 |
+
|
| 41 |
+
```
|
| 42 |
+
flash_attn/sm89/torch2.9-cu128/flash_attn-2.8.3+cu128torch2.9-cp312-cp312-linux_x86_64.whl
|
| 43 |
+
nvdiffrast/sm89/torch2.9-cu128/nvdiffrast-0.4.0-cp312-cp312-linux_x86_64.whl
|
| 44 |
+
natten/sm120/torch2.7-cu126/natten-0.21.0-cp310-cp310-linux_x86_64.whl
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
- `sm<arch>` — GPU compute capability of the card the wheel runs on (e.g. `sm89`
|
| 48 |
+
for Ada / RTX 40xx, `sm120` for Blackwell). Keyed off the **real GPU**, not a
|
| 49 |
+
multi-arch build list.
|
| 50 |
+
- `torch<mm>-cu<cuda>` — the torch + CUDA the extension was linked against
|
| 51 |
+
(e.g. `torch2.9-cu128`).
|
| 52 |
+
- The Python ABI tag (`cp310`, `cp312`, …) lives in the wheel filename itself.
|
| 53 |
+
|
| 54 |
+
## Usage
|
| 55 |
+
|
| 56 |
+
Download a specific wheel:
|
| 57 |
+
|
| 58 |
+
```python
|
| 59 |
+
from huggingface_hub import hf_hub_download
|
| 60 |
+
|
| 61 |
+
path = hf_hub_download(
|
| 62 |
+
repo_id="DoctorPopi/python_wheelhouse",
|
| 63 |
+
repo_type="dataset",
|
| 64 |
+
filename="flash_attn/sm89/torch2.9-cu128/flash_attn-2.8.3+cu128torch2.9-cp312-cp312-linux_x86_64.whl",
|
| 65 |
+
)
|
| 66 |
+
# then: pip install --force-reinstall --no-deps <path>
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
> Install compiled wheels with `--force-reinstall --no-deps`: several declare an
|
| 70 |
+
> unpinned `torch` requirement and a bare reinstall would clobber the env's pinned
|
| 71 |
+
> torch, breaking every other C-extension built against the original ABI.
|
| 72 |
+
|
| 73 |
+
## Licensing
|
| 74 |
+
|
| 75 |
+
Each wheel is a build of its **upstream project** and remains under that project's
|
| 76 |
+
own license (e.g. natten, nvdiffrast, flash-attention each have their own terms).
|
| 77 |
+
This dataset only redistributes compiled artifacts for convenience; refer to each
|
| 78 |
+
package's upstream repository for license terms.
|