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 qwen4 branch). 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 .py files. 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 stock Q6_K. The name uses Q6_K so 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

  1. convert_hf_to_gguf.py --outtype bf16 from the source revision db1fdc0f.
  2. 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_0 copy, since BF16 is too slow on the CPU).
  3. llama-quantize --imatrix from 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
GGUF
Model size
40B params
Architecture
flint
Hardware compatibility
Log In to add your hardware

4-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Harsha001/flint-v1.1-ROCmFPX

Quantized
(40)
this model

Collection including Harsha001/flint-v1.1-ROCmFPX