Text Generation
GGUF
rocmfpx
rocmiq
strix-halo
amd
Mixture of Experts
hy4-flash
agentic
tool-calling
low-memory
imatrix
conversational
Instructions to use Harsha001/Hy4-flash-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 Harsha001/Hy4-flash-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 Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ # Run inference directly in the terminal: llama cli -hf Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ # Run inference directly in the terminal: llama cli -hf Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
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 Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ # Run inference directly in the terminal: ./build/bin/llama cli -hf Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
Use Docker
docker model run hf.co/Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
- Llama new
- LM Studio
- Jan
- vLLM
How to use Harsha001/Hy4-flash-ROCmFPX with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Harsha001/Hy4-flash-ROCmFPX" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Harsha001/Hy4-flash-ROCmFPX", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
- Ollama
How to use Harsha001/Hy4-flash-ROCmFPX with Ollama:
ollama run hf.co/Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
- Unsloth Desktop
- Pi
How to use Harsha001/Hy4-flash-ROCmFPX with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
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": "Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Harsha001/Hy4-flash-ROCmFPX with Docker Model Runner:
docker model run hf.co/Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
- Lemonade
How to use Harsha001/Hy4-flash-ROCmFPX with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
Run and chat with the model
lemonade run user.Hy4-flash-ROCmFPX-IQ1_S_ROCMIQ
List all available models
lemonade list
- Hermes Agent
How to use Harsha001/Hy4-flash-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 Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
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 Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Harsha001/Hy4-flash-ROCmFPX with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ
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 "Harsha001/Hy4-flash-ROCmFPX:IQ1_S_ROCMIQ" \ --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"
Remove featured note; highlight the 32/64/96/128 GB builds
Browse files
README.md
CHANGED
|
@@ -18,33 +18,31 @@ tags:
|
|
| 18 |
- low-memory
|
| 19 |
---
|
| 20 |
|
| 21 |
-
|
| 22 |
-
> **Featured: DeepSeek-V4.1-Flash on a single Strix Halo.** Our own ROCmIQ quant of DeepSeek-V4.1-Flash-1017
|
| 23 |
-
> (uncensored), built to fit and run on one 128 GB AMD Strix Halo machine. Check it out:
|
| 24 |
-
> **[DeepSeek-V4.1-Flash-1017-Uncensored-GSQ-RCO-StrixHalo-GGUF](https://huggingface.co/Harsha001/DeepSeek-V4.1-Flash-1017-Uncensored-GSQ-RCO-StrixHalo-GGUF)**
|
| 25 |
-
<!-- /featured -->
|
| 26 |
|
| 27 |
-
> ##
|
| 28 |
>
|
| 29 |
-
> Two new low-bit quants
|
| 30 |
-
> configuration, not
|
| 31 |
>
|
| 32 |
-
> | Your machine (unified memory) |
|
| 33 |
> |---|---|---|
|
| 34 |
-
> | **32 GB** | `IQ1_S_ROCMIQ-E328/` | **25.81 GB** |
|
| 35 |
-
> | **64 GB** | `IQ2_XXS_ROCMIQ/` | **45.33 GB** |
|
| 36 |
-
> | **
|
|
|
|
| 37 |
>
|
| 38 |
-
>
|
| 39 |
-
>
|
| 40 |
-
>
|
| 41 |
-
>
|
| 42 |
-
|
| 43 |
-
|
|
|
|
| 44 |
|
| 45 |
Hardware-aware GGUF quants of [tencent/Hy4-flash](https://huggingface.co/tencent/Hy4-flash), built with the
|
| 46 |
[ROCmFPX](https://github.com/HarshaVardhan3002/ROCmFPX) formats for AMD GPUs and sized for a named amount of unified
|
| 47 |
-
memory: 32 GB, 64 GB or 128 GB.
|
| 48 |
|
| 49 |
Hy4-flash: 220B parameters in total, of which 64B are the Engram lookup table, 12B active per token, 42 layers,
|
| 50 |
512 experts with top-16 routing. Text only here (the vision encoder and the DFly2 drafter are not included yet).
|
|
@@ -54,7 +52,7 @@ Hy4-flash: 220B parameters in total, of which 64B are the Engram lookup table, 1
|
|
| 54 |
| Folder | Experts | Everything else | Must fit in memory | Engram table (SSD / CPU) | For |
|
| 55 |
|---|---|---|---|---|---|
|
| 56 |
| `IQ1_S_ROCMIQ-E328/` **(new)** | 328 of 512 per layer, gate/up ROCmIQ1_S (1.56 bit), down ROCmIQ2_XXS (2.06 bit) | Q8_0_ROCMFPX, attention output and gate Q4_0_ROCMFP4 | **25.81 GB** | Q4_0, read from the SSD | **32 GB** machines |
|
| 57 |
-
| `IQ2_XXS_ROCMIQ/` **(new)** | all 512 per layer, ROCmIQ2_XXS (2.06 bit) | Q8_0_ROCMFPX | **45.33 GB** | Q4_0, read from the SSD | **64 GB** machines |
|
| 58 |
| `Q4_0_STRIX/` | all 512, Q4_0_ROCMFP4 | Q8_0_ROCMFPX | 84.7 GiB | Q4_0, 33 GiB | 128 GB (recommended there) |
|
| 59 |
| `Q4_0_STRIXFAST/` | all 512, Q4_0_ROCMFP4_FAST (faster kernel) | Q8_0_ROCMFPX | 80.4 GiB | Q4_0, 33 GiB | 128 GB, speed pick |
|
| 60 |
|
|
@@ -99,7 +97,7 @@ cmake -B build -DGGML_VULKAN=ON -DCMAKE_BUILD_TYPE=Release
|
|
| 99 |
cmake --build build --config Release -j
|
| 100 |
```
|
| 101 |
|
| 102 |
-
32 GB or
|
| 103 |
|
| 104 |
```
|
| 105 |
hf download Harsha001/Hy4-flash-ROCmFPX --include "IQ2_XXS_ROCMIQ/*" --local-dir .
|
|
|
|
| 18 |
- low-memory
|
| 19 |
---
|
| 20 |
|
| 21 |
+
# Hy4-flash ROCmFPX: runs on every Strix memory size (32 / 64 / 96 / 128 GB)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
> ## NEW (29 November 2026): Hy4-flash now fits 32 GB and 64 GB machines
|
| 24 |
>
|
| 25 |
+
> Two new low-bit quants made with our **ROCmIQ** formats for AMD GPUs. Together with the Q4_0 builds, Hy4-flash
|
| 26 |
+
> now supports **every AMD Strix memory configuration**, not only the 128 GB one.
|
| 27 |
>
|
| 28 |
+
> | Your machine (unified memory) | Download this folder | Memory the model needs |
|
| 29 |
> |---|---|---|
|
| 30 |
+
> | **Strix Halo 32 GB** (also Strix Point / Ryzen AI 300 laptops with 32 GB) | **`IQ1_S_ROCMIQ-E328/`** (new) | **25.81 GB** |
|
| 31 |
+
> | **Strix Halo 64 GB** (also Strix Point / Ryzen AI 300 with 64 GB) | **`IQ2_XXS_ROCMIQ/`** (new) | **45.33 GB** |
|
| 32 |
+
> | **Strix Halo 96 GB** | **`IQ2_XXS_ROCMIQ/`** (new), leaves room for long context | **45.33 GB** |
|
| 33 |
+
> | **Strix Halo 128 GB** | `Q4_0_STRIX/` (best quality) or `Q4_0_STRIXFAST/` (faster) | 84.7 / 80.4 GiB |
|
| 34 |
>
|
| 35 |
+
> The big Engram lookup table stays on the SSD and is read row by row, so it does not count against your memory.
|
| 36 |
+
> Pick the biggest build your machine can hold. Setup for each size is under [Running](#running).
|
| 37 |
+
>
|
| 38 |
+
> **We would love your feedback, especially from low-memory devices.** If you run one of these on a 32 GB, 64 GB or
|
| 39 |
+
> 96 GB machine (Strix Halo, Strix Point, other Ryzen AI laptops or mini PCs, or any other AMD GPU), please tell us
|
| 40 |
+
> in the [Community tab](https://huggingface.co/Harsha001/Hy4-flash-ROCmFPX/discussions): your device and memory,
|
| 41 |
+
> the speed (`llama-bench` pp512 / tg128), how much memory it used, and how the answers look. Happy building!
|
| 42 |
|
| 43 |
Hardware-aware GGUF quants of [tencent/Hy4-flash](https://huggingface.co/tencent/Hy4-flash), built with the
|
| 44 |
[ROCmFPX](https://github.com/HarshaVardhan3002/ROCmFPX) formats for AMD GPUs and sized for a named amount of unified
|
| 45 |
+
memory: 32 GB, 64 GB, 96 GB or 128 GB.
|
| 46 |
|
| 47 |
Hy4-flash: 220B parameters in total, of which 64B are the Engram lookup table, 12B active per token, 42 layers,
|
| 48 |
512 experts with top-16 routing. Text only here (the vision encoder and the DFly2 drafter are not included yet).
|
|
|
|
| 52 |
| Folder | Experts | Everything else | Must fit in memory | Engram table (SSD / CPU) | For |
|
| 53 |
|---|---|---|---|---|---|
|
| 54 |
| `IQ1_S_ROCMIQ-E328/` **(new)** | 328 of 512 per layer, gate/up ROCmIQ1_S (1.56 bit), down ROCmIQ2_XXS (2.06 bit) | Q8_0_ROCMFPX, attention output and gate Q4_0_ROCMFP4 | **25.81 GB** | Q4_0, read from the SSD | **32 GB** machines |
|
| 55 |
+
| `IQ2_XXS_ROCMIQ/` **(new)** | all 512 per layer, ROCmIQ2_XXS (2.06 bit) | Q8_0_ROCMFPX | **45.33 GB** | Q4_0, read from the SSD | **64 GB** and **96 GB** machines |
|
| 56 |
| `Q4_0_STRIX/` | all 512, Q4_0_ROCMFP4 | Q8_0_ROCMFPX | 84.7 GiB | Q4_0, 33 GiB | 128 GB (recommended there) |
|
| 57 |
| `Q4_0_STRIXFAST/` | all 512, Q4_0_ROCMFP4_FAST (faster kernel) | Q8_0_ROCMFPX | 80.4 GiB | Q4_0, 33 GiB | 128 GB, speed pick |
|
| 58 |
|
|
|
|
| 97 |
cmake --build build --config Release -j
|
| 98 |
```
|
| 99 |
|
| 100 |
+
32 GB, 64 GB or 96 GB machine (pick the folder from the table):
|
| 101 |
|
| 102 |
```
|
| 103 |
hf download Harsha001/Hy4-flash-ROCmFPX --include "IQ2_XXS_ROCMIQ/*" --local-dir .
|