decntai commited on
Commit
8d2b2d7
·
verified ·
1 Parent(s): 2066a7d

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +40 -12
README.md CHANGED
@@ -1,19 +1,47 @@
1
- # sd-cli - multi-arch stable-diffusion.cpp builds (incl. Blackwell)
 
 
 
 
 
 
 
 
 
2
 
3
  Prebuilt `sd-cli` binaries from leejet/stable-diffusion.cpp @ `master-656-0e4ee04`,
4
- plus the build recipe. Two CUDA variants, both carrying `sm_120` (Blackwell):
 
5
 
6
- | binary | toolkit | arches (real + PTX) | driver floor |
7
- |---------------|---------|--------------------------------------|---------------|
8
- | `sd-cli-cu12` | 12.8 | 70 75 80 86 89 90 100 120 (+120 PTX) | sm_70 (Volta) |
9
- | `sd-cli-cu13` | 13.0 | 75 80 86 89 90 100 120 (+120 PTX) | sm_75 (Turing)|
10
 
11
- Download from **Releases**. Dynamically linked against the CUDA runtime
12
- (cudart/cublas/nccl) - same as upstream - so run on a box where those are on
13
- the loader path (a PyTorch/CUDA image, or `pip install nvidia-cuda-runtime-cu12
14
- nvidia-cublas-cu12 nvidia-nccl-cu12` + LD_LIBRARY_PATH). Build it yourself via
15
- the included Dockerfiles + `build-and-validate-sd-cli.sh`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
  ## License
18
  Build recipe: MIT (see LICENSE). Binaries derive from stable-diffusion.cpp and
19
- ggml, both MIT - see NOTICE.
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - stable-diffusion
5
+ - stable-diffusion-cpp
6
+ - cuda
7
+ - blackwell
8
+ - ggml
9
+ ---
10
+ # sd-cli — multi-arch stable-diffusion.cpp builds (incl. Blackwell)
11
 
12
  Prebuilt `sd-cli` binaries from leejet/stable-diffusion.cpp @ `master-656-0e4ee04`,
13
+ plus the build recipe. Two CUDA variants, each a fat binary covering every NVIDIA
14
+ GPU architecture from its floor up through Blackwell.
15
 
16
+ ## Supported GPU architectures
 
 
 
17
 
18
+ | SM | Architecture | Example GPUs | cu12 | cu13 |
19
+ |--------|----------------|---------------------------------------|:----:|:----:|
20
+ | sm_70 | Volta | Tesla V100, Titan V | yes | no |
21
+ | sm_75 | Turing | RTX 20-series, GTX 16-series, T4 | yes | yes |
22
+ | sm_80 | Ampere (DC) | A100, A30 | yes | yes |
23
+ | sm_86 | Ampere | RTX 30-series, A40, A10, A2000 | yes | yes |
24
+ | sm_89 | Ada Lovelace | RTX 40-series, L4, L40S | yes | yes |
25
+ | sm_90 | Hopper | H100, H200, GH200 | yes | yes |
26
+ | sm_100 | Blackwell (DC) | B100, B200, GB200 | yes | yes |
27
+ | sm_120 | Blackwell | RTX 50-series, RTX PRO 6000 Blackwell | yes | yes |
28
+
29
+ Both binaries also embed sm_120 **PTX** (virtual arch), so they JIT-forward onto
30
+ future architectures. Use **cu12** for older drivers / Volta; **cu13** for
31
+ CUDA-13 hosts (Volta was dropped upstream in CUDA 13).
32
+
33
+ ## Usage
34
+
35
+ Download from the **Files** tab (here) or **Releases** (GitHub). Dynamically
36
+ linked against the CUDA runtime (cudart/cublas/nccl) — same as upstream — so run
37
+ on a box where those libs are on the loader path (a PyTorch/CUDA image, or
38
+ `pip install nvidia-cuda-runtime-cu12 nvidia-cublas-cu12 nvidia-nccl-cu12` +
39
+ `LD_LIBRARY_PATH`).
40
+
41
+ sd-cli-cu12 -m model.gguf -p "a lovely cat" -o out.png
42
+
43
+ Build it yourself via the included Dockerfiles + `build-and-validate-sd-cli.sh`.
44
 
45
  ## License
46
  Build recipe: MIT (see LICENSE). Binaries derive from stable-diffusion.cpp and
47
+ ggml, both MIT see NOTICE.