[PR #87] [CLOSED] Turing port: run on RTX 20 (sm_75) and newer #2447

Closed
opened 2026-11-04 02:00:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/87
Author: @hireymage
Created: 9/28/2026
Status: ❌ Closed

Base: main ← Head: turing-sm75


📝 Commits (1)

  • f65eb9e Turing port: run on RTX 20 (sm_75) and newer

📊 Changes

5 files changed (+43 additions, -21 deletions)

View changed files

📝 CMakeLists.txt (+5 -4)
📝 docs/MULTI_GPU.md (+2 -2)
📝 setup.py (+4 -4)
📝 src/core/device.cu (+7 -7)
📝 src/kernels/cuda/fused_gr.cu (+25 -4)

📄 Description

The rest of the Turing port, rebased onto main (0.1.22).

What main already covers after the rebase (dropped from the PR):

  • the portable pre-sm_80 QSA scorer (main has its own fp32-FMA path) and the sm_80 guard on the tensor-core prompt attention (a751715),
  • a per-device fused_gr shared-memory opt-in capped at the card's limit.

What the PR adds on top (+43/−20, single commit):

  • the runtime floor: device_info refuses anything below compute capability 7 — main's runtime check still demands sm_120, so a binary built for sm_75 would never start,
  • fused_gr chunking on top of main's per-device opt-in: the down kernel carries tokens in slices that fit the card's opt-in (Turing, 64 KB → 6-token slices; 4 tokens when no opt-in is reported), so full 8-token windows no longer fail with "invalid argument" on Turing,
  • the setup/CMake floor is 7.5 (RTX 20 / 30 / 40 / 50) without an experimental flag: CMake's arch refusals, setup.py's gpu_problem and the GPU hint/error texts, and docs/MULTI_GPU.md updated.

Compiled clean for CMAKE_CUDA_ARCHITECTURES=75 (121/121, CUDA 12.6, Linux). Runtime verified end-to-end on an RTX 2070 (sm_75) at the 0.1.20 base: model loads, OpenAI/Anthropic serving works, greedy output identical to the sm_120 build.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/87 **Author:** [@hireymage](https://github.com/hireymage) **Created:** 9/28/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `turing-sm75` --- ### 📝 Commits (1) - [`f65eb9e`](https://github.com/Niko1221/Strata/commit/f65eb9ed7d85537ecbe3f7ffebf3b54b05dae3af) Turing port: run on RTX 20 (sm_75) and newer ### 📊 Changes **5 files changed** (+43 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+5 -4) 📝 `docs/MULTI_GPU.md` (+2 -2) 📝 `setup.py` (+4 -4) 📝 `src/core/device.cu` (+7 -7) 📝 `src/kernels/cuda/fused_gr.cu` (+25 -4) </details> ### 📄 Description The rest of the Turing port, rebased onto main (0.1.22). What main already covers after the rebase (dropped from the PR): - the portable pre-sm_80 QSA scorer (main has its own fp32-FMA path) and the sm_80 guard on the tensor-core prompt attention (a751715), - a per-device fused_gr shared-memory opt-in capped at the card's limit. What the PR adds on top (+43/−20, single commit): - **the runtime floor**: `device_info` refuses anything below compute capability 7 — main's runtime check still demands sm_120, so a binary built for sm_75 would never start, - **fused_gr chunking** on top of main's per-device opt-in: the down kernel carries tokens in slices that fit the card's opt-in (Turing, 64 KB → 6-token slices; 4 tokens when no opt-in is reported), so full 8-token windows no longer fail with "invalid argument" on Turing, - **the setup/CMake floor is 7.5** (RTX 20 / 30 / 40 / 50) without an experimental flag: CMake's arch refusals, setup.py's `gpu_problem` and the GPU hint/error texts, and docs/MULTI_GPU.md updated. Compiled clean for `CMAKE_CUDA_ARCHITECTURES=75` (121/121, CUDA 12.6, Linux). Runtime verified end-to-end on an RTX 2070 (sm_75) at the 0.1.20 base: model loads, OpenAI/Anthropic serving works, greedy output identical to the sm_120 build. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:00:12 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2447
No description provided.