mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4173] [Engine] strata-dsv41 does not build for Pascal (sm_61): nvcuda::wmma used without an sm_70 guard in ds4_gguf.cu / ds4_iq.cu #1832
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#1832
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 @orlyandico on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4173
Area
[Engine]
Desktop app, Terminal or source?
Source (a build)
What happened
Building
strata-dsv41for Pascal (-DCMAKE_CUDA_ARCHITECTURES=61 -DSTRATA_EXPERIMENTAL_SM60=ON -DSTRATA_BUILD_DSV41=ON) fails in the sm_61 device pass: CUDA's<mma.h>declaresnvcuda::wmmaonly for__CUDA_ARCH__ >= 700, andsrc/dsv41/ds4_gguf.cu(mx_set_tc_kernel) andsrc/dsv41/ds4_iq.cu(set_tc_kernel) use it unguarded:(line numbers from
7dd5cf18; the same code is on main at4b9e05a2.)Both kernels are never launched below compute capability 7 (
tc_ok()checksmajor >= 7in both files), so they only need to compile. The Qwen engine had the same problem and fixed it ina6bdc3fb(WMMA kernel bodies compiled only for sm_70+ device passes). Locally I added a stub header included after<mma.h>in both files, and the engine then builds and runs on 2x Tesla P40 (smoke test passes, output below):Guarding the two kernel bodies the way
a6bdc3fbdoes would be the cleaner fix.Separately, for anyone trying the same: on a CPU without AVX2 the build needs
-DSTRATA_ISA_FLOOR=avxinstead of-DSTRATA_PORTABLE=ON(as inpackaging/build_dsv41_cuda.sh); with PORTABLE the engine dies with SIGILL at setup's smoke test (exit -4).Smallest steps or command that reproduce it
Reproduction status
Reproduced locally
Strata version
Source
7dd5cf18(0.2.4.2), engine strata-dsv41 0.1.49.2; checked the same code on main4b9e05a2Graphics card, memory and system
2x Tesla P40 24 GB (sm_61, PCIe 3.0 x8) · Xeon E5-2651 v2 (AVX, no AVX2) · 128 GB DDR3 · Ubuntu 24.04 · CUDA 12.3, g++-12
Model, size and settings
DeepSeek-V4.1-Flash IST-DAS-2.00bpw (ISTA-DASLab IQ2_XXS) ·
--gguf-dirsetup · both GPUsLogs
With the stub:
./setup.sh --family deepseek41 --gguf-dir ... --gpus 0,1 --cuda 12packs 48,488 tensors and passes the test question ("The capital of France is Paris."). 96 greedy tokens of a coding answer decode correctly.@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.