mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #878] [CLOSED] # Support sm_60, sm_70, and sm_86 with CUDA 12.6 or 12.8 #2891
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#2891
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/878
Author: @FearL0rd
Created: 10/5/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (10+)
fa16567setup: an earlier config that does not parse is skipped, not a crash; configs are written atomically (#459)749d957setup (--backend hip): a system ROCm without the HIP development files falls back to the wheels (#446)5a30024calibrate: the engine's arguments come from the server's engine_args; a failed tuning says why (#447)9f60d13serve, setup: name the small split card that caps the prompt chunk; setup recommends the big card alone (#448)eb8da1d/metrics: each request's speculative draft counts, and their sums in the totals (#457)6a09387setup (--gguf-dir): GGUFs Strata cannot run are named as such, with the --family/--model to use (#444)d6a91e2docs: the Coder is weaker outside code, Chinese/CJK text included; the unpruned sizes for that (#438)d8d4ad3Merge branch 'f-135-eng' into rel-0.1.357b600d5Merge branch 'f-135-small' into rel-0.1.35d9ab843Engine 0.1.35: Windows AMD uses its bundled HIP runtime (#468 #461), the low-RAM resident mode on Windows 32 GB PCs (#467), fixes #460 #459 #446 #447 #457 #448 #444; setup requires it📊 Changes
3 files changed (+289 additions, -28 deletions)
View changed files
📝
docs/INSTALL.md(+34 -3)📝
setup.py(+103 -20)📝
setup.sh(+152 -5)📄 Description
Summary
CUDA 13 cannot compile Pascal (sm_60) or Volta (sm_70), so those cards never got a usable engine. This adds an experimental CUDA 12.6/12.8 build that covers sm_60, sm_70, and sm_86 (RTX 30), and wires setup, the Linux launcher, and the install docs to that path.
What changed
setup.pyaccepts--cuda 12.6and--cuda 12.8. A CUDA 12 build always emits60;70;86and sets-DSTRATA_EXPERIMENTAL_SM60=ON. CUDA 12.6 is enough for those three architectures; sm_100 and sm_120 still require 12.8.setup.shlooks for a 12.8nvcc, then 12.6, on Pascal, Volta, and RTX 30, and passes--build --cuda 12.6or--cuda 12.8.STRATA_NVCCselects the toolkit when another CUDA is first onPATH..venvgets its requirements before the already-installed start path.engine/stratais pointed atengine-cuda12/strata. If that binary is gone, setup compiles it instead of stopping.INSTALL.mddocuments:Test plan
STRATA_NVCC=/usr/local/cuda-12.6/bin/nvcc ./setup.sh --build --cuda 12.6-DCMAKE_CUDA_ARCHITECTURES=60;70;86and-DSTRATA_EXPERIMENTAL_SM60=ONengine-cuda12/strataandstrata-<model>.jsonpoints at it, notengine/stratajinja2imports from.venv--cuda 12.6is refused when an sm_100 or sm_120 card is included🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.