Views
No views yet
llama.cpp compilation tools.pip or uvROCmFPX fork of llama.cpp and install its conversion dependencies.1# Clone the ROCmFPX repository
2git clone https://github.com/charlie12345/ROCmFPX
3cd ROCmFPX
4
5# Install required Python packages
6pip install -r requirements.txt
7# Alternatively using uv for faster installation:
8# uv pip install -r requirements.txt --index-strategy unsafe-best-match1# Ensure huggingface-cli is installed
2pip install huggingface_hub
3
4# Download the model weights to a local directory
5huggingface-cli download Kwaipilot/KAT-Coder-V2.5-Dev --local-dir ./KAT-Coder-V2.5-Devsafetensors structure into a standard unquantized 16-bit GGUF base file using the repository's native script.1python convert_hf_to_gguf.py ./KAT-Coder-V2.5-Dev \
2 --outfile ./KAT-Coder-V2.5-Dev-bf16.gguf \
3 --outtype bf161cd ROCmFPX && git checkout main
2
3# 2. Build for Strix Halo
4env JOBS=16 scripts/build-strix-rocmfp4-mtp.shllama-quantize tool to compress the model into the optimized ROCmFPX layout. Common targets include rocmfp4 (4-bit format) or rocmfp6.
Reference: https://huggingface.co/plunderstruck/Qwen3.6-27B-MTP-ROCmFP4-GGUF (But didnt use imatrixi for now)1# General syntax: ./build/bin/llama-quantize [input_f16_gguf] [output_gguf] [quant_type]
2./build-strix-rocmfp4-mtp/bin/llama-quantize --token-embedding-type f16 --output-tensor-type q6_K KAT-Coder-V2.5-Dev-MTP-bf16.gguf KAT-Coder-V2.5-Dev-ROCmFP4-STRIX-LEAN-embedF16-headQ6.gguf Q4_0_ROCMFP4_STRIX_LEANrocmfp4 for other experimental tiers like rocmfp2 or rocmfp6 depending on your required performance-to-perplexity trade-off).1./build/bin/llama-cli \
2 -m ./KAT-Coder-V2.5-Dev-ROCmFP4-STRIX-LEAN-embedF16-headQ6.gguf \
3 -n 512 \
4 --color \
5 -p "Create a spaceship game inspired by Star Fox using vanilla Three.js and HTML."llama.cpp codebase framework.