Instructions to use kingjones777/Granite-4.1-8B-ROCmFP4-GGUF 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 kingjones777/Granite-4.1-8B-ROCmFP4-GGUF 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 kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/Granite-4.1-8B-ROCmFP4-GGUF: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 kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./llama-cli -hf kingjones777/Granite-4.1-8B-ROCmFP4-GGUF: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 kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama-cli -hf kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP
Use Docker
docker model run hf.co/kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP
- LM Studio
- Jan
- vLLM
How to use kingjones777/Granite-4.1-8B-ROCmFP4-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kingjones777/Granite-4.1-8B-ROCmFP4-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kingjones777/Granite-4.1-8B-ROCmFP4-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP
- Ollama
How to use kingjones777/Granite-4.1-8B-ROCmFP4-GGUF with Ollama:
ollama run hf.co/kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP
- Unsloth Studio
How to use kingjones777/Granite-4.1-8B-ROCmFP4-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kingjones777/Granite-4.1-8B-ROCmFP4-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kingjones777/Granite-4.1-8B-ROCmFP4-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kingjones777/Granite-4.1-8B-ROCmFP4-GGUF to start chatting
- Pi
How to use kingjones777/Granite-4.1-8B-ROCmFP4-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kingjones777/Granite-4.1-8B-ROCmFP4-GGUF with Docker Model Runner:
docker model run hf.co/kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP
- Lemonade
How to use kingjones777/Granite-4.1-8B-ROCmFP4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.Granite-4.1-8B-ROCmFP4-GGUF-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use kingjones777/Granite-4.1-8B-ROCmFP4-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kingjones777/Granite-4.1-8B-ROCmFP4-GGUF: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 kingjones777/Granite-4.1-8B-ROCmFP4-GGUF:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kingjones777/Granite-4.1-8B-ROCmFP4-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kingjones777/Granite-4.1-8B-ROCmFP4-GGUF: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 "kingjones777/Granite-4.1-8B-ROCmFP4-GGUF: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"
โ ๏ธ STOCK
llama.cppWILL NOT LOAD THIS MODEL๐ 39.90 tok/s โ ~13% faster than Q4_K_M, ranges disjoint by a wide margin.
Granite-4.1-8B โ ROCmFP4 (tier 102 COHERENT) GGUF
A 4-bit ROCmFP4 quantization for AMD gfx1151 (Ryzen AI MAX+ 395 / Strix Halo), quantized from BF16 GGUF โ a lossless source, not a requantization of a lower-bit build.
| File | granite-4.1-8b-Q4_0_ROCMFP4_COHERENT.gguf |
| Size | 5.162 GB |
| BPW | 4.69 |
| ftype | Q4_0_ROCMFP4_COHERENT (102) |
โ Requires a llama.cpp with the ROCmFP4 quant types
Q4_0_ROCMFP4_COHERENT (ftype 102) exists only in
charlie12345/ROCmFPX, not upstream llama.cpp.
Ignore the auto-generated "Use this model" commands above.
Measured
Ryzen AI MAX+ 395 (gfx1151, 128 GB unified, ROCm 7.2.4). Median of 3+, warm-up discarded, otherwise-idle box. Correctness at the model's official sampling.
| build | size | decode (median) | range |
|---|---|---|---|
| this build | 5.162 GB | 39.90 | [39.87 โ 39.93] |
| Q4_K_M | 5.348 GB | 35.27 | [35.22 โ 35.28] |
~13% faster, ranges disjoint (39.87 min vs 35.28 max). Also 3.5% smaller.
Correctness: 17ร23 โ โ
391 ยท capital of Japan โ โ
Tokyo ยท days in 2024 โ โ
366
Per-tensor types (audited in the finished file)
token_embd Q6_K ยท norms F32 ยท bulk Q4_0_ROCMFP4 (type 100)
granite is dense โ no SSM/MoE state to protect.
What was NOT measured
- No perplexity run, and no quality A/B against the baseline or the source. The checks above are memorized-fact prompts โ necessary but not sufficient; a damaged model can pass them.
- No long-context testing.
- No tool-calling evaluation.
Base model licence inherited; credit for the model goes to its authors.
- Downloads last month
- 112
4-bit
Model tree for kingjones777/Granite-4.1-8B-ROCmFP4-GGUF
Base model
ibm-granite/granite-4.1-8b