mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[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
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1881
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:10says 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:18builds the generic engine's cuda12 variant witharchs=60;61;70;75;80;86;89andsm60=ON, and the comment above it notes thatpackaging/package_engine.pyrefuses a cuda12 package without sm_61/sm_70 (#3503).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/dsv41looks sm_80-plus to me.vendor/exl3.cukeepsexl3_legacy.cuexactly 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 ismma.syncm16n8k16 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>declaresnvcuda::wmmafrom__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 --planagainst 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:
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 indocs/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.4is installed, but the Windows tree also needs VS2022 Build Tools (myC:\Program Files\Microsoft Visual Studio\2022is an empty folder), cmake and ninja, plus thethird_party/ggmlandproject-mayasubmodules. 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.@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-dsv41engine 0.1.51 (4b9e05a2),-DCMAKE_CUDA_ARCHITECTURES=75, CUDA 13.0, Ubuntu (kernel 7.0.0-38), 3× RTX 2080 Ti 22 GB.maya-ds4native pack),--gpus 0,1,2 --max-context 32768 --dspark auto --cpu-threads 15.If the cuda12 package's ARCH list gains
75-realnext 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.
@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.
@Adamyno commented on GitHub (Oct 31, 2026):
A cuda12 package is not strictly needed for Turing:
strata-dsv41builds for sm_75 with the CUDA 13 toolchain, and it runsThe 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 andARCH=75-real, and it serves the model on 3× RTX 2080 Ti.Build (the repo's own script, no source change):
strata-dsv41 0.1.54 build 870aedd9e, 37 MBcuobjdump --list-elf→ 10sm_75cubins, nothing else (so a75-real-only package is a clean artifact, not a fat binary)nvcc -arch=sm_75on a throwaway kernel producest75.sm_75.cubin;--list-gpu-archlists only the virtual archs (compute_75onward), which is what makes the script's comment read as if CUDA 13 could not cover TuringServing the stock IST-DAS IQ2_XXS 2.00 bpw set (
maya-ds4pack, 129 GB),--max-context 32768 --dspark auto --cpu-threads 15, 3 cards: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-realto 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-realappears, 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).
</tool_call>is missing ends at its own</function>#3733max_model_lenandcontext_length#3734