[GH-ISSUE #429] setup: UD-Q4_K_XL is offered (and not blocked) on --backend hip, though docs/UNSLOTH_Q4.md says it needs an NVIDIA GPU #198

Closed
opened 2026-11-04 01:40:50 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @jkuepker on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/429

On an AMD-only PC, ./setup.sh --check --backend hip lists the experimental Unsloth model as fitting:

UD-Q4_K_XL needs ~48 GB RAM: EXPERIMENTAL, fits with 38 GiB of its experts in RAM, the rest read from the SSD

docs/UNSLOTH_Q4.md says it needs "48 GB of RAM or more and engine 0.1.32 or newer ... and an NVIDIA GPU."

Reading setup.py at v0.1.32: the UD-Q4_K_XL checks before the download cover the RAM size (MODELS[model]["ram_gb"]) and the engine version (UNSLOTH_ENGINE), but nothing checks the backend. So an AMD user can pick it and start the 111 GB download. I did not try the download, so I don't know whether the HIP engine actually runs it (--compat-bf16, resident-budget mode).

Expected: one of these:

  • If HIP isn't supported: --check marks UD-Q4_K_XL as "NVIDIA only" when the backend is hip, and setup refuses it before downloading. This matches how the RAM and engine-version checks run first.
  • If HIP is meant to work: update docs/UNSLOTH_Q4.md and say it is untested on AMD.

Environment

Strata v0.1.32 (tag c499bd1), Linux, Ubuntu 24.04.4, kernel 7.0.0-34
GPU: Radeon AI PRO R9700 32 GB (gfx1201), single card
CPU: i5-12600K (AVX2, no AVX-512), 62 GB DDR5
Setup: ./setup.sh --backend hip --family coder --model IQ1_M (no system ROCm)
ROCm: TheRock 7.10.0a20251120 wheels (gfx120X-all) installed by setup into .venv; hipBLASLt 1.2.0
Server: serve/server.py with setup's generated config (max-context 131072, kv int8, spec 4 + MTP)
Originally created by @jkuepker on GitHub (Oct 1, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/429 On an AMD-only PC, `./setup.sh --check --backend hip` lists the experimental Unsloth model as fitting: ``` UD-Q4_K_XL needs ~48 GB RAM: EXPERIMENTAL, fits with 38 GiB of its experts in RAM, the rest read from the SSD ``` `docs/UNSLOTH_Q4.md` says it needs "48 GB of RAM or more and engine 0.1.32 or newer ... and an NVIDIA GPU." Reading `setup.py` at v0.1.32: the UD-Q4_K_XL checks before the download cover the RAM size (`MODELS[model]["ram_gb"]`) and the engine version (`UNSLOTH_ENGINE`), but nothing checks the backend. So an AMD user can pick it and start the 111 GB download. I did not try the download, so I don't know whether the HIP engine actually runs it (`--compat-bf16`, resident-budget mode). **Expected:** one of these: - If HIP isn't supported: `--check` marks UD-Q4_K_XL as "NVIDIA only" when the backend is hip, and setup refuses it before downloading. This matches how the RAM and engine-version checks run first. - If HIP is meant to work: update `docs/UNSLOTH_Q4.md` and say it is untested on AMD. **Environment** ``` Strata v0.1.32 (tag c499bd1), Linux, Ubuntu 24.04.4, kernel 7.0.0-34 GPU: Radeon AI PRO R9700 32 GB (gfx1201), single card CPU: i5-12600K (AVX2, no AVX-512), 62 GB DDR5 Setup: ./setup.sh --backend hip --family coder --model IQ1_M (no system ROCm) ROCm: TheRock 7.10.0a20251120 wheels (gfx120X-all) installed by setup into .venv; hipBLASLt 1.2.0 Server: serve/server.py with setup's generated config (max-context 131072, kv int8, spec 4 + MTP) ```
Author
Owner

@Niko1221 commented on GitHub (Oct 2, 2026):

Thanks. In 0.1.34, with --backend hip the --check list says "NVIDIA only so far, untested on AMD" for UD-Q4_K_XL, and setup says why and asks before the 111 GB download. The HIP engine has no prompt kernels for its Q4_K / Q5_K experts, and nobody has run it on AMD yet. It's asked rather than refused, so --model UD-Q4_K_XL --yes still tries it (please report if you do). docs/UNSLOTH_Q4.md says the same.

<!-- gh-comment-id:5943820931 --> @Niko1221 commented on GitHub (Oct 2, 2026): Thanks. In [0.1.34](https://github.com/Niko1221/Strata/releases/tag/v0.1.34), with `--backend hip` the `--check` list says "NVIDIA only so far, untested on AMD" for UD-Q4_K_XL, and setup says why and asks before the 111 GB download. The HIP engine has no prompt kernels for its Q4_K / Q5_K experts, and nobody has run it on AMD yet. It's asked rather than refused, so `--model UD-Q4_K_XL --yes` still tries it (please report if you do). docs/UNSLOTH_Q4.md says the same.
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#198
No description provided.