docs: describe cu11 stack alongside cu12 in dataset card
Browse files
README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
license: other
|
| 3 |
license_name: nvidia-cuda-cudnn-redistributable
|
| 4 |
license_link: https://docs.nvidia.com/cuda/eula/index.html
|
| 5 |
-
pretty_name: MBFS CUDA Runtime Bundle (cuda_v12)
|
| 6 |
tags:
|
| 7 |
- cuda
|
| 8 |
- cudnn
|
|
@@ -11,11 +11,23 @@ tags:
|
|
| 11 |
- windows
|
| 12 |
---
|
| 13 |
|
| 14 |
-
# MBFS CUDA Runtime Bundle
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
A self-contained, **ABI-matched** CUDA 12 execution stack for running
|
| 17 |
-
[ONNX Runtime](https://onnxruntime.ai/) **1.23.2** on Windows with the CUDA
|
| 18 |
-
execution provider.
|
| 19 |
> ⚠️ These are **runtime redistributable libraries**, not source. The CUDA and
|
| 20 |
> cuDNN DLLs are © NVIDIA Corporation and remain under NVIDIA's licenses — see
|
| 21 |
> **[License & redistribution](#license--redistribution)** below.
|
|
@@ -26,28 +38,53 @@ execution provider.
|
|
| 26 |
|---|---|---|
|
| 27 |
| `onnxruntime.dll` | ONNX Runtime 1.23.2 (combined CUDA + DirectML + TensorRT + CPU build) | 15 MB |
|
| 28 |
| `onnxruntime_providers_cuda.dll` | ONNX Runtime CUDA execution provider | 361 MB |
|
|
|
|
| 29 |
| `onnxruntime_providers_shared.dll` | ONNX Runtime shared provider interface | <1 MB |
|
| 30 |
| `cublas64_12.dll`, `cublasLt64_12.dll` | CUDA 12 cuBLAS | 96 / 451 MB |
|
| 31 |
| `cudart64_12.dll` | CUDA 12 runtime | <1 MB |
|
| 32 |
| `cufft64_11.dll` | CUDA 12 cuFFT | 279 MB |
|
| 33 |
-
| `
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
## Requirements
|
| 40 |
|
| 41 |
- **OS:** Windows x64
|
| 42 |
-
- **NVIDIA driver:** **R527+** (
|
| 43 |
-
**not** need to be installed —
|
| 44 |
-
|
|
|
|
| 45 |
|
| 46 |
-
## GPU support
|
| 47 |
|
| 48 |
-
`
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
| 51 |
|
| 52 |
| Compute capability | Architecture | Example GPUs | Native CUDA |
|
| 53 |
|---|---|---|---|
|
|
@@ -61,19 +98,33 @@ newer archs):
|
|
| 61 |
| 9.0a | Hopper | H100, H200 | ✅ |
|
| 62 |
| 10.x / 12.x | **Blackwell** | B100/B200, RTX 50xx | ❌ not native |
|
| 63 |
|
| 64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
application should fall back to DirectML (`DmlExecutionProvider`, requires
|
| 66 |
-
`DirectML.dll` — **not** included here) or CPU.
|
| 67 |
-
path only.
|
| 68 |
|
| 69 |
## Usage
|
| 70 |
|
| 71 |
-
The MBFS
|
|
|
|
|
|
|
| 72 |
|
| 73 |
```bash
|
| 74 |
-
#
|
| 75 |
hf download MBFSAITeam/cuda-runtime-bundle --repo-type dataset \
|
| 76 |
--include "cuda_v12/*" --local-dir ./dist/lib
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
```
|
| 78 |
|
| 79 |
For reproducible builds, pin a commit revision with `--revision <sha>` instead of
|
|
@@ -84,10 +135,11 @@ For reproducible builds, pin a commit revision with `--revision <sha>` instead o
|
|
| 84 |
This repository bundles components under **different licenses**:
|
| 85 |
|
| 86 |
- **ONNX Runtime** (`onnxruntime*.dll`) — MIT License, © Microsoft.
|
| 87 |
-
- **CUDA runtime** (`cudart`, `cublas`, `cublasLt`, `cufft`
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
|
|
|
| 91 |
|
| 92 |
The NVIDIA libraries are redistributed **unmodified** as runtime dependencies, as
|
| 93 |
permitted by the above agreements. NVIDIA, CUDA, and cuDNN are trademarks of NVIDIA
|
|
|
|
| 2 |
license: other
|
| 3 |
license_name: nvidia-cuda-cudnn-redistributable
|
| 4 |
license_link: https://docs.nvidia.com/cuda/eula/index.html
|
| 5 |
+
pretty_name: MBFS CUDA Runtime Bundle (cuda_v12 + cuda_v11)
|
| 6 |
tags:
|
| 7 |
- cuda
|
| 8 |
- cudnn
|
|
|
|
| 11 |
- windows
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# MBFS CUDA Runtime Bundle
|
| 15 |
+
|
| 16 |
+
Self-contained, **ABI-matched** CUDA execution stacks for running
|
| 17 |
+
[ONNX Runtime](https://onnxruntime.ai/) on Windows with the CUDA / TensorRT
|
| 18 |
+
execution providers. One folder per CUDA major version:
|
| 19 |
+
|
| 20 |
+
| Stack | Folder | CUDA | cuDNN | ONNX Runtime EP | When to use |
|
| 21 |
+
|---|---|---|---|---|---|
|
| 22 |
+
| **cu12** | [`cuda_v12/`](./cuda_v12) | 12.x | 9 | CUDA + TensorRT 10 | sm_75+ GPU on driver **R527+** (CUDA 12) |
|
| 23 |
+
| **cu11** | [`cuda_v11/`](./cuda_v11) | 11.x | 8 | CUDA + TensorRT 8.6 | Pascal/Volta (sm_60–sm_70), or any GPU on a driver capped at CUDA 11.x |
|
| 24 |
+
|
| 25 |
+
Pick the stack matching your GPU **and** driver: a newer GPU on an older driver
|
| 26 |
+
must still use `cu11` (loading `cu12` binaries fails with
|
| 27 |
+
`cudaErrorNoKernelImageForDevice`). The MBFS Sentinel build auto-detects this —
|
| 28 |
+
`scripts/build_windows.py` clamps the stack to the lower of the GPU and driver
|
| 29 |
+
ceilings (override with `--gpu-stack`).
|
| 30 |
|
|
|
|
|
|
|
|
|
|
| 31 |
> ⚠️ These are **runtime redistributable libraries**, not source. The CUDA and
|
| 32 |
> cuDNN DLLs are © NVIDIA Corporation and remain under NVIDIA's licenses — see
|
| 33 |
> **[License & redistribution](#license--redistribution)** below.
|
|
|
|
| 38 |
|---|---|---|
|
| 39 |
| `onnxruntime.dll` | ONNX Runtime 1.23.2 (combined CUDA + DirectML + TensorRT + CPU build) | 15 MB |
|
| 40 |
| `onnxruntime_providers_cuda.dll` | ONNX Runtime CUDA execution provider | 361 MB |
|
| 41 |
+
| `onnxruntime_providers_tensorrt.dll` | ONNX Runtime TensorRT execution provider | <1 MB |
|
| 42 |
| `onnxruntime_providers_shared.dll` | ONNX Runtime shared provider interface | <1 MB |
|
| 43 |
| `cublas64_12.dll`, `cublasLt64_12.dll` | CUDA 12 cuBLAS | 96 / 451 MB |
|
| 44 |
| `cudart64_12.dll` | CUDA 12 runtime | <1 MB |
|
| 45 |
| `cufft64_11.dll` | CUDA 12 cuFFT | 279 MB |
|
| 46 |
+
| `curand64_10.dll`, `cusparse64_12.dll` | CUDA 12 cuRAND / cuSPARSE | 62 / 264 MB |
|
| 47 |
+
| `cudnn64_9.dll` + `cudnn_*64_9.dll` (7 files) | cuDNN 9 | ~1.4 GB |
|
| 48 |
+
|
| 49 |
+
**Total ≈ 2.3 GiB.**
|
| 50 |
|
| 51 |
+
## Contents (`cuda_v11/`)
|
| 52 |
+
|
| 53 |
+
| File | Component | Approx. size |
|
| 54 |
+
|---|---|---|
|
| 55 |
+
| `onnxruntime.dll` | ONNX Runtime (CUDA + TensorRT + CPU build) | 13 MB |
|
| 56 |
+
| `onnxruntime_providers_cuda.dll` | ONNX Runtime CUDA execution provider | 223 MB |
|
| 57 |
+
| `onnxruntime_providers_tensorrt.dll` | ONNX Runtime TensorRT execution provider | <1 MB |
|
| 58 |
+
| `onnxruntime_providers_shared.dll` | ONNX Runtime shared provider interface | <1 MB |
|
| 59 |
+
| `cublas64_11.dll`, `cublasLt64_11.dll` | CUDA 11 cuBLAS | 85 / 519 MB |
|
| 60 |
+
| `cudart64_110.dll` | CUDA 11 runtime | <1 MB |
|
| 61 |
+
| `cufft64_10.dll` | CUDA 11 cuFFT | 267 MB |
|
| 62 |
+
| `curand64_10.dll`, `cusparse64_11.dll` | CUDA 11 cuRAND / cuSPARSE | 62 / 265 MB |
|
| 63 |
+
| `cudnn64_8.dll` + `cudnn_{adv,cnn,ops}_{infer,train}64_8.dll` (6 files) | cuDNN 8 | ~1.0 GB |
|
| 64 |
+
|
| 65 |
+
**Total ≈ 2.4 GiB.** cuDNN 8 keeps inference and training libraries split
|
| 66 |
+
(`*_infer` / `*_train`), unlike cuDNN 9.
|
| 67 |
+
|
| 68 |
+
> All DLLs in a folder come from a single matched build — the ONNX Runtime
|
| 69 |
+
> provider DLLs are ABI-locked to that folder's `onnxruntime.dll`, so each set
|
| 70 |
+
> must be used together (never mix DLLs across folders or with another ONNX
|
| 71 |
+
> Runtime release, or the CUDA EP fails to load).
|
| 72 |
|
| 73 |
## Requirements
|
| 74 |
|
| 75 |
- **OS:** Windows x64
|
| 76 |
+
- **NVIDIA driver:** `cu12` needs **R527+** (CUDA 12.x); `cu11` needs **R452+**
|
| 77 |
+
(CUDA 11.x). The CUDA *Toolkit* does **not** need to be installed — these
|
| 78 |
+
bundles ship the runtime.
|
| 79 |
+
- **GPU:** see the support notes below.
|
| 80 |
|
| 81 |
+
## GPU support
|
| 82 |
|
| 83 |
+
### `cu12`
|
| 84 |
+
|
| 85 |
+
`cuda_v12/onnxruntime_providers_cuda.dll` is compiled with cubins for the
|
| 86 |
+
following architectures (no PTX is embedded, so there is **no JIT
|
| 87 |
+
forward-compatibility** to newer archs):
|
| 88 |
|
| 89 |
| Compute capability | Architecture | Example GPUs | Native CUDA |
|
| 90 |
|---|---|---|---|
|
|
|
|
| 98 |
| 9.0a | Hopper | H100, H200 | ✅ |
|
| 99 |
| 10.x / 12.x | **Blackwell** | B100/B200, RTX 50xx | ❌ not native |
|
| 100 |
|
| 101 |
+
### `cu11`
|
| 102 |
+
|
| 103 |
+
The `cu11` stack is the fallback for machines that predate CUDA 12: NVIDIA
|
| 104 |
+
**Pascal (sm_60) → Volta (sm_70)**, and any otherwise-cu12-capable GPU running
|
| 105 |
+
on a driver that only supports CUDA 11.x. Use it when `nvidia-smi` reports a
|
| 106 |
+
CUDA version below 12.0, or for Pascal/Volta silicon. For newer GPUs on a
|
| 107 |
+
current driver, prefer `cu12`.
|
| 108 |
+
|
| 109 |
+
On a GPU outside the supported range, or with a too-old driver, the host
|
| 110 |
application should fall back to DirectML (`DmlExecutionProvider`, requires
|
| 111 |
+
`DirectML.dll` — **not** included here) or CPU. These bundles cover the native
|
| 112 |
+
CUDA path only.
|
| 113 |
|
| 114 |
## Usage
|
| 115 |
|
| 116 |
+
The MBFS Sentinel build pulls the right stack automatically
|
| 117 |
+
(`build_windows.py --gpu-stack {cu12|cu11} --cuda-source hf`). To fetch a stack
|
| 118 |
+
manually:
|
| 119 |
|
| 120 |
```bash
|
| 121 |
+
# cu12 into ./dist/lib (lands at ./dist/lib/cuda_v12/)
|
| 122 |
hf download MBFSAITeam/cuda-runtime-bundle --repo-type dataset \
|
| 123 |
--include "cuda_v12/*" --local-dir ./dist/lib
|
| 124 |
+
|
| 125 |
+
# cu11 into ./dist/lib (lands at ./dist/lib/cuda_v11/)
|
| 126 |
+
hf download MBFSAITeam/cuda-runtime-bundle --repo-type dataset \
|
| 127 |
+
--include "cuda_v11/*" --local-dir ./dist/lib
|
| 128 |
```
|
| 129 |
|
| 130 |
For reproducible builds, pin a commit revision with `--revision <sha>` instead of
|
|
|
|
| 135 |
This repository bundles components under **different licenses**:
|
| 136 |
|
| 137 |
- **ONNX Runtime** (`onnxruntime*.dll`) — MIT License, © Microsoft.
|
| 138 |
+
- **CUDA runtime** (`cudart`, `cublas`, `cublasLt`, `cufft`, `curand`, `cusparse`)
|
| 139 |
+
— © NVIDIA Corporation, redistributed under the
|
| 140 |
+
[NVIDIA CUDA Toolkit EULA](https://docs.nvidia.com/cuda/eula/index.html).
|
| 141 |
+
- **cuDNN** (`cudnn*.dll`, both v8 and v9) — © NVIDIA Corporation, redistributed
|
| 142 |
+
under the [NVIDIA cuDNN Software License Agreement](https://docs.nvidia.com/deeplearning/cudnn/sla/index.html).
|
| 143 |
|
| 144 |
The NVIDIA libraries are redistributed **unmodified** as runtime dependencies, as
|
| 145 |
permitted by the above agreements. NVIDIA, CUDA, and cuDNN are trademarks of NVIDIA
|