How to use from
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 JackBinary/Laguna-S-2.1-GGUF-ROCMFPX:Q8_0_ROCMFPX
# Run inference directly in the terminal:
llama cli -hf JackBinary/Laguna-S-2.1-GGUF-ROCMFPX:Q8_0_ROCMFPX
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf JackBinary/Laguna-S-2.1-GGUF-ROCMFPX:Q8_0_ROCMFPX
# Run inference directly in the terminal:
llama cli -hf JackBinary/Laguna-S-2.1-GGUF-ROCMFPX:Q8_0_ROCMFPX
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 JackBinary/Laguna-S-2.1-GGUF-ROCMFPX:Q8_0_ROCMFPX
# Run inference directly in the terminal:
./llama-cli -hf JackBinary/Laguna-S-2.1-GGUF-ROCMFPX:Q8_0_ROCMFPX
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 JackBinary/Laguna-S-2.1-GGUF-ROCMFPX:Q8_0_ROCMFPX
# Run inference directly in the terminal:
./build/bin/llama-cli -hf JackBinary/Laguna-S-2.1-GGUF-ROCMFPX:Q8_0_ROCMFPX
Use Docker
docker model run hf.co/JackBinary/Laguna-S-2.1-GGUF-ROCMFPX:Q8_0_ROCMFPX
Quick Links

Laguna-S-2.1 β€” ROCmFPX hybrid quant (Q4 experts + Q8 rest)

This is a quantization of unsloth/Laguna-S-2.1-GGUF (BF16) (the original model is Poolside's Laguna S 2.1, a 118B-total / 8B-activated MoE with 256 routed experts).

You need the ROCmFPX fork of llama.cpp (or a llama.cpp build with ROCmFPX support). This file uses the experimental q4_0_rocmfp4_fast (type 101) and q8_0_rocmfpx (type 103) weight formats, which stock llama.cpp releases do not understand β€” loading it elsewhere will fail with an unknown tensor type error.

Recipe

Tensor group Type Count
Routed experts: blk.N.ffn_{gate,up,down}_exps q4_0_rocmfp4_fast (4.25 bpw) 141
Everything else quantizable (attention, shared experts, embeddings, output head) q8_0_rocmfpx (8.25 bpw) 386
Norms, biases, router weights/scales f32 (untouched) 287
  • Total size: ~61.6 GB (4.39 bpw) vs 224 GB BF16 source β€” single merged file, no shards
  • Rationale: routed experts dominate parameters (~97%) and tolerate 4-bit well; everything else stays near-lossless at 8-bit.

How it was made

# from the ROCmFPX fork (CPU-only build works fine for quantization)
llama-quantize \
  --tensor-type "ffn_(gate|up|down)_exps=q4_0_rocmfp4_fast" \
  Laguna-S-2.1-BF16-00001-of-00005.gguf \
  Laguna-S-2.1-Q8_0_ROCMFPX-Q4FAST-experts.gguf Q8_0_ROCMFPX
# then merged from 5 shards: llama-gguf-split --merge ...

Note the leading dense layer (blk.0) keeps its dense FFN at q8_0_rocmfpx β€” only the routed expert tensors were overridden.

Usage

# build ROCmFPX for your GPU (see the repo README; e.g. Strix Halo):
env JOBS=16 scripts/build-strix-rocmfp4-mtp.sh

# run (Vulkan was fastest in upstream tests on Strix Halo):
./build-strix-rocmfp4/bin/llama-cli \
  -m Laguna-S-2.1-Q8_0_ROCMFPX-Q4FAST-experts.gguf \
  -dev Vulkan0 -ngl 999 -fa on --jinja

Benchmarks

Benchmarks are pending β€” placeholder table below.

Backend / GPU Prompt (tok/s) Generation (tok/s) Context Notes
TBD TBD TBD TBD TBD

Quality comparison vs BF16 source (perplexity / KLD): TBD.

Attribution & license

Downloads last month
47
GGUF
Model size
118B params
Architecture
laguna
Hardware compatibility
Log In to add your hardware

8-bit

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

Model tree for JackBinary/Laguna-S-2.1-GGUF-ROCMFPX

Quantized
(2)
this model

Collection including JackBinary/Laguna-S-2.1-GGUF-ROCMFPX