Text Generation
GGUF
rocmfpx
strix-halo
amd
Mixture of Experts
hy4-flash
agentic
tool-calling
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:Q4_0_STRIX # Run inference directly in the terminal: llama cli -hf Harsha001/Hy4-flash-ROCmFPX:Q4_0_STRIX
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:Q4_0_STRIX # Run inference directly in the terminal: llama cli -hf Harsha001/Hy4-flash-ROCmFPX:Q4_0_STRIX
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:Q4_0_STRIX # Run inference directly in the terminal: ./build/bin/llama cli -hf Harsha001/Hy4-flash-ROCmFPX:Q4_0_STRIX
Use Docker
docker model run hf.co/Harsha001/Hy4-flash-ROCmFPX:Q4_0_STRIX
- 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:Q4_0_STRIX
- Ollama
How to use Harsha001/Hy4-flash-ROCmFPX with Ollama:
ollama run hf.co/Harsha001/Hy4-flash-ROCmFPX:Q4_0_STRIX
- 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:Q4_0_STRIX
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:Q4_0_STRIX" } ] } } }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:Q4_0_STRIX
- 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:Q4_0_STRIX
Run and chat with the model
lemonade run user.Hy4-flash-ROCmFPX-Q4_0_STRIX
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:Q4_0_STRIX
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:Q4_0_STRIX
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:Q4_0_STRIX
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:Q4_0_STRIX" \ --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"
Rename folders so the Hub lists STRIX and FAST as two quants
Browse files- .gitattributes +6 -0
- Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00001-of-00003.gguf → Q4_0_STRIX/Hy4-flash-Q4_0_STRIX-00001-of-00003.gguf +0 -0
- Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00002-of-00003.gguf → Q4_0_STRIX/Hy4-flash-Q4_0_STRIX-00002-of-00003.gguf +0 -0
- Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00003-of-00003.gguf → Q4_0_STRIX/Hy4-flash-Q4_0_STRIX-00003-of-00003.gguf +0 -0
- Q4_0_ROCMFPX_FAST/Hy4-flash-Q4_0_ROCMFPX_FAST-00001-of-00003.gguf → Q4_0_STRIXFAST/Hy4-flash-Q4_0_STRIXFAST-00001-of-00003.gguf +0 -0
- Q4_0_ROCMFPX_FAST/Hy4-flash-Q4_0_ROCMFPX_FAST-00002-of-00003.gguf → Q4_0_STRIXFAST/Hy4-flash-Q4_0_STRIXFAST-00002-of-00003.gguf +0 -0
- Q4_0_ROCMFPX_FAST/Hy4-flash-Q4_0_ROCMFPX_FAST-00003-of-00003.gguf → Q4_0_STRIXFAST/Hy4-flash-Q4_0_STRIXFAST-00003-of-00003.gguf +0 -0
- README.md +3 -3
.gitattributes
CHANGED
|
@@ -45,3 +45,9 @@ Q4_0_ROCMFPX_FAST/Hy4-flash-Q4_0_ROCMFPX_FAST-00003-of-00003.gguf filter=lfs dif
|
|
| 45 |
Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Q4_0_STRIXFAST/Hy4-flash-Q4_0_STRIXFAST-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
Q4_0_STRIXFAST/Hy4-flash-Q4_0_STRIXFAST-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
Q4_0_STRIXFAST/Hy4-flash-Q4_0_STRIXFAST-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
Q4_0_STRIX/Hy4-flash-Q4_0_STRIX-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
Q4_0_STRIX/Hy4-flash-Q4_0_STRIX-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
Q4_0_STRIX/Hy4-flash-Q4_0_STRIX-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00001-of-00003.gguf → Q4_0_STRIX/Hy4-flash-Q4_0_STRIX-00001-of-00003.gguf
RENAMED
|
File without changes
|
Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00002-of-00003.gguf → Q4_0_STRIX/Hy4-flash-Q4_0_STRIX-00002-of-00003.gguf
RENAMED
|
File without changes
|
Q4_0_ROCMFPX_STRIX/Hy4-flash-Q4_0_ROCMFPX_STRIX-00003-of-00003.gguf → Q4_0_STRIX/Hy4-flash-Q4_0_STRIX-00003-of-00003.gguf
RENAMED
|
File without changes
|
Q4_0_ROCMFPX_FAST/Hy4-flash-Q4_0_ROCMFPX_FAST-00001-of-00003.gguf → Q4_0_STRIXFAST/Hy4-flash-Q4_0_STRIXFAST-00001-of-00003.gguf
RENAMED
|
File without changes
|
Q4_0_ROCMFPX_FAST/Hy4-flash-Q4_0_ROCMFPX_FAST-00002-of-00003.gguf → Q4_0_STRIXFAST/Hy4-flash-Q4_0_STRIXFAST-00002-of-00003.gguf
RENAMED
|
File without changes
|
Q4_0_ROCMFPX_FAST/Hy4-flash-Q4_0_ROCMFPX_FAST-00003-of-00003.gguf → Q4_0_STRIXFAST/Hy4-flash-Q4_0_STRIXFAST-00003-of-00003.gguf
RENAMED
|
File without changes
|
README.md
CHANGED
|
@@ -29,8 +29,8 @@ Hy4-flash: 220B parameters in total, of which 64B are the Engram lookup table, 1
|
|
| 29 |
|
| 30 |
| File | Weights | GPU part | Engram table (CPU / SSD) | Target |
|
| 31 |
|---|---|---|---|---|
|
| 32 |
-
| `
|
| 33 |
-
| `
|
| 34 |
|
| 35 |
Each folder holds a split GGUF (parts of at most 45 GB). Point llama.cpp at the `-00001-of-` file.
|
| 36 |
|
|
@@ -48,7 +48,7 @@ Hy4-flash support (architecture `hy_v4_flash`, with ROCmFPX tensor scales) is in
|
|
| 48 |
branch `hy4-flash`. Build it with Vulkan or ROCm/HIP, then for example:
|
| 49 |
|
| 50 |
```
|
| 51 |
-
llama-server -m
|
| 52 |
-ngl 99 -ot "per_layer_token_embd=CPU" -c 65536 --jinja \
|
| 53 |
--chat-template-kwargs '{"reasoning_effort":"no_think"}'
|
| 54 |
```
|
|
|
|
| 29 |
|
| 30 |
| File | Weights | GPU part | Engram table (CPU / SSD) | Target |
|
| 31 |
|---|---|---|---|---|
|
| 32 |
+
| `Q4_0_STRIX/` | experts Q4_0_ROCMFP4, everything else Q8_0_ROCMFPX | 84.7 GiB | Q4_0, 33 GiB | Strix Halo 128 GB (recommended) |
|
| 33 |
+
| `Q4_0_STRIXFAST/` | experts Q4_0_ROCMFP4_FAST (faster kernel), rest Q8_0_ROCMFPX | 80.4 GiB | Q4_0, 33 GiB | Strix Halo 128 GB, speed pick |
|
| 34 |
|
| 35 |
Each folder holds a split GGUF (parts of at most 45 GB). Point llama.cpp at the `-00001-of-` file.
|
| 36 |
|
|
|
|
| 48 |
branch `hy4-flash`. Build it with Vulkan or ROCm/HIP, then for example:
|
| 49 |
|
| 50 |
```
|
| 51 |
+
llama-server -m Q4_0_STRIX/Hy4-flash-Q4_0_STRIX-00001-of-00003.gguf \
|
| 52 |
-ngl 99 -ot "per_layer_token_embd=CPU" -c 65536 --jinja \
|
| 53 |
--chat-template-kwargs '{"reasoning_effort":"no_think"}'
|
| 54 |
```
|