[GH-ISSUE #4273] [Engine] ship a cuda12 strata-dsv41 package (sm_70, sm_75) so Volta and Turing can run DeepSeek-V4.1-Flash #1881

Open
opened 2026-11-04 01:54:59 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @yudagua on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4273

Area

[Engine]

What do you want to do?

What I would like: one more DeepSeek engine package in the signed feed, built on CUDA 12.x with sm_70 (and sm_75) in ARCH, so a Volta or Turing PC can run DeepSeek-V4.1-Flash without compiling the engine itself.

The source path is fine; the feed is what is missing.

  • packaging/build_dsv41_cuda.sh:10 says it outright: "Needs CUDA 13 (the sm_120 code); for a CUDA 12.9 package pass ARCH="86-real;89-real;89-virtual" or leave strata-dsv41 out (the Pascal cuda12 variant has no DeepSeek path)." The cuda12 variant simply ships without the DeepSeek engine.
  • packaging/build_cuda_linux.sh:18 builds the generic engine's cuda12 variant with archs=60;61;70;75;80;86;89 and sm60=ON, and the comment above it notes that packaging/package_engine.py refuses a cuda12 package without sm_61/sm_70 (#3503).
  • So a Volta PC today gets a ready-made engine that runs Qwen3.8 (my engine-cuda12/BUILD.json: version 0.1.50, cuda 12.9, archs [60,61,70,75,80,86,89], experimental_sm60 true) and is refused the DeepSeek engine, whose only packages are cuda13 (sm_86, sm_120, min_driver 580.65) and hip-rx9070. CUDA 13 dropped sm_70, so no cuda13 package can ever cover it.

Nothing in src/dsv41 looks sm_80-plus to me. vendor/exl3.cu keeps exl3_legacy.cu exactly for "NVIDIA GPUs before sm_80 (V100, T4, RTX 20)" and quotes its own V100 numbers (decode 4.9 -> 4.4 tok/s on EXL3-3.05bpw); the MMA is mma.sync m16n8k16 f16; and #4074 has already built the engine for sm_70 on CUDA 12.4 with -DSTRATA_BUILD_DSV41=ON -DSTRATA_NATIVE_EXPERTS=ON, with the legacy path engaging as designed (exl3: CUDA0/1/2 decodes with v1.1.8's kernels). #4173 is sm_61 only: <mma.h> declares nvcuda::wmma from __CUDA_ARCH__ >= 700, so an sm_70 device pass is not affected by it.

So this reads as the same gap as #3935 (sm_89 refused) and #4176 (sm_75 refused), one package line wider: the arch list of the dsv41 packages, not a kernel problem.

What I can test: 7 Volta cards (6x Tesla PG503-216 V100 SXM2 32 GB + 1x Quadro GV100 32 GB), 2x E5-2696 v4, 128 GB RAM, Windows, CUDA 12.4 installed. I can put strata launch --plan against the start log and report decode and prefill for ist-das-2.00bpw and 2.25bpw within a day of a package existing, and I am glad to be listed as a community-tested machine for sm_70.

Two questions:

  1. Is the cuda12 variant deliberately without the DeepSeek engine, or just not built? The script comment reads as the latter.
  2. If it is deliberate: would a community build with ARCH="70-real;75-real;86-real;89-real;89-virtual" on CUDA 12.9 be usable as an extra feed entry, or is a signed package something only the release pipeline can produce? The hand-off path in docs/DEEPSEEK41.md ("Getting the engine by hand", --dsv41-package) only needs a package to exist.

What do you do today instead?

Compile it here. nvcc 12.4 is installed, but the Windows tree also needs VS2022 Build Tools (my C:\Program Files\Microsoft Visual Studio\2022 is an empty folder), cmake and ninja, plus the third_party/ggml and project-maya submodules. That is a heavier ask than downloading 257 GB of model, and the build note in #4074 (link.exe LNK1104 on a temp file under %TEMP%) suggests it is not a smooth path on Windows even once the toolchain is in place.

The other option is to stay on the generic engine and run the model through Project Maya's own maya-ds4 (#4074 reports it on the same box), but that leaves Strata's own DeepSeek path unused on the biggest installed base of cheap 32 GB cards.

Originally created by @yudagua on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4273 ### Area [Engine] ### What do you want to do? What I would like: one more DeepSeek engine package in the signed feed, built on CUDA 12.x with sm_70 (and sm_75) in ARCH, so a Volta or Turing PC can run DeepSeek-V4.1-Flash without compiling the engine itself. The source path is fine; the feed is what is missing. - `packaging/build_dsv41_cuda.sh:10` says it outright: "Needs CUDA 13 (the sm_120 code); for a CUDA 12.9 package pass ARCH=\"86-real;89-real;89-virtual\" or leave strata-dsv41 out (the Pascal cuda12 variant has no DeepSeek path)." The cuda12 variant simply ships without the DeepSeek engine. - `packaging/build_cuda_linux.sh:18` builds the *generic* engine's cuda12 variant with `archs=60;61;70;75;80;86;89` and `sm60=ON`, and the comment above it notes that `packaging/package_engine.py` refuses a cuda12 package without sm_61/sm_70 (#3503). - So a Volta PC today gets a ready-made engine that runs Qwen3.8 (my `engine-cuda12/BUILD.json`: `version 0.1.50`, `cuda 12.9`, `archs [60,61,70,75,80,86,89]`, `experimental_sm60 true`) and is refused the DeepSeek engine, whose only packages are cuda13 (`sm_86, sm_120`, `min_driver 580.65`) and hip-rx9070. CUDA 13 dropped sm_70, so no cuda13 package can ever cover it. Nothing in `src/dsv41` looks sm_80-plus to me. `vendor/exl3.cu` keeps `exl3_legacy.cu` exactly for "NVIDIA GPUs before sm_80 (V100, T4, RTX 20)" and quotes its own V100 numbers (decode 4.9 -> 4.4 tok/s on EXL3-3.05bpw); the MMA is `mma.sync` m16n8k16 f16; and #4074 has already built the engine for sm_70 on CUDA 12.4 with `-DSTRATA_BUILD_DSV41=ON -DSTRATA_NATIVE_EXPERTS=ON`, with the legacy path engaging as designed (`exl3: CUDA0/1/2 decodes with v1.1.8's kernels`). #4173 is sm_61 only: `<mma.h>` declares `nvcuda::wmma` from `__CUDA_ARCH__ >= 700`, so an sm_70 device pass is not affected by it. So this reads as the same gap as #3935 (sm_89 refused) and #4176 (sm_75 refused), one package line wider: the arch list of the dsv41 packages, not a kernel problem. What I can test: 7 Volta cards (6x Tesla PG503-216 V100 SXM2 32 GB + 1x Quadro GV100 32 GB), 2x E5-2696 v4, 128 GB RAM, Windows, CUDA 12.4 installed. I can put `strata launch --plan` against the start log and report decode and prefill for ist-das-2.00bpw and 2.25bpw within a day of a package existing, and I am glad to be listed as a community-tested machine for sm_70. Two questions: 1. Is the cuda12 variant deliberately without the DeepSeek engine, or just not built? The script comment reads as the latter. 2. If it is deliberate: would a community build with `ARCH="70-real;75-real;86-real;89-real;89-virtual"` on CUDA 12.9 be usable as an extra feed entry, or is a signed package something only the release pipeline can produce? The hand-off path in `docs/DEEPSEEK41.md` ("Getting the engine by hand", `--dsv41-package`) only needs a package to exist. ### What do you do today instead? Compile it here. `nvcc 12.4` is installed, but the Windows tree also needs VS2022 Build Tools (my `C:\Program Files\Microsoft Visual Studio\2022` is an empty folder), cmake and ninja, plus the `third_party/ggml` and `project-maya` submodules. That is a heavier ask than downloading 257 GB of model, and the build note in #4074 (link.exe LNK1104 on a temp file under %TEMP%) suggests it is not a smooth path on Windows even once the toolchain is in place. The other option is to stay on the generic engine and run the model through Project Maya's own `maya-ds4` (#4074 reports it on the same box), but that leaves Strata's own DeepSeek path unused on the biggest installed base of cheap 32 GB cards.
Author
Owner

@Adamyno commented on GitHub (Oct 27, 2026):

+1, with a working sm_75 source build as the evidence

Supporting the request with a concrete build and numbers, because the source path is already proven on this hardware:

  • strata-dsv41 engine 0.1.51 (4b9e05a2), -DCMAKE_CUDA_ARCHITECTURES=75, CUDA 13.0, Ubuntu (kernel 7.0.0-38), 3× RTX 2080 Ti 22 GB.
  • DeepSeek-V4.1-Flash-1017 GSQ-RCO IQ2_XXS (maya-ds4 native pack), --gpus 0,1,2 --max-context 32768 --dspark auto --cpu-threads 15.
  • 23.7–24.5 tok/s decode, ~117 tok/s prefill at 4k.

If the cuda12 package's ARCH list gains 75-real next to the existing entries, this configuration becomes representable in the signed feed without a local compile — which is the difference between "build it yourself" and "install and run" for 2080 Ti / Quadro RTX owners.

One honest limit from my side: I have not built the cuda12 path (my build is CUDA 13.0), so the packaging test itself needs the cuda12 toolchain. If a package appears, I can install and run it on the 2080 Ti trio and report the numbers.

<!-- gh-comment-id:6435857269 --> @Adamyno commented on GitHub (Oct 27, 2026): ## +1, with a working sm_75 source build as the evidence Supporting the request with a concrete build and numbers, because the source path is already proven on this hardware: - `strata-dsv41` engine 0.1.51 (`4b9e05a2`), `-DCMAKE_CUDA_ARCHITECTURES=75`, CUDA 13.0, Ubuntu (kernel 7.0.0-38), 3× RTX 2080 Ti 22 GB. - DeepSeek-V4.1-Flash-1017 GSQ-RCO IQ2_XXS (`maya-ds4` native pack), `--gpus 0,1,2 --max-context 32768 --dspark auto --cpu-threads 15`. - 23.7–24.5 tok/s decode, ~117 tok/s prefill at 4k. If the cuda12 package's ARCH list gains `75-real` next to the existing entries, this configuration becomes representable in the signed feed without a local compile — which is the difference between "build it yourself" and "install and run" for 2080 Ti / Quadro RTX owners. One honest limit from my side: I have not built the cuda12 path (my build is CUDA 13.0), so the packaging test itself needs the cuda12 toolchain. If a package appears, I can install and run it on the 2080 Ti trio and report the numbers.
Author
Owner

@Mozer commented on GitHub (Oct 27, 2026):

I can confirm deepseek works on 2080ti on win11. I just changed ARCH and changed cuda 13 to cuda 12 path as suggested above. However on my system 64 ddr4 with 3 gpus (3090+3060+2080ti-22GB) strata works with the same speed (3-5 t/s) or even slower than 2 cards (3090+3060) - 3-6 t/s. Needs further testing.

<!-- gh-comment-id:6440160192 --> @Mozer commented on GitHub (Oct 27, 2026): I can confirm deepseek works on 2080ti on win11. I just changed ARCH and changed cuda 13 to cuda 12 path as suggested above. However on my system 64 ddr4 with 3 gpus (3090+3060+2080ti-22GB) strata works with the same speed (3-5 t/s) or even slower than 2 cards (3090+3060) - 3-6 t/s. Needs further testing.
Author
Owner

@Adamyno commented on GitHub (Oct 31, 2026):

A cuda12 package is not strictly needed for Turing: strata-dsv41 builds for sm_75 with the CUDA 13 toolchain, and it runs

The premise in the request is that a Turing machine can only get a DeepSeek engine from a cuda12 package. On this box that is not what blocks it. I built the engine from v0.2.8/0.1.54 with the CUDA 13.0 toolkit and ARCH=75-real, and it serves the model on 3× RTX 2080 Ti.

Build (the repo's own script, no source change):

SRC=<checkout at v0.2.8, 0.1.54>  B=build-dsv41-sm75 \
CUDA=/usr/local/cuda-13.0  GG=<llama.cpp checkout at third_party/ggml/VERSION.txt> \
ARCH="75-real"  JOBS=8  packaging/build_dsv41_cuda.sh
  • strata-dsv41 0.1.54 build 870aedd9e, 37 MB
  • cuobjdump --list-elf → 10 sm_75 cubins, nothing else (so a 75-real-only package is a clean artifact, not a fat binary)
  • CUDA 13.0 does compile sm_75 SASS: nvcc -arch=sm_75 on a throwaway kernel produces t75.sm_75.cubin; --list-gpu-arch lists only the virtual archs (compute_75 onward), which is what makes the script's comment read as if CUDA 13 could not cover Turing

Serving the stock IST-DAS IQ2_XXS 2.00 bpw set (maya-ds4 pack, 129 GB), --max-context 32768 --dspark auto --cpu-threads 15, 3 cards:

ds4: CUDA0 layers [0,13]:  experts 17.65 GB (2182 of 5376 in VRAM), 587 MiB free
ds4: CUDA1 layers [14,26]: experts 17.67 GB (2013 of 4992 in VRAM), 582 MiB free
ds4: CUDA2 layers [27,39]: experts 17.56 GB (1922 of 4992 in VRAM), 587 MiB free
ds4: 9243 of the CPU lane's 9243 experts copied into RAM (79.5 GB) in 158.9 s
maya ds4 serve: 128 generated in 5166 ms (24.78 tok/s); CPU lane 12.9% of the experts

24.3–24.8 tok/s decode warm, 13.9–16.2 on the first two requests while the caches fill. That is the same band I reported on engine 0.1.51 in #4176 (23.7–24.5), so the newer engine has not regressed this path on Turing.

What this changes for the ask: for a Turing owner whose driver is already at the CUDA 13 floor (575.51 / 576.02), the gap is the dsv41 package's ARCH list, not the toolkit. Adding 75-real to the CUDA 13 package would make this configuration installable from the signed feed — which is the "install and run" half of what the request asks for. The cuda12 variant still matters for machines below that driver floor, but it is no longer the only way to cover sm_75.

One engine-side note that belongs with the numbers: DSpark is auto-declined on this shape, with the reason printed — the routed experts (132 GB) are far more than the GPU holds (67 GB), where its verify rounds read 3.3x a token's bytes and gain nothing. So on a Turing trio the decode ceiling here is RAM bandwidth (13B active × ~2 bpw ≈ 3.4 GB per token), not speculation.

If a package with 75-real appears, I will install it from the feed and re-report these numbers so the packaging path itself is verified, not just the source build.

Reproduction status: measured locally (source build).

<!-- gh-comment-id:6547754142 --> @Adamyno commented on GitHub (Oct 31, 2026): ## A cuda12 package is not strictly needed for Turing: `strata-dsv41` builds for sm_75 with the **CUDA 13** toolchain, and it runs The premise in the request is that a Turing machine can only get a DeepSeek engine from a **cuda12** package. On this box that is not what blocks it. I built the engine from `v0.2.8`/0.1.54 with the **CUDA 13.0** toolkit and `ARCH=75-real`, and it serves the model on 3× RTX 2080 Ti. **Build** (the repo's own script, no source change): ```bash SRC=<checkout at v0.2.8, 0.1.54> B=build-dsv41-sm75 \ CUDA=/usr/local/cuda-13.0 GG=<llama.cpp checkout at third_party/ggml/VERSION.txt> \ ARCH="75-real" JOBS=8 packaging/build_dsv41_cuda.sh ``` - `strata-dsv41 0.1.54 build 870aedd9e`, 37 MB - `cuobjdump --list-elf` → **10 `sm_75` cubins, nothing else** (so a `75-real`-only package is a clean artifact, not a fat binary) - CUDA 13.0 does compile sm_75 SASS: `nvcc -arch=sm_75` on a throwaway kernel produces `t75.sm_75.cubin`; `--list-gpu-arch` lists only the *virtual* archs (`compute_75` onward), which is what makes the script's comment read as if CUDA 13 could not cover Turing **Serving** the stock IST-DAS **IQ2_XXS** 2.00 bpw set (`maya-ds4` pack, 129 GB), `--max-context 32768 --dspark auto --cpu-threads 15`, 3 cards: ``` ds4: CUDA0 layers [0,13]: experts 17.65 GB (2182 of 5376 in VRAM), 587 MiB free ds4: CUDA1 layers [14,26]: experts 17.67 GB (2013 of 4992 in VRAM), 582 MiB free ds4: CUDA2 layers [27,39]: experts 17.56 GB (1922 of 4992 in VRAM), 587 MiB free ds4: 9243 of the CPU lane's 9243 experts copied into RAM (79.5 GB) in 158.9 s maya ds4 serve: 128 generated in 5166 ms (24.78 tok/s); CPU lane 12.9% of the experts ``` **24.3–24.8 tok/s decode warm**, 13.9–16.2 on the first two requests while the caches fill. That is the same band I reported on engine 0.1.51 in #4176 (23.7–24.5), so the newer engine has not regressed this path on Turing. **What this changes for the ask:** for a Turing owner whose driver is already at the CUDA 13 floor (575.51 / 576.02), the gap is *the dsv41 package's ARCH list*, not the toolkit. Adding `75-real` to the CUDA 13 package would make this configuration installable from the signed feed — which is the "install and run" half of what the request asks for. The cuda12 variant still matters for machines below that driver floor, but it is no longer the only way to cover sm_75. **One engine-side note that belongs with the numbers:** DSpark is auto-declined on this shape, with the reason printed — `the routed experts (132 GB) are far more than the GPU holds (67 GB), where its verify rounds read 3.3x a token's bytes and gain nothing`. So on a Turing trio the decode ceiling here is RAM bandwidth (13B active × ~2 bpw ≈ 3.4 GB per token), not speculation. If a package with `75-real` appears, I will install it from the feed and re-report these numbers so the packaging path itself is verified, not just the source build. Reproduction status: measured locally (source build).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1881
No description provided.