Downloads · 30 days
770
14% of all-time downloads
Akahsizrr/fuse-1-Lite-GGUF
fuse-1-Lite-GGUF is a machine learning model from Akahsizrr. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Full llama.cpp support for Fuse3 (fuse-1 Lite) — LFM2 host + Qwen3.6 coding experts.
Downloads · 30 days
770
14% of all-time downloads
All-time downloads
5.6K
Public
Repo size
252 GB
Likes
17
Public
Click a slice to open those files.
.gguf18.2 GB · 100%
From the Hugging Face model README
Full llama.cpp support for Fuse3 (fuse-1 Lite) — LFM2 host + Qwen3.6 coding experts.
| File | Purpose |
|---|---|
fuse3.cpp | C++ graph builder (place in src/models/) |
fuse3.h | C++ header (place in src/models/) |
fuse3_converter.py | Python GGUF converter (place in conversion/) |
export_gguf.py | Standalone GGUF exporter (no llama.cpp fork needed to create GGUF) |
INTEGRATION.md | Step-by-step patches for llama.cpp source files |
pip install gguf safetensors torch
python export_gguf.py --model-dir /path/to/fuse-1-Lite --output fuse-1-Lite-f16.gguf --outtype f16
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
# Apply patches (see INTEGRATION.md)
# Copy fuse3.cpp and fuse3.h to src/models/
# Copy fuse3_converter.py to conversion/
# Modify src/llama-arch.h, src/llama-arch.cpp, src/llama-model.cpp, src/CMakeLists.txt
# Build
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release
./build/bin/llama-cli \
-m fuse-1-Lite-f16.gguf \
-p "Write a Python function to check if a number is prime." \
-n 512 --temp 0.1
Fuse3 extends llama.cpp's native LFM2 implementation:
Lfm2AttentionDecoderLayer) and short-conv (Lfm2ShortConvDecoderLayer) graph builderssqrtsoftplus(x @ router_weight) → top-k selection → normalizesoftplus(expert_scale) clamped to 0.1host_output + scale * expert_outputtoken_embd.weight, token_embd_norm.weight, output.weightblk.{i}.attn_norm.weight, blk.{i}.attn_q/k/v.weight, blk.{i}.attn_output.weightblk.{i}.attn_q_norm.weight, blk.{i}.attn_k_norm.weightblk.{i}.ffn_norm.weight, blk.{i}.ffn_gate/up/down.weightblk.{i}.shortconv_conv/inproj/outproj.weightblk.{i}.fuse3_router.weight — {n_embd, n_exp} router gateblk.{i}.fuse3_expert_scale.weight — {1} learned scale parameterblk.{i}.fuse3_experts.gate.weight — {n_embd, n_ff_exp, n_exp} stacked expert gatesblk.{i}.fuse3_experts.up.weight — {n_embd, n_ff_exp, n_exp} stacked expert up projectionsblk.{i}.fuse3_experts.down.weight — {n_ff_exp, n_embd, n_exp} stacked expert down projectionsfuse3.augmented_layers — array of layer indices with expertsfuse3.expert_counts — per-layer expert count arrayfuse3.swiglu_limit — float, expert activation clamp (default 10.0)fuse3.expert_scale_init — float, initial scale (not used at inference)The GGUF file can be quantized using llama.cpp's standard quantization tools:
# Q4_K_M (recommended)
./build/bin/llama-quantize fuse-1-Lite-f16.gguf fuse-1-Lite-q4_k_m.gguf q4_k_m
# Q8_0
./build/bin/llama-quantize fuse-1-Lite-f16.gguf fuse-1-Lite-q8_0.gguf q8_0
Note: Only the host LFM2 weights are quantized. The expert weights are kept in f16 for quality (they're small — 512 intermediate × ~30 experts × 30 layers ≈ 200MB).