[PR #4852] [CLOSED] [Other] Added fedora/bazzite support #5213

Closed
opened 2026-11-07 16:33:31 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4852
Author: @runningman84
Created: 10/31/2026
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (2)

📊 Changes

8 files changed (+119 additions, -26 deletions)

View changed files

📝 README.md (+3 -0)
📝 docs/AI_SETUP.md (+3 -1)
📝 docs/AMD_HIP.md (+4 -2)
📝 docs/INSTALL.md (+2 -1)
📝 docs/MULTI_GPU.md (+2 -1)
📝 setup.py (+69 -19)
📝 src/kernels/cuda/iq_kernels.cu (+4 -2)
📝 tools/test_setup_amd.py (+32 -0)

📄 Description

The title must start with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], for example "[Engine] fix decode stop on long prompts" or "[GUI] keep the model list after a tab switch".

Problem and result

Fedora does not use /opt/rocom therefore the normal install fails

There used to be another pull request which was lost due to purging of the github history

Approach

The other systems should still work

Validation

Passed:

📦[phil@strata Strata.new]$ ./setup.sh --gpu 1
Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)

  1) qwen3.8-flash-next-iq3_s
  2) qwen3.8-flash-next-iq3_xxs
  3) install another model / change settings
Which one? [1]: 
  [ok] GPU: AMD Radeon RX 7900 series (gfx1100) (20 GB, AMD)

  ----------------------------------------------------------------------------------------------------
  Starting qwen3.8-flash-next-iq3_s: it loads about 55 GB into RAM and locks part of it for the GPU.
  While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a
  restart). That is normal: please wait and don't close this window - the browser opens when it is ready.
  Later, closing this window stops the model.
  ----------------------------------------------------------------------------------------------------
  Settings (strata-iq3_s.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5
    --max-context 131072 --kv int8 --vision; server 127.0.0.1:8080, gpu 0
loading the vision encoder ...
loading the model (the first start takes a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] engine priority: nice +5 (this PC has built-in Radeon graphics that usually draw the desktop; STRATA_ENGINE_NICE=0 turns it off)
[strata] loading the experts into RAM (about 55 GB) and locking part of them for the GPU.
         YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
         Please wait and don't close this window; the browser opens when it is ready.
[strata] still starting (24 s) - please wait ...
[strata] experts loaded: 46.84 GiB at 2.05 GiB/s (39 s so far)
[strata] filling the GPU's expert cache (6173 experts, 11.72 GiB of VRAM) ...
[strata] almost ready ...
[strata] note: 872 MiB of VRAM free with the model loaded. If this AMD card also drives your desktop and the desktop or apps crash after the start (the driver moves the expert cache to RAM and the OOM killer ends the session), keep more VRAM free: ./setup.sh --vram-reserve-mib 3072 (remembered; the expert cache gets 2.3 GB less, a few % of speed)
ready: http://127.0.0.1:8080/v1  (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 131072 tokens, images on)
       open http://127.0.0.1:8080/ in a browser to chat; close this window to stop the model
[strata] reading the prompt: 23,371 tokens, 10 s so far
[strata] reading the prompt: 8,192 of 23,371 tokens, 12 s so far
[strata] reading the prompt: 8,192 of 23,371 tokens, 22 s so far
[strata] reading the prompt: 16,384 of 23,371 tokens, 23 s so far
[strata] reading the prompt: 16,384 of 23,371 tokens, 33 s so far
[strata] thinking: 5 of budget 80770 (max 107693) tokens, 20.0 tok/s, 34 s
[strata] thinking: 47 of budget 80770 (max 107693) tokens, 38.2 tok/s, 35 s
[strata] done: 93 tokens in 36 s (42.2 tok/s) (stop, cancel=False), expert cache 78.1% hit (+7.0% of the routed experts over PCIe)
[strata] thinking: 3 of budget 80733 (max 107644) tokens, 12.0 tok/s, 1 s
[strata] thinking: 49 of budget 80733 (max 107644) tokens, 45.0 tok/s, 2 s
[strata] thinking: 97 of budget 80733 (max 107644) tokens, 45.5 tok/s, 3 s
[strata] thinking: 140 of budget 80733 (max 107644) tokens, 44.4 tok/s, 4 s
[strata] thinking: 187 of budget 80733 (max 107644) tokens, 44.8 tok/s, 5 s
[strata] thinking: 232 of budget 80733 (max 107644) tokens, 44.9 tok/s, 6 s
[strata] thinking: 287 of budget 80733 (max 107644) tokens, 46.4 tok/s, 7 s
[strata] thinking: 334 of budget 80733 (max 107644) tokens, 46.5 tok/s, 8 s
[strata] thinking: 380 of budget 80733 (max 107644) tokens, 46.2 tok/s, 9 s
[strata] thinking: 435 of budget 80733 (max 107644) tokens, 47.1 tok/s, 10 s
[strata] thinking: 485 of budget 80733 (max 107644) tokens, 47.4 tok/s, 11 s
[strata] answering: 536 of max 107644 tokens, 47.6 tok/s, 12 s
[strata] answering: 584 of max 107644 tokens, 47.6 tok/s, 13 s
[strata] answering: 637 of max 107644 tokens, 48.0 tok/s, 14 s
[strata] answering: 691 of max 107644 tokens, 48.3 tok/s, 15 s
[strata] answering: 743 of max 107644 tokens, 48.5 tok/s, 16 s
[strata] answering: 796 of max 107644 tokens, 48.7 tok/s, 17 s

Failed:

Not run:

Limits


🔄 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/4852 **Author:** [@runningman84](https://github.com/runningman84) **Created:** 10/31/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`5aa8075`](https://github.com/Niko1221/Strata/commit/5aa8075e5cbe1971b18d0683ee714afbc91c0428) added fedora support - [`13769c0`](https://github.com/Niko1221/Strata/commit/13769c0dd508905e84199671f3626b3c133cb6d8) fixed docs ### 📊 Changes **8 files changed** (+119 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+3 -0) 📝 `docs/AI_SETUP.md` (+3 -1) 📝 `docs/AMD_HIP.md` (+4 -2) 📝 `docs/INSTALL.md` (+2 -1) 📝 `docs/MULTI_GPU.md` (+2 -1) 📝 `setup.py` (+69 -19) 📝 `src/kernels/cuda/iq_kernels.cu` (+4 -2) 📝 `tools/test_setup_amd.py` (+32 -0) </details> ### 📄 Description **The title must start with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], for example "[Engine] fix decode stop on long prompts" or "[GUI] keep the model list after a tab switch".** <!-- Read CONTRIBUTING.md first. Lead with the problem and the result, not a file-by-file list. Placeholders below are not test results: replace them with what you observed, or write "none". --> ## Problem and result <!-- What triggered this change. How it behaves before and after. --> Fedora does not use /opt/rocom therefore the normal install fails ## Related discussion <!-- The issue URL and the maintainer's agreement on scope, when the change needs one (features, refactors, defaults). Write "none" if not applicable. --> There used to be another pull request which was lost due to purging of the github history ## Approach <!-- Why this fix. Compatibility effects. Keep unrelated cleanup out of the PR. --> The other systems should still work ## Validation <!-- Exact commands, the revision and the environment tested, what you saw. Keep the three lists apart. --> **Passed:** <!-- command, revision/environment, observed result, log --> ```` 📦[phil@strata Strata.new]$ ./setup.sh --gpu 1 Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU) 1) qwen3.8-flash-next-iq3_s 2) qwen3.8-flash-next-iq3_xxs 3) install another model / change settings Which one? [1]: [ok] GPU: AMD Radeon RX 7900 series (gfx1100) (20 GB, AMD) ---------------------------------------------------------------------------------------------------- Starting qwen3.8-flash-next-iq3_s: it loads about 55 GB into RAM and locks part of it for the GPU. While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a restart). That is normal: please wait and don't close this window - the browser opens when it is ready. Later, closing this window stops the model. ---------------------------------------------------------------------------------------------------- Settings (strata-iq3_s.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --max-context 131072 --kv int8 --vision; server 127.0.0.1:8080, gpu 0 loading the vision encoder ... loading the model (the first start takes a minute or two) ... [strata] starting the engine: reading the model's weights ... [strata] engine priority: nice +5 (this PC has built-in Radeon graphics that usually draw the desktop; STRATA_ENGINE_NICE=0 turns it off) [strata] loading the experts into RAM (about 55 GB) and locking part of them for the GPU. YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal. Please wait and don't close this window; the browser opens when it is ready. [strata] still starting (24 s) - please wait ... [strata] experts loaded: 46.84 GiB at 2.05 GiB/s (39 s so far) [strata] filling the GPU's expert cache (6173 experts, 11.72 GiB of VRAM) ... [strata] almost ready ... [strata] note: 872 MiB of VRAM free with the model loaded. If this AMD card also drives your desktop and the desktop or apps crash after the start (the driver moves the expert cache to RAM and the OOM killer ends the session), keep more VRAM free: ./setup.sh --vram-reserve-mib 3072 (remembered; the expert cache gets 2.3 GB less, a few % of speed) ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 131072 tokens, images on) open http://127.0.0.1:8080/ in a browser to chat; close this window to stop the model [strata] reading the prompt: 23,371 tokens, 10 s so far [strata] reading the prompt: 8,192 of 23,371 tokens, 12 s so far [strata] reading the prompt: 8,192 of 23,371 tokens, 22 s so far [strata] reading the prompt: 16,384 of 23,371 tokens, 23 s so far [strata] reading the prompt: 16,384 of 23,371 tokens, 33 s so far [strata] thinking: 5 of budget 80770 (max 107693) tokens, 20.0 tok/s, 34 s [strata] thinking: 47 of budget 80770 (max 107693) tokens, 38.2 tok/s, 35 s [strata] done: 93 tokens in 36 s (42.2 tok/s) (stop, cancel=False), expert cache 78.1% hit (+7.0% of the routed experts over PCIe) [strata] thinking: 3 of budget 80733 (max 107644) tokens, 12.0 tok/s, 1 s [strata] thinking: 49 of budget 80733 (max 107644) tokens, 45.0 tok/s, 2 s [strata] thinking: 97 of budget 80733 (max 107644) tokens, 45.5 tok/s, 3 s [strata] thinking: 140 of budget 80733 (max 107644) tokens, 44.4 tok/s, 4 s [strata] thinking: 187 of budget 80733 (max 107644) tokens, 44.8 tok/s, 5 s [strata] thinking: 232 of budget 80733 (max 107644) tokens, 44.9 tok/s, 6 s [strata] thinking: 287 of budget 80733 (max 107644) tokens, 46.4 tok/s, 7 s [strata] thinking: 334 of budget 80733 (max 107644) tokens, 46.5 tok/s, 8 s [strata] thinking: 380 of budget 80733 (max 107644) tokens, 46.2 tok/s, 9 s [strata] thinking: 435 of budget 80733 (max 107644) tokens, 47.1 tok/s, 10 s [strata] thinking: 485 of budget 80733 (max 107644) tokens, 47.4 tok/s, 11 s [strata] answering: 536 of max 107644 tokens, 47.6 tok/s, 12 s [strata] answering: 584 of max 107644 tokens, 47.6 tok/s, 13 s [strata] answering: 637 of max 107644 tokens, 48.0 tok/s, 14 s [strata] answering: 691 of max 107644 tokens, 48.3 tok/s, 15 s [strata] answering: 743 of max 107644 tokens, 48.5 tok/s, 16 s [strata] answering: 796 of max 107644 tokens, 48.7 tok/s, 17 s ```` **Failed:** <!-- command and failure, or "none observed" --> **Not run:** <!-- check, why, and what stays unverified (for example CUDA, HIP, SYCL or Metal builds you could not do) --> ## Limits <!-- Known limitations or remaining work. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:33:31 +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#5213
No description provided.