Instructions to use a4lg/Step-3.7-Flash-MTP-ONLY-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use a4lg/Step-3.7-Flash-MTP-ONLY-GGUF with 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 a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
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 a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
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 a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
Use Docker
docker model run hf.co/a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use a4lg/Step-3.7-Flash-MTP-ONLY-GGUF with Ollama:
ollama run hf.co/a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
- Unsloth Studio
How to use a4lg/Step-3.7-Flash-MTP-ONLY-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for a4lg/Step-3.7-Flash-MTP-ONLY-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for a4lg/Step-3.7-Flash-MTP-ONLY-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for a4lg/Step-3.7-Flash-MTP-ONLY-GGUF to start chatting
- Pi
How to use a4lg/Step-3.7-Flash-MTP-ONLY-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use a4lg/Step-3.7-Flash-MTP-ONLY-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use a4lg/Step-3.7-Flash-MTP-ONLY-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use a4lg/Step-3.7-Flash-MTP-ONLY-GGUF with Docker Model Runner:
docker model run hf.co/a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
- Lemonade
How to use a4lg/Step-3.7-Flash-MTP-ONLY-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull a4lg/Step-3.7-Flash-MTP-ONLY-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Step-3.7-Flash-MTP-ONLY-GGUF-Q4_K_M
List all available models
lemonade list
MTP-only GGUF subset of Step-3.7-Flash
This is a supplement for Step-3.7-Flash-based quants without MTP tensors.
This repository contains an MTP-only subset of stepfun-ai/Step-3.7-Flash which provides the draft model for speculative decoding in the GGUF format.
It accelerates token generation using speculative decoding with the draft model from the original Step-3.7-Flash model. In most cases, this is sufficient to accelerate derivative models even if this draft model is not trained from them.
Note that however, the performance metrics heavily depend on the derivative model you use, your machine and your MTP settings.
Benchmark it before blindly trusting it.
Using this Model
As grafting MTP tensors into an existing GGUF file is not easy, I describe how to use this model as a separate draft model file.
It is easier than grafting but memory-inefficient as it does not share some tensors with the original model.
If you use llama-server, you may configure like this:
llama-server \
--model Step-3.7-Flash-IQ4_NL.gguf \
--model-draft Step-3.7-Flash-MTP-ONLY-Q4_K_M.gguf \
... \
--spec-type draft-mtp
--spec-draft-n-max 2
--model specifies the original Step-3.7-Flash-based quant and
new --model-draft specifies a file from this repository.
You also need --spec-type draft-mtp to enable the draft model.
Once the draft model is enabled, you may configure the rest of MTP options
as you like (in this example, custom --spec-draft-n-max is specified).
Additional Quantization (Q4_K_M, Q5_K_M, Q6_K and Q8_0)
Quantized GGUF files are provided so that deploying the draft model easier.
As no Unsloth MTP quants for Step-3.7-Flash is released,
tensor types are automatically chosen by llama-quantize.
It is not required to match the quantization level.
For instance, you may pair Q6_K-quantized draft model with
the IQ4_NL-quantized main model.
Conversion Process
- Tools: llama.cpp (b9851)
- With: Patched
conversion/base.py- The
ifblock right after# verify tensor name presence and identify potentially missing filesis commented out. - Handle
chkhsh == "5841594bd6a8eeecd7207aeec6570831cc97ffaeba51e908bdaf560113177bae"case asdeepseek-v3.
- The
The first modification is performed because the author of this repository
downloaded only a subset of the full Step model while the original
convert_hf_to_gguf.py expects the full model.
The second modification is because convert_hf_to_gguf.py does not support
Step-3.7-Flash pre-tokenizer.
The --mtp option of convert_hf_to_gguf.py is the crucial part of this
conversion process because this option does exactly what the author expects:
create an MTP-only GGUF subset.
For additional quantization, the llama-quantize tool (llama.cpp)
is used without options.
License and Copyright
For all GGUF files under this repository, the license terms of the original Step-3.7-Flash model (Apache License version 2.0) applies (as the author of this repository did not perform any changes significant enough for own copyright):
© 2026 StepFun.
Note: No copyright notice found on the original model repository. the notice is borrowed partially from their official blog post at https://static.stepfun.com/blog/step-3.7-flash/.
No NOTICE files are attached in the original model.
This README file is licensed under the terms of CC-BY-4.0.
Copyright 2026 a4lg.
Links: Sources
- The Original Model: stepfun-ai/Step-3.7-Flash
- Downloads last month
- 1,205
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for a4lg/Step-3.7-Flash-MTP-ONLY-GGUF
Base model
stepfun-ai/Step-3.7-Flash