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 tarruda/Step-3.7-Flash-GGUF:
# Run inference directly in the terminal:
llama cli -hf tarruda/Step-3.7-Flash-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf tarruda/Step-3.7-Flash-GGUF:
# Run inference directly in the terminal:
llama cli -hf tarruda/Step-3.7-Flash-GGUF:
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 tarruda/Step-3.7-Flash-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf tarruda/Step-3.7-Flash-GGUF:
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 tarruda/Step-3.7-Flash-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf tarruda/Step-3.7-Flash-GGUF:
Use Docker
docker model run hf.co/tarruda/Step-3.7-Flash-GGUF:
Quick Links

Step 3.7 Flash GGUF

My custom IQ4_XS GGUF quantization for stepfun-ai/Step-3.7-Flash

I've also modified the chat template also adds a preserve_thinking option, which preserves thinking across user turns and can improve the experience when prompt processing speed is a bottleneck.

Quant Recipes

Recipe Quant Size Default type Tensor-specific overrides
IQ4_XS 101784.88 MiB (4.34 BPW) Q6_K ffn_down_exps=iq4_xs, ffn_gate_exps=iq4_xs, ffn_up_exps=iq4_xs

Related Files

File Description
Step-3.7-Flash-MTP-Q8_0.gguf Q8_0 MTP weights
Step-3.7-Flash-mmproj-BF16.gguf BF16 multimodal projector
Step-3.7-Flash-mmproj-F16.gguf F16 multimodal projector
Step-3.7-Flash-mmproj-Q8_0.gguf Q8_0 multimodal projector

Usage

Here's an example script:

#!/bin/sh -e

model="./IQ4_XS/Step-3.7-Flash-IQ4_XS-00001-of-00004.gguf"
mmproj="./Step-3.7-Flash-mmproj-Q8_0.gguf"
mtp=./Step-3.7-Flash-MTP-Q8_0.gguf
 
ctx=262144
parallel=1

ctx_size=$((ctx * parallel))

reasoning_budget_message="...

Actually, I will stop now.

Let me provide the user with a comprehensive answer."

llama-server --no-mmap --no-warmup --model $model --mmproj $mmproj \
  --ctx-size $ctx_size -np $parallel --temp 1.0 --top-p 0.95 \
  --repeat-penalty 1.0 --presence-penalty 0.0 \
  --reasoning-budget-message "$reasoning_budget_message" \
  --reasoning-preserve \
  --spec-type draft-mtp -md $mtp --spec-draft-n-max 3 --spec-draft-p-min 0.65 \
  -ctxcp 8 --checkpoint-min-step 512 \
  --cache-ram 4096
Downloads last month
1,953
GGUF
Model size
197B params
Architecture
step35
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for tarruda/Step-3.7-Flash-GGUF

Quantized
(35)
this model