mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3368] [Other] error detected in the compilation of Strata/src/qwen35/q36_engine.cu #1366
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#1366
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 @Anceloth on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3368
Problem:
After pull request on Oct-19: 22:00:00 - the compilation is failing when it is trying to Build the CUDA object CMakeFiles/strata_qwen35.dir/src/qwen35/q36_engine.cu.o
I started with "./setup --setup" and choose the original model "Qwen3.8-Flash-Next GSQ-RCO quants by ISTA-DASLab - the original model", and after some seconds it show an error:
4c968e61999d237caed3139e6a714d0de52afe82with description :gdn chunk / Volta recurrence: name the kernels in every device pass (wmma body .....and I could run the modelEnvironment:
Reproduce:
./setup --setupFAIL
Expected:
Evidence: -- log Extended
Thank you in advance
@github-actions[bot] commented on GitHub (Oct 20, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@yudhanjaya commented on GitHub (Oct 20, 2026):
Found the cause:
verify_q8insrc/qwen35/q36_engine.cu(theSTRATA_Q36_VERIFY=1debug print) calls__half_as_ushort, which is__device__-only in CUDA 12.0/12.1, from host code.Seems to be the same error as the closed #2926. I had Claude build a 4-line fix (copy the half's bits with
memcpy) - the fix is in https://github.com/Niko1221/Strata/pull/3374. It builds with nvcc 12.0.140 for sm_86/sm_89; I did not test HIP/SYCL.I'm running a 4080 Super and a 3060, for reference.
@Anceloth commented on GitHub (Oct 20, 2026):
I didn´t wait to your fix [https://github.com/Niko1221/Strata/pull/3374] to be merged, and I've applied it manually... It works well for this issue on : GPU RTX 2000 Ada Generation Laptop - CUDA 13.2
Thank you
@Niko1221 commented on GitHub (Oct 21, 2026):
Thanks, and thanks to yudhanjaya for finding the cause (PR #3374).
verify_q8used a function that CUDA 12.0 and 12.1 only allow on the GPU. It copies the bits now, so it compiles on those versions. Fixed for 0.2.2, the next release (not out yet). Until then, updating CUDA to 12.2 or newer also works.