Instructions to use ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: ./llama-cli -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama-cli -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
Use Docker
docker model run hf.co/ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
- LM Studio
- Jan
- Ollama
How to use ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX with Ollama:
ollama run hf.co/ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
- Unsloth Desktop
- Pi
How to use ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX with Docker Model Runner:
docker model run hf.co/ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
- Lemonade
How to use ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.Qwen3.8-Flash-Next-ROCmFPX-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX:Q4_0_ROCMFP" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Qwen3.8-Flash-Next-ROCmFPX
ROCmFPX quantized GGUF of Qwen3.8-Flash-Next (7 tiers + vision mmproj) โ locally requantized from the official Qwen/Qwen3.8-Flash-Next.
โก Quick Start
Requires llama.cpp-rocm (this fork supports ROCmFPX; upstream llama.cpp cannot load this batch โ see the Format Note at the end).
# Single machine (small tier, e.g. Q4_FAST 87.8 GiB)
llama-server -m Qwen3.8-Flash-Next_Q4_0_ROCMFP4_FAST.gguf -ngl 99 -fa on --port 8080
# Vision: append --mmproj mmproj-Qwen3.8-Flash-Next_BF16.gguf
# Large tiers (>=113 GiB): single-machine mmap paging, or two-machine RPC pooling โ see Usage
OpenAI-compatible API: http://127.0.0.1:8080/v1.
๐ฏ Which tier? (3-second decision)
| Use case | Recommended tier |
|---|---|
| Smallest size / single-machine full-resident | Q4_0_ROCMFP4_FAST (87.8 GiB) |
| Daily driver / long context | Q4_0_ROCMFP4_FAST_COHERENT / _STRIX (113.3 GiB) |
| Balanced quality / speed | Q6_0_ROCMFPX (135.7 GiB) |
| Agent / instruction-following | Q6_0_ROCMFPX_AGENT (158.0 GiB) |
| Quality first / maximum quality | Q8_0_ROCMFPX / _AGENT (170.2 / 173.6 GiB) |
Note: tiers above
~113 GiBcannot be fully resident on a single 128 GB machine โ use mmap paging (slower) or two-machine RPC pooling (see Usage).
Model Overview
- Base model: Qwen3.8 Flash Next (official)
- Architecture:
qwen4expโ MoE, 512 experts (10 active per token), 48 transformer blocks, hidden 2560, approx. 176.9B params total - Modalities: text + vision (mmproj included: CLIP +
qwen3vl_mergervision tower) - Context: up to 256K (
qwen4exp.context_length = 262144)
Files
| File | Size |
|---|---|
| Qwen3.8-Flash-Next_Q4_0_ROCMFP4_FAST.gguf | 87.79 GiB (94,268,794,528 B) |
| Qwen3.8-Flash-Next_Q4_0_ROCMFP4_FAST_COHERENT.gguf | 113.30 GiB (121,652,681,888 B) |
| Qwen3.8-Flash-Next_Q4_0_ROCMFP4_STRIX.gguf | 113.33 GiB (121,683,156,128 B) |
| Qwen3.8-Flash-Next_Q6_0_ROCMFPX.gguf | 135.68 GiB (145,688,675,488 B) |
| Qwen3.8-Flash-Next_Q6_0_ROCMFPX_AGENT.gguf | 158.01 GiB (169,667,624,608 B) |
| Qwen3.8-Flash-Next_Q8_0_ROCMFPX.gguf | 170.15 GiB (182,698,116,768 B) |
| Qwen3.8-Flash-Next_Q8_0_ROCMFPX_AGENT.gguf | 173.58 GiB (186,375,492,768 B) |
| mmproj-Qwen3.8-Flash-Next_BF16.gguf | 0.85 GiB (907,542,784 B) |
SHA-256 checksums for all files: see sha256.txt.
Quantization Tiers
| Tier | file_type | BPW | Size | Hardening (from quantization log) | Suggested use |
|---|---|---|---|---|---|
| Q4_0_ROCMFP4_FAST | 103 | 4.26 | 87.79 GiB | none (bare baseline) | smallest footprint / single-machine full-resident |
| Q4_0_ROCMFP4_FAST_COHERENT | 104 | 5.50 | 113.30 GiB | token embedding โ Q6_K; per-layer embedding โ Q8_0 | daily driver / long context |
| Q4_0_ROCMFP4_STRIX | 105 | 5.50 | 113.33 GiB | + attention K/V โ dual-scale FP4 | Q4 size, steadier quality |
| Q6_0_ROCMFPX | 110 | 6.59 | 135.68 GiB | uniform q6_0_rocmfpx |
balanced quality / speed |
| Q6_0_ROCMFPX_AGENT | 114 | 7.67 | 158.01 GiB | vocab/embed + selective attention โ Q8_0_ROCMFPX | Agent / instruction-following |
| Q8_0_ROCMFPX | 111 | 8.26 | 170.15 GiB | uniform q8_0_rocmfpx |
quality first |
| Q8_0_ROCMFPX_AGENT | 115 | 8.43 | 173.58 GiB | vocab/embed + selective attention โ standard Q8_0 | maximum quality |
Benchmarks (llama-bench)
Main table โ two-machine RPC pooling (2ร Strix Halo, 256 GB pool)
How it was measured: llama.cpp-rocm's RPC build (build-rpc, sha256 66dd122bโฆ) โ two Strix Halo machines (128 GB unified memory each) pooled into a 256 GB virtual machine over a 40G link. A = client, B = ggml-rpc-server.
Caliber: r5 drop-first (drop the first shot, mean of the last 4 shots โ removes warm-up effects).
| Tier | config | pp256 (t/s) | pp2048 (t/s) | tg256 (t/s) |
|---|---|---|---|---|
| Q4_0_ROCMFP4_FAST | 3/1 ยท none | 525.89 | 565.77 | 27.99 |
| Q4_0_ROCMFP4_FAST_COHERENT | 3/1 ยท none | 529.56 | 552.62 | 27.84 |
| Q4_0_ROCMFP4_STRIX | 3/1 ยท none | 528.25 | 562.97 | 28.35 |
| Q6_0_ROCMFPX | 6/1 ยท dio | 311.99 | 361.93 | 22.84 |
| Q6_0_ROCMFPX_AGENT | 8/1 ยท dio | 363.27 | 419.87 | 21.72 |
| Q8_0_ROCMFPX | 3/1 ยท none | 458.33 | 530.87 | 20.22 |
| Q8_0_ROCMFPX_AGENT | 3/1 ยท none | 462.60 | 522.75 | 20.09 |
- "config" = layer split / load mode.
3/1: A keeps 25% of layers, B holds 75%;none/dio= the-lmvalue (rationale in the Tech Notes at the end). - r3 reference (3-shot drop-first): FAST 527.84 / 566.07 / 28.23; FC 526.26 / 555.85 / 28.06; STRIX 528.61 / 566.00 / 28.32; Q6 317.00 / 362.36 / 22.74; Q6A 364.82 / 419.17 / 21.93; Q8 464.03 / 533.08 / 20.30; Q8A 450.40 / 526.71 / 20.03.
- Sample jitter (tg256 stddev/mean) < 1% across all valid passes.
Reference only โ single-machine caliber (do not compare with the table above)
| Tier | machine / caliber | pp256 (t/s) | pp2048 (t/s) | tg256 (t/s) | Note |
|---|---|---|---|---|---|
| Q4_0_ROCMFP4_FAST | B, old auto run (not mmap) | 229.65 | 331.13 | 16.25 | high variance, reference only |
| Q4_0_ROCMFP4_FAST_COHERENT | B, single-machine mmap paging | 18.37 | 32.52 | 10.47 | mixed service window |
| Q4_0_ROCMFP4_STRIX | B, single-machine mmap paging | 104.47 | 155.27 | 11.58 | clean exclusive (cleanest) |
These two groups were run differently (RPC pooling vs single-machine mmap paging) and on different engine builds โ archived side by side only; do not compare the numbers across them. Single-machine paging is clearly slower than pooling (pp off by severalร, tg by ~2โ3ร).
Usage
โ Single machine (recommended for small tiers)
llama-server \
-m Qwen3.8-Flash-Next_Q4_0_ROCMFP4_FAST.gguf \
-ngl 99 -fa on --port 8080
- Full-resident (
-ngl 99): the whole model in unified memory. The 87.8 GiB tier fits one 128 GB machine; >=113 GiB needs paging or pooling. - Paging mode (slow but runs large tiers):
-lm mmap -ngl 16. - Vision:
--mmproj <file>(no separate switch). - Context: up to 256K.
โก Two-machine RPC pooling (all 7 tiers; the benchmarked method)
Steps: start the RPC server on machine B โ run with --rpc on machine A (client); the model file must live on the client (A).
# ---- Machine B (RPC server) ----
systemd-run --user --no-block -p LimitMEMLOCK=infinity /bin/bash -c \
'cd ~/source/llama.cpp-rocm/build/bin && \
LD_LIBRARY_PATH=$PWD exec ./ggml-rpc-server --host 10.0.10.11 --port 50052'
# ---- Machine A (client) ----
systemd-run --user --scope -p MemoryMax=102400M -p MemorySwapMax=0 -- bash -c '
~/source/llama.cpp-rocm/build-rpc/bin/llama-bench \
-m Qwen3.8-Flash-Next_Q4_0_ROCMFP4_STRIX.gguf \
--rpc 10.0.10.11:50052 -ngl 99 --split-mode layer --tensor-split 3/1 \
-p 256,2048 -n 256 -r 5 -o json -lm none'
Key points (rationale in the Tech Notes):
- Large-embedding tiers (FAST / FC / STRIX / Q8 / Q8A):
--tensor-split 3/1+-lm none. - Q6 / Q6A:
--tensor-split 6/1(Q6A:8/1) +-lm dio. - Restart
ggml-rpc-serverbefore switching models (clears GTT); the model file must be local on the client.
Tech Notes (advanced)
Expand: load modes & RPC notes
- Load mode on RPC runs: use
-lm nonefor tiers with large embeddings โ-lm diobuilds an equal-size intermediate buffer that can OOM the client;-lm mmaphas a known deadlock with RPC;-lm nonereads straight into the destination. - Keep the client "light on layers": the
qwen4expembedding tensors (token_embd + per-layer + output) can only be pinned on the client's local CPU โ keep the client-side layer share small. --split-mode layeris required:tensorsplit isn't implemented forqwen4exp;rowsplit isn't supported over RPC.- RPC hygiene: restart
ggml-rpc-serverbefore switching models (clears GTT); run it withLimitMEMLOCK=infinityto escape the cgroup memlock ceiling.
Format Note (ROCmFPX)
ROCmFPX is an extension format of llama.cpp-rocm (this batch uses GGML file types 103/104/105/110/111/114/115). Upstream llama.cpp cannot load them โ use llama.cpp-rocm (supports all upstream GGUF formats plus ROCmFPX natively).
License & Disclaimer
- Base model: Qwen3.8 Flash Next (official) โ
qwen-community-1.0(from GGUF metadata) - mmproj (vision tower): CLIP +
qwen3vl_mergerof the base model โ license follows the base model - This quantized version: Apache-2.0
This is a quantized version of the official model, provided "as is", without warranty of any kind. Benchmark figures depend on the exact engine build and hardware; they are measured values under the stated environment, not end-to-end business throughput.
- Downloads last month
- 7,106
Model tree for ArtomYuan/Qwen3.8-Flash-Next-ROCmFPX
Base model
Qwen/Qwen3.8-Flash-Next