Instructions to use Harsha001/flint-v1.1-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/flint-v1.1-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/flint-v1.1-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf Harsha001/flint-v1.1-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/flint-v1.1-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf Harsha001/flint-v1.1-ROCmFPX:Q4_0_ROCMFP
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/flint-v1.1-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama cli -hf Harsha001/flint-v1.1-ROCmFPX:Q4_0_ROCMFP
Use Docker
docker model run hf.co/Harsha001/flint-v1.1-ROCmFPX:Q4_0_ROCMFP
- Llama new
- LM Studio
- Jan
- vLLM
How to use Harsha001/flint-v1.1-ROCmFPX with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Harsha001/flint-v1.1-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/flint-v1.1-ROCmFPX", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Harsha001/flint-v1.1-ROCmFPX:Q4_0_ROCMFP
- Ollama
How to use Harsha001/flint-v1.1-ROCmFPX with Ollama:
ollama run hf.co/Harsha001/flint-v1.1-ROCmFPX:Q4_0_ROCMFP
- Unsloth Desktop
- Pi
How to use Harsha001/flint-v1.1-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/flint-v1.1-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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Harsha001/flint-v1.1-ROCmFPX:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Harsha001/flint-v1.1-ROCmFPX with Docker Model Runner:
docker model run hf.co/Harsha001/flint-v1.1-ROCmFPX:Q4_0_ROCMFP
- Lemonade
How to use Harsha001/flint-v1.1-ROCmFPX with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Harsha001/flint-v1.1-ROCmFPX:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.flint-v1.1-ROCmFPX-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use Harsha001/flint-v1.1-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/flint-v1.1-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:9931/v1 hermes config set model.default Harsha001/flint-v1.1-ROCmFPX:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Harsha001/flint-v1.1-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/flint-v1.1-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:9931/v1 \ --custom-model-id "Harsha001/flint-v1.1-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"
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Harsha001/flint-v1.1-ROCmFPX:# Run inference directly in the terminal:
llama cli -hf Harsha001/flint-v1.1-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 Harsha001/flint-v1.1-ROCmFPX:# Run inference directly in the terminal:
./build/bin/llama cli -hf Harsha001/flint-v1.1-ROCmFPX:Use Docker
docker model run hf.co/Harsha001/flint-v1.1-ROCmFPX:Flint 1.1, ROCmFPX GGUF
RecursiveSI/flint-v1.1 is Recursive's updated 39.8B mixture-of-experts model for coding agents (256 experts, 6 active, about 2.5B active parameters per token). This repo has it quantized for the ROCmFPX llama.cpp fork, which adds low-bit weight types for AMD GPUs (Vulkan and HIP/ROCm). The files for the first Flint are in Harsha001/flint-ROCmFPX.
These files need HarshaVardhan3002/ROCmFPX (they were made and checked with the
qwen4branch). Stock llama.cpp, LM Studio and Ollama will not load them. These files were checked on the CPU only and have not been tested on AMD GPUs yet.Not an official release of Recursive. All credit for the model goes to its authors.
Files
| File | Size | KL divergence vs BF16 (lower is better) | Same top token as BF16 | Perplexity |
|---|---|---|---|---|
flint-v1.1-Q8_0_ROCMFPX.gguf |
41.1 GB | 0.256 | 88.0% | 84.87 |
flint-v1.1-Q6_K_ROCMFPX.gguf |
32.8 GB | 0.338 | 85.8% | 85.69 |
flint-v1.1-Q4_0_ROCMFP4_Q8BASE.gguf |
23.3 GB | 0.568 | 79.5% | 85.73 |
For comparison, stock llama.cpp quants of the same model, made with the same importance matrix and scored the same
way (not uploaded): Q8_0 42.4 GB, 0.282 (87.1%); Q4_K_M 24.2 GB, 0.752 (74.8%).
- Q4 is the one to start with on 32-64 GB machines. It is clearly closer to BF16 than stock
Q4_K_M(0.568 vs 0.752) and 0.9 GB smaller. - Q8 is closer to BF16 than stock
Q8_0(0.256 vs 0.282) and 1.2 GB smaller. Q6 sits between. - Measured on: 40 chunks of 512 tokens of WikiText-2, against the BF16 GGUF, CPU. BF16 perplexity is 84.70.
- Why the numbers are high: Flint 1.1 is much less sure of itself on plain encyclopedia text than the first Flint (perplexity 84.7 instead of 19.1), and KL divergence grows with that uncertainty, for stock quants as much as for these. The model code, config and chat template of 1.1 are the same as in 1.0, and so is the conversion. Compare rows inside this table, not with the first Flint's card.
- Checks: every file was asked three questions with greedy decoding: the three largest cities in Germany, a Python
merge_sorted(a, b)function, and a bash one-liner counting the lines of all.pyfiles. All three files gave correct, coherent answers (output capped at 400 tokens) with normal thinking before the answer. - Q6 file name: the expert weights are
Q6_0_ROCMFPX, not stockQ6_K. The name usesQ6_Kso the Hub's hardware panel lists the file.
What is in each file
Flint's routed experts hold about 95% of the weights. The rest (attention, the shared expert, the two dense layers at the start and the output layer) is small but sensitive, so every file keeps it at 8-bit.
| File | Routed experts | Everything else | Token embedding | Output |
|---|---|---|---|---|
| Q8 | Q8_0_ROCMFPX |
Q8_0_ROCMFPX |
Q8_0 |
Q8_0 |
| Q6 | Q6_0_ROCMFPX |
Q8_0_ROCMFPX |
Q6_K |
Q8_0 |
| Q4 | Q4_0_ROCMFP4 |
Q8_0_ROCMFPX |
Q6_K |
Q8_0 |
All files were made with LLAMA_ROCMFPX_TENSOR_SCALE=1. Flint's weights are very small, and without this the fixed
smallest step of the ROCmFPX block scale destroys much of their precision. The option multiplies each weight tensor
(each expert, for expert tensors) by a power of two before quantizing and stores the inverse as a small .scale
tensor that the runtime applies. No setting is needed to run the files.
How these were made
convert_hf_to_gguf.py --outtype bf16from the source revisiondb1fdc0f.- Importance matrix: 64 chunks of 2048 tokens of agentic and tool-calling chats rendered with Flint's own chat
template (computed on a temporary stock
Q8_0copy, since BF16 is too slow on the CPU). llama-quantize --imatrixfrom the BF16 file with the types in the table above.
Run
git clone -b qwen4 https://github.com/HarshaVardhan3002/ROCmFPX && cd ROCmFPX
cmake -B build -DGGML_VULKAN=ON # or -DGGML_HIP=ON -DAMDGPU_TARGETS=gfx1151 (gfx1100 for RX 7900)
cmake --build build --target llama-server -j
build/bin/llama-server -m flint-v1.1-Q4_0_ROCMFP4_Q8BASE.gguf -ngl 999 -fa on --jinja --temp 1.0 --top-p 0.95 --top-k 20
Sampling settings are the ones Recursive used for its evaluations.
License
Apache-2.0, same as the base model. See LICENSE.
- Downloads last month
- 1,982
4-bit
6-bit
8-bit
Model tree for Harsha001/flint-v1.1-ROCmFPX
Base model
RecursiveSI/flint-v1.1
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf Harsha001/flint-v1.1-ROCmFPX:# Run inference directly in the terminal: llama cli -hf Harsha001/flint-v1.1-ROCmFPX: