[Engine] apply_nv_defaults labels sm_89 (Ada) as "sm_86 (Ampere)"
Maintainers usually reply within 5 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 73/100
Research direction
Read src/core/nv_defaults.cpp, especially the startup label function and the (8,9) branch in nv_default_env. Check how the architecture label and performance environment variable are selected for compute capability 8.9. Build and run strata --serve on an Ada card; done when any applicable startup label identifies sm_89 (Ada) and uses the Ada-specific escape hatch.
Written by the indexing model from the issue text.
Description
"Area":
[Engine]
"Desktop app, Terminal or source?":
Source (START-HERE.bat, setup.sh or a build)
"What happened":
In src/core/nv_defaults.cpp, the startup label function checks:
const bool sm86 = mj == 8;
This is true for both sm_86 (Ampere: RTX 3060, A4000) and sm_89 (Ada: RTX 4070,
RTX 6000 Ada). If any switch is in the table for an Ada card, the startup line
prints "sm_86 (Ampere)" and names STRATA_SM86_PERF as the off switch, which is
wrong for Ada.
The table for (8,9) is empty today (no switches win on Ada, measured in my
benchmark issue), so the wrong label never prints at runtime. But the logic is
incorrect for the moment someone adds a switch, and it means there is no
STRATA_SM89_PERF escape hatch documented for Ada owners who want to verify
the empty table is correct on their card.
"Smallest steps or command":
- Add any switch to the (8,9) branch in nv_default_env
- Build and run strata --serve on a compute 8.9 card
- Observe the startup line says "sm_86 (Ampere)" instead of "sm_89 (Ada)"
"Reproduction status":
Unconfirmed static analysis (I read code; I did not see it fail)
"Strata version":
Strata 0.2.15 · engine 0.1.60 (also checked at HEAD 0.1.61)
"Graphics card, memory and system":
RTX 6000 Ada Generation 48 GB · 192 GB RAM · Windows 11
"Model, size and settings":
Qwen3.8-Flash-Next Unsloth UD-Q5_K_XL · 524288 context · vision on0
- Dominant language
- C++
- Stars
- 11.6k
- Forks
- 1k
- Avg merge
- 18d 13h
- Merged PRs (30d)
- 4
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Niko1221/Strata
-
needs-format
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Niko1221/Strata#6251 · 1 comment ·
Maintainers usually reply within 5 days
-
[TUI] A leftover run config marks a model installed: the list checks the file name, not the filesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 5 days
-
[Engine] qsa_rows_bench: --ctx below 32768 makes the dense step read outside the page table (Xid 31)Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 5 days
-
[Engine] explicit --layer-split reloads CUDA0 dense weights a second time at startup (0 MiB freed)Possibly taken @wronglebowsk claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 5 days
-
[Other] Terminal: shell tab completion for the strata commandPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Niko1221/Strata#6086 · 2 comments ·
Maintainers usually reply within 5 days
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
metasequoiaime/msime#11666 ·
Maintainers usually reply within 1 day
-
DAE2 crashes on call.without.effects with a non ref.func expressionPossibly taken @stevenfontanella claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
WebAssembly/binaryen#9404 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
CodeZombie/goodluckOS#178 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
CVO-Org/immersive-cigs-rewrite#313 ·
Maintainers usually reply within 1 day
-
windows-latest (20261116.315.1) ships with incompatible MSVC (18.12) and pinned LLVM/Clang (20)Openbug report
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
actions/runner-images#15367 · 4 comments ·
Maintainers usually reply within 2 days