Instructions to use dymoo/Qwen4-35B-A3B-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 dymoo/Qwen4-35B-A3B-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 dymoo/Qwen4-35B-A3B-ROCmFPx # Run inference directly in the terminal: llama cli -hf dymoo/Qwen4-35B-A3B-ROCmFPx
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dymoo/Qwen4-35B-A3B-ROCmFPx # Run inference directly in the terminal: llama cli -hf dymoo/Qwen4-35B-A3B-ROCmFPx
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf dymoo/Qwen4-35B-A3B-ROCmFPx # Run inference directly in the terminal: ./build/bin/llama cli -hf dymoo/Qwen4-35B-A3B-ROCmFPx
Use Docker
docker model run hf.co/dymoo/Qwen4-35B-A3B-ROCmFPx
- Llama new
- LM Studio
- Jan
- Ollama
How to use dymoo/Qwen4-35B-A3B-ROCmFPx with Ollama:
ollama run hf.co/dymoo/Qwen4-35B-A3B-ROCmFPx
- Unsloth Desktop
- Pi
How to use dymoo/Qwen4-35B-A3B-ROCmFPx with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dymoo/Qwen4-35B-A3B-ROCmFPx
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "dymoo/Qwen4-35B-A3B-ROCmFPx" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use dymoo/Qwen4-35B-A3B-ROCmFPx with Docker Model Runner:
docker model run hf.co/dymoo/Qwen4-35B-A3B-ROCmFPx
- Lemonade
How to use dymoo/Qwen4-35B-A3B-ROCmFPx with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dymoo/Qwen4-35B-A3B-ROCmFPx
Run and chat with the model
lemonade run user.Qwen4-35B-A3B-ROCmFPx-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use dymoo/Qwen4-35B-A3B-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 dymoo/Qwen4-35B-A3B-ROCmFPx
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:9931/v1 hermes config set model.default dymoo/Qwen4-35B-A3B-ROCmFPx
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use dymoo/Qwen4-35B-A3B-ROCmFPx with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dymoo/Qwen4-35B-A3B-ROCmFPx
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:9931/v1 \ --custom-model-id "dymoo/Qwen4-35B-A3B-ROCmFPx" \ --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"
|
Download README.md from dymoo/Qwen4-35B-A3B-ROCmFPx: direct link, hf CLI and curl.
- Browser
- Download file 6.24 kB
-
https://huggingface.co/dymoo/Qwen4-35B-A3B-ROCmFPx/resolve/main/README.md
- Command line
-
hf download hf://dymoo/Qwen4-35B-A3B-ROCmFPx/README.md
-
curl -L -o README.md https://huggingface.co/dymoo/Qwen4-35B-A3B-ROCmFPx/resolve/main/README.md
6.24 kB
| license: apache-2.0 | |
| base_model: Qwen/Qwen4-35B-A3B | |
| tags: | |
| - rocmfpx | |
| - rocmfp4 | |
| - rocm | |
| - strix-halo | |
| - gguf | |
| - quantization | |
| - qwen4 | |
| - qwen4-moe | |
| - llama-cpp | |
| # Qwen4-35B-A3B ROCmFPx Sensitivity-Guided Quants (BF16-Derived) | |
| Bit-exact **ROCmFPx** mixed-precision GGUF quantizations of **[`Qwen/Qwen4-35B-A3B`](https://huggingface.co/Qwen/Qwen4-35B-A3B) (BF16)** built with [`HarshaVardhan3002/ROCmFPX@qwen4`](https://github.com/HarshaVardhan3002/ROCmFPX/tree/qwen4) (`LLAMA_ROCMFPX_TENSOR_SCALE=1`, 100%-matched 381K-token BF16 imatrix) and guided by our BF16 per-layer sensitivity profile ([`dymoo/Qwen4-35B-A3B-Sensitivity`](https://huggingface.co/dymoo/Qwen4-35B-A3B-Sensitivity)). | |
| ### Highlights & Upstream Readiness | |
| - **Ready today on `HarshaVardhan3002/ROCmFPX@qwen4`** (includes `qwen4_moe` `#33626`, external `--ple` `#31185`, and `.scale` tensor support `#32669`) and **100% binary-compatible** (GGML type IDs `100, 101, 104, 107` + UE4M3 block layouts) with `charlie12345/ROCmFPX` once it merges `qwen4_moe`. | |
| - **Beats Standard MXFP4 at Matched BPW:** At `4.706 bpw` (`21.13 GB`), **`SG-ROCmFP4-FAST`** achieves **`0.0707` Mean KLD** (`0.0226` median, `89.89%` Same Top-1) β **11.3% lower KLD** than `SG-MXFP4` (`0.0798` at `4.688 bpw`). **`SG-ROCmFP4-STRIX`** (`4.898 bpw`, `22.00 GB`) reaches **`0.0640` Mean KLD** (`0.0199` median, `90.45%` Same Top-1) with dual-half UE4M3 scales! | |
| - **Full Architectural Protection:** All 2D PLE norms (`ple_norm_*`) pinned at `F32`, `ple_key`/`ple_value` pinned at `BF16`, all 4-stream hyper-connections (`.*hc_.*`, 168 tensors) + attention/GDN/shared-experts pinned at `Q8_0`, and per-expert `.scale` tensors (`123` pairs, `LLAMA_ROCMFPX_TENSOR_SCALE=1`) preserve full UE4M3 dynamic range across all 256 routed experts. | |
| - **Exact KLD/PPL Verification:** Every ROCmFPx file was validated for valid UE4M3 scale bytes (`<= 0x7e`), zero non-expert quantization leaks, and evaluated against the **exact same BF16 baseline logits** (`Mean PPL(base) = 6.1376`) via lossless **0-ULP FP16 expansion** (`0.00e+00` rounding error on all UE4M3 formats) in stock `llama-perplexity --kl-divergence`. | |
| ## Artifact Inventory | |
| | File | Format / Backends | Size | Non-Engram BPW | Mean KLD vs BF16 β | PPL β | Same Top-1 β | SHA-256 | | |
| | --- | --- | ---: | ---: | ---: | ---: | ---: | --- | | |
| | `Qwen4-35B-A3B-SG-ROCmFP2.gguf` | Vulkan + HIP + CPU (`HarshaVardhan3002/ROCmFPX@qwen4`, binary-compatible w/ `charlie12345/ROCmFPX`) | `14.33 GB` | `3.191` | `0.3172` | `6.7327` | `78.42%` | `9dbfdb6345853187β¦` | | |
| | `Qwen4-35B-A3B-SG-ROCmFP3.gguf` | Vulkan + HIP + CPU (`HarshaVardhan3002/ROCmFPX@qwen4`, binary-compatible w/ `charlie12345/ROCmFPX`) | `18.87 GB` | `4.201` | `0.1306` | `6.2248` | `85.93%` | `8e528f5d68bc5412β¦` | | |
| | `Qwen4-35B-A3B-SG-ROCmFP4-FAST.gguf` | Vulkan + HIP + CPU (`HarshaVardhan3002/ROCmFPX@qwen4`, binary-compatible w/ `charlie12345/ROCmFPX`) | `21.13 GB` | `4.706` | `0.0707` | `6.1851` | `89.89%` | `09996865df284a23β¦` | | |
| | `Qwen4-35B-A3B-SG-ROCmFP4-STRIX.gguf` | Vulkan + HIP + CPU (`HarshaVardhan3002/ROCmFPX@qwen4`, binary-compatible w/ `charlie12345/ROCmFPX`) | `22.00 GB` | `4.898` | `0.0640` | `6.1983` | `90.45%` | `8e745d50b339c367β¦` | | |
| ## Full BF16-Baseline KLD & Perplexity Comparison (ROCmFPx vs. Standard GGUF vs. Unsloth) | |
| | Variant | Source | Non-Engram BPW | Part-1 Size | Mean KLD vs BF16 β | Median KLD β | 99.9% KLD β | PPL β | Same Top-1 β | | |
| | --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | | |
| | `Qwen4-35B-A3B` (BF16 ref) | `Qwen/Qwen4-35B-A3B (native BF16 GGUF)` | `16.000` | `71.85 GB` | `0.0000` | `0.0000` | `0.000` | `6.1439` | `100.00%` | | |
| | **`SG-ROCmFP2`** | **ROCmFPx (Ours, BF16)** | `3.191` | `14.33 GB` | `0.3172` | `0.1278` | `5.963` | `6.7327` | `78.42%` | | |
| | **`SG-IQ3_S`** | **Sensitivity-Guided (Ours, BF16)** | `4.071` | `18.28 GB` | `0.0969` | `0.0322` | `2.993` | `6.2665` | `87.57%` | | |
| | `UD-IQ3_S` | `unsloth/Qwen4-35B-A3B-GGUF` (BF16) | `4.073` | `18.29 GB` | `0.0740` | `0.0265` | `2.204` | `5.8898` | `89.35%` | | |
| | **`SG-ROCmFP3`** | **ROCmFPx (Ours, BF16)** | `4.201` | `18.87 GB` | `0.1306` | `0.0430` | `4.336` | `6.2248` | `85.93%` | | |
| | **`SG-IQ4_XS`** | **Sensitivity-Guided (Ours, BF16)** | `4.562` | `20.48 GB` | `0.0646` | `0.0211` | `2.321` | `6.1730` | `90.04%` | | |
| | `UD-IQ4_XS` | `unsloth/Qwen4-35B-A3B-GGUF` (BF16) | `4.569` | `20.52 GB` | `0.0615` | `0.0202` | `1.864` | `6.1820` | `90.52%` | | |
| | **`SG-MXFP4`** | **Sensitivity-Guided (Ours, BF16)** | `4.688` | `21.05 GB` | `0.0798` | `0.0271` | `2.263` | `6.0915` | `88.80%` | | |
| | **`SG-ROCmFP4-FAST`** | **ROCmFPx (Ours, BF16)** | `4.706` | `21.13 GB` | `0.0707` | `0.0226` | `2.402` | `6.1851` | `89.89%` | | |
| | **`SG-ROCmFP4-STRIX`** | **ROCmFPx (Ours, BF16)** | `4.898` | `22.00 GB` | `0.0640` | `0.0199` | `2.256` | `6.1983` | `90.45%` | | |
| | **`SG-Q4_K`** | **Sensitivity-Guided (Ours, BF16)** | `5.251` | `23.58 GB` | `0.0495` | `0.0152` | `2.051` | `6.1302` | `91.43%` | | |
| | `UD-Q4_K_M` | `unsloth/Qwen4-35B-A3B-GGUF` (BF16) | `5.270` | `23.66 GB` | `0.0445` | `0.0143` | `1.509` | `6.1131` | `91.57%` | | |
|  | |
| ## Running on AMD Strix Halo / ROCm / Vulkan | |
| ```bash | |
| # Built from https://github.com/HarshaVardhan3002/ROCmFPX (branch: qwen4) | |
| llama-server \ | |
| -m Qwen4-35B-A3B-SG-ROCmFP4-STRIX.gguf \ | |
| --ple Qwen4-35B-A3B-engram-IQ4_NL.gguf_file \ | |
| -ot per_layer_token_embd=CPU \ | |
| -ngl 99 -c 32768 --jinja | |
| ``` | |
| ## Companion Releases | |
| - **HF Collection:** [`Qwen4-35B-A3B Open Speculative & Quantization Suite`](https://huggingface.co/collections/dymoo/qwen4-35b-a3b-open-speculative-and-quantization-suite-6b1320b154a19681daddba0f) | |
| - **BF16 Per-Layer Sensitivity Data:** [`dymoo/Qwen4-35B-A3B-Sensitivity`](https://huggingface.co/dymoo/Qwen4-35B-A3B-Sensitivity) | |
| - **Standard Sensitivity-Guided GGUFs:** [`dymoo/Qwen4-35B-A3B-GGUF`](https://huggingface.co/dymoo/Qwen4-35B-A3B-GGUF) | |
| - **Zero-KV DFly2 Speculative Drafter:** [`dymoo/Qwen4-35B-A3B-DFly2`](https://huggingface.co/dymoo/Qwen4-35B-A3B-DFly2) | |
| - **Pi Coding Harness + Hermes Agent + Concise-Thinking LoRA:** [`dymoo/Qwen4-35B-A3B-Pi-Hermes-Concise-LoRA`](https://huggingface.co/dymoo/Qwen4-35B-A3B-Pi-Hermes-Concise-LoRA) | |