Instructions to use Harsha001/Nanbeige4.3-33B-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/Nanbeige4.3-33B-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/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf Harsha001/Nanbeige4.3-33B-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 Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf Harsha001/Nanbeige4.3-33B-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 Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: ./llama-cli -hf Harsha001/Nanbeige4.3-33B-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 Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama-cli -hf Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP
Use Docker
docker model run hf.co/Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP
- Llama new
- LM Studio
- Jan
- vLLM
How to use Harsha001/Nanbeige4.3-33B-ROCmFPX with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Harsha001/Nanbeige4.3-33B-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/Nanbeige4.3-33B-ROCmFPX", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP
- Ollama
How to use Harsha001/Nanbeige4.3-33B-ROCmFPX with Ollama:
ollama run hf.co/Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP
- Unsloth Desktop
- Pi
How to use Harsha001/Nanbeige4.3-33B-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/Nanbeige4.3-33B-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": "Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Harsha001/Nanbeige4.3-33B-ROCmFPX with Docker Model Runner:
docker model run hf.co/Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP
- Lemonade
How to use Harsha001/Nanbeige4.3-33B-ROCmFPX with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.Nanbeige4.3-33B-ROCmFPX-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use Harsha001/Nanbeige4.3-33B-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/Nanbeige4.3-33B-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 Harsha001/Nanbeige4.3-33B-ROCmFPX:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Harsha001/Nanbeige4.3-33B-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/Nanbeige4.3-33B-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 "Harsha001/Nanbeige4.3-33B-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"
DeepSeek V4.1 Flash 1017 (GSQ-RCO)
Hi bro,
I can see that you provide various models versions for AMD machines. There is:
https://huggingface.co/ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF
Can you do anything like this, but for ROCm architecture?
Hey,
Thanks for reaching out! I'm already actively working on this. I recently updated my RocmFPX fork to support this workflow, and I'm aiming to get the quant ready within the next 2–3 days.
However, I can't guarantee a release yet, as it needs to meet a certain performance threshold before I publish it.
If everything works out, DeepSeek V4.1 Flash will be the first, followed by similar quantizations for other models.
I'll share an update once I have results.
Hey,
I've added two models with smaller quants. Please test them on your hardware and report back with the TPS (tokens per second) and output quality.
I've included the DeepSeek V4.1 Flash checkpoint you requested, along with MiniMax M3.1-Flash.
Looking forward to seeing your results!
Of course, will try! Btw. if there is 97gb in RAM and rest in SSD, what will happen if you'll do IQ4_XXS version? I do not know the logic behind this division and how the engine works, so just asking :D
And about benchmarking, I use it for local projects, so I'll have to setup sth, some auto tests, it may take a while (probably 2-3 weeks).
And you mention perplexity only, is it possible to do some benchmarking? Or I can do it (if you have some suggestions <3)
And is this GSQ-RCO quantization possible to do? Because it seems they managed to do it super efficiently, so do you base on their quants? Maybe you can add this to the model name ("Harsha001/DeepSeek-V4.1-Flash-1017-StrixHalo-GGUF" -> "Harsha001/DeepSeek-V4.1-Flash-1017-GSQ-RCO-StrixHalo-GGUF"). PS. I think you can write "ROCm" instead of "StrixHalo", or keep both, so final will be quite long, but eh "Harsha001/DeepSeek-V4.1-Flash-1017-GSQ-RCO-StrixHalo-ROCmFPX-GGUF"
@Arkovski Thanks a lot, and no rush on the tests! Answers in order:
1. IQ4 and the RAM/SSD split. Only the Engram table lives on the SSD. It is a lookup table, so each token reads just a few small rows from it, and the SSD handles that easily. The ~97 GB part is different: it's the attention layers plus the experts, and the GPU computes with them on every token, so they have to sit in memory.
At about 4.25 bits per weight (IQ4_XS; there is no IQ4_XXS type), all 384 experts come to roughly 275 GB. Only about 128 of the 384 experts per layer would fit in 97 GB, and cutting two thirds of the experts hurts quality much more than going down to ~2 bits. That's why the builds keep many experts at low bits instead.
You could also stream the experts from the SSD. Each token uses 6 experts per layer, about 4.5 GB of reads per token at 4 bits, so even a fast NVMe would give around 1 token per second or less.
2. Benchmarking. 2–3 weeks is totally fine. Even quick numbers before that would help a lot:llama-bench -m <first shard> -ngl 99 -p 512 -n 128 (add -d 8192 for speed at longer context), plus how much memory it uses.
3. Real benchmarks. Agreed, perplexity is only a first check. We're now running GSM8K (math word problems) on both DeepSeek and MiniMax on our side and will put the scores on the model cards. For your own runs, an easy route: start llama-server and point lm-evaluation-harness at it, for examplelm_eval --model local-chat-completions --model_args model=ds,base_url=http://localhost:8080/v1/chat/completions --tasks gsm8k_cot --apply_chat_template --limit 200.
Tasks from your own projects are the most useful signal, though: same prompts, compared against the full model through an API.
4. GSQ-RCO. Yes, the DeepSeek build is based on IST-DASLab's GSQ-RCO release. Their quantized experts are copied unchanged; we chose which experts to keep (REAP ranking) and repackaged it to fit 128 GB. The card credits them. Running GSQ-RCO ourselves needs the full-precision model and a lot of GPU time; our own low-bit formats in that direction for AMD are the next step. The MiniMax build is based on Unsloth's UD quants, not GSQ-RCO.
On the name: done, it's now Harsha001/DeepSeek-V4.1-Flash-1017-GSQ-RCO-StrixHalo-GGUF (the old link redirects). I left out "ROCm"/"ROCmFPX", because these files use standard llama.cpp types and run on Vulkan, ROCm, CUDA and CPU. "Strix Halo" only means "sized to fit 128 GB". MiniMax is here: Harsha001/MiniMax-M3.1-Flash-StrixHalo-GGUF.