mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3935] [Engine] DeepSeek V4.1 engine (strata-dsv41) is refused on an RTX 4090: the prebuilt packages carry sm_86/sm_120 only, and the docs do not say RTX 40 is unsupported #1685
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#1685
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 @Benderyu on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3935
Summary
The DeepSeek V4.1 engine is shipped as its own packages (
strata-dsv41-0.1.49-...), and every package in the signed feed is built for a subset of architectures that excludes sm_89 (RTX 40). On an RTX 4090,setup.py --family deepseek41therefore stops at step 4:Two things make this look like an omission rather than a decision:
engine/BUILD.jsonfor 0.1.48 listsarchs: [75, 86, 89, 120], and this PC runs Qwen3.8-Flash-Next (UD-Q4_K_XL) fine on the same card.src/dsv41/has nowgmma,tcgen05,setmaxnreg,clusterorcp.async.bulk; it has a single FP4 reference, and the packages already support sm_86, which also has no FP4 hardware — so a non-FP4 path exists.The documentation does not say RTX 40 is unsupported either:
docs/DEEPSEEK41.mdlists what was measured (RTX 3060 sm_86, RTX 5070 sm_120, RTX A4000 sm_86, 4 × Radeon AI PRO R9700), but the only place RTX 40 is excluded is the runtime list above.Environment
git describe=v0.2.4.1), main engine 0.1.48, Windows 11.--gguf-diraccepted it ("Nothing to download: the files are already here"), so the model side is ready and only the engine is missing.Evidence from the feed
strata-feed.json(sequence 111) engine entries for the DeepSeek engine:strata-dsv41-0.1.49-windows-x86_64-cuda-cuda13.tar.gzsm_86, sm_120, compute_120strata-dsv41-0.1.49-linux-x86_64-cuda-cuda13.tar.gzsm_86, sm_120, compute_120strata-dsv41-0.1.49-linux-x86_64-hip-rx9070.tar.gzgfx1200, gfx1201compute_120cannot be JIT-compiled down to sm_89, so there is no fallback path for RTX 40.What I would like to know / suggest
docs/DEEPSEEK41.md(the runtime message is the only place today) and in the release notes, so people do not download 257 GB for a card that cannot run it.-gencode; the main engine already ships 89). A separatecuda13variant for sm_89 would be enough.--dsv41-package. I can build it here — nvcc 13.2, MSVC 14.44, ninja — with and package it withpackaging/package_engine.py; I would like to know whether an unsigned local package is accepted bysetup.py --dsv41-package(the component docs say a locally made package is unsigned and loads).Related issues (searched; none of these reports the architecture gap)
strata-dsv41— so a source build does run on an architecture that is not in the prebuilt list (gfx1100). That is the precedent I would follow for sm_89.Note
DSpark/Engram sizes all check out against the pins, so this is purely the engine architecture list.
@Benderyu commented on GitHub (Oct 24, 2026):
Summary
The DeepSeek-V4.1 engine is shipped as its own packages (
strata-dsv41-0.1.49-...), and every package in the signed feed carriessm_86, sm_120(orgfx1200, gfx1201) — nosm_89. On an RTX 4090 (sm_89)setup.py --family deepseek41stops at step 4:Nothing in
docs/DEEPSEEK41.mdsays RTX 40 is unsupported; the runtime list is the only place it is excluded, so people cannot know before downloading 257 GB.I built
strata-dsv41from source for sm_89 and it runs: the rest of this report is that build and its measurements, in case it helps decide whether to ship an sm_89 variant (or to document the source-build path).Prebuilt packages (feed sequence 111)
strata-dsv41-0.1.49-windows-x86_64-cuda-cuda13.tar.gzsm_86, sm_120, compute_120strata-dsv41-0.1.49-linux-x86_64-cuda-cuda13.tar.gzsm_86, sm_120, compute_120strata-dsv41-0.1.49-linux-x86_64-hip-rx9070.tar.gzgfx1200, gfx1201compute_120cannot JIT down to sm_89, so there is no fallback.A source build for sm_89 works
packaging/build_dsv41_windows.batalready takesDSV41_ARCH; its comments mentionARCH="86-real;89-real;89-virtual"for a CUDA 12.9 package. On this PC (nvidia driver 617.42, CUDA 13.2 toolkit, MSVC 14.44, cmake 4.4.3, ninja):strata-dsv41.exe55.3 MB;cuobjdump --list-elf→ sm_86, sm_89;strata-dsv41.exe --version→strata-dsv41 0.1.49.1 build c33fa7ba6;engine\strata-dsv41.exe(orSTRATA_DSV41_EXE),setup.py --family deepseek41 --model IST-DAS-2.00bpw --gguf-dir <model folder>accepts it and writes the config.Model running on the RTX 4090
Engine log:
Measured (1 request at a time, 64-token answers,
timingsfrom the OpenAI endpoint):Two tuning notes that may be useful to others on a 48 GB card: the
--ssd-cacheRAM store (108 GB here) is what makes long prompts fast, and--dspark autodecides "off" on this box but--dspark onroughly doubles decode here (16–22 → 40 tok/s); the auto heuristic ("the verify rounds read 3.3x a token's bytes and gain nothing") does not hold once the experts are cached in RAM.--dspark-conf 0.65measured better than 0.80 (30.6) or 0.50 (38.3).Also hit #3927
While packing,
pack_gguf.pypicked upmodels\mmproj-Qwen3.8-Flash-Next-BF16.gguf(a Qwen vision tower in the shared models folder) and stopped. The documented workaround (rename it temporarily) got past it; #3927 covers that separately.Ask
docs/DEEPSEEK41.mdnext to the supported list, so nobody downloads 257 GB for a card that cannot run it.-gencode)? Happy to test a prebuilt package on this 4090 and report.DSV41_ARCHline above) and confirm that an unsigned local package via--dsv41-packageis supported the same way as a builtengine\strata-dsv41.exe.@Niko1221 commented on GitHub (Oct 27, 2026):
Thank you. Fixed in 0.2.7: The DeepSeek CUDA packages are built for sm_86, sm_89 and sm_120 (plus PTX 120), and an RTX 40 card takes the package that holds its own sm_89 image; an sm_86-only package still fits. We have no Ada card; your 40.2 tok/s on an RTX 4090 48 GB (2.00 set, --dspark on) is quoted as yours in docs/DEEPSEEK41.md. Could you try the 0.2.7 package and tell us how it runs?
Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7
@Benderyu commented on GitHub (Oct 28, 2026):
What I ran
strata-dsv41-0.1.52-windows-x86_64-cuda-cuda13.tar.gz(sha256 f1a3ae88…; archssm_86, sm_89, sm_120, compute_120), installed by hand asengine\strata-dsv41.exe.strata-dsv41.exe --version=strata-dsv41 0.1.52 build a42cc3d7d;cuobjdump --list-elflists sm_86, sm_89 and sm_120, so the card loads its own sm_89 image.mmproj-BF16.gguf(projectordeepseek41v), context 262144.--dspark on --dspark-conf 0.65 --dspark-block 3 --experts 5,--mmap-experts auto(the engine copies all 11,837 CPU-lane experts, 101.8 GB), 24 CPU threads, one request at a time.It loads in ~40–50 s with no errors and stays stable across restarts. Vision also works: a 336×336 test image (red background, white circle, blue square) is described correctly through the OpenAI API, at +~186 prompt tokens per image and 47.3/48 GB of VRAM (3,907 experts in VRAM with the tower loaded).
Short benchmark (5 warm runs each)
DS4_DEFAULTS=026The two sets are inside run-to-run noise on this card, so I see no Ada regression from the 0.2.7 defaults.
Real agent session (what it feels like in use)
From the engine's own log over a long coding session (786 requests, 452,544 generated tokens):
So the "40.2 tok/s" in
docs/DEEPSEEK41.mdreproduces and long code generations sit at 40–47 tok/s on this card. My first few samples after a fresh load were 25–31 tok/s; that is cold-start, not a default-set difference — after one warm-up both default sets land at ~40 tok/s for 256-token answers.Nothing crashes; the difference between the two default sets is noise. Happy to bisect single switches (
DS4_RING_MB,DS4_ATTN_SPLIT,DS4_COPY_PIN,DS4_DSPARK_MAX) if you want a per-switch table, but I would not expect a large one.@Niko1221 commented on GitHub (Oct 29, 2026):
Thank you for trying the package and posting the numbers. Closing: an RTX 4090 runs the 0.2.7 DeepSeek package.