Instructions to use 1bit-MONSTER/Mamba-370M-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 1bit-MONSTER/Mamba-370M-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 1bit-MONSTER/Mamba-370M-GGUF:F16 # Run inference directly in the terminal: llama cli -hf 1bit-MONSTER/Mamba-370M-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf 1bit-MONSTER/Mamba-370M-GGUF:F16 # Run inference directly in the terminal: llama cli -hf 1bit-MONSTER/Mamba-370M-GGUF:F16
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 1bit-MONSTER/Mamba-370M-GGUF:F16 # Run inference directly in the terminal: ./llama-cli -hf 1bit-MONSTER/Mamba-370M-GGUF:F16
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 1bit-MONSTER/Mamba-370M-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf 1bit-MONSTER/Mamba-370M-GGUF:F16
Use Docker
docker model run hf.co/1bit-MONSTER/Mamba-370M-GGUF:F16
- LM Studio
- Jan
- Ollama
How to use 1bit-MONSTER/Mamba-370M-GGUF with Ollama:
ollama run hf.co/1bit-MONSTER/Mamba-370M-GGUF:F16
- Unsloth Desktop
- Docker Model Runner
How to use 1bit-MONSTER/Mamba-370M-GGUF with Docker Model Runner:
docker model run hf.co/1bit-MONSTER/Mamba-370M-GGUF:F16
- Lemonade
How to use 1bit-MONSTER/Mamba-370M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull 1bit-MONSTER/Mamba-370M-GGUF:F16
Run and chat with the model
lemonade run user.Mamba-370M-GGUF-F16
List all available models
lemonade list
- Atomic Chat
Mamba-370M โ GGUF
GGUF conversion of Zyphra's Mamba-370M
(pure Mamba-1, no attention/MoE), included in the
1bit engine's architecture showcase as the
reference case for our Vulkan Mamba-1 SSM_SCAN fix.
Contents
mamba-370m-f16.gguf
The Vulkan fix
Vulkan's Mamba-1 SSM_SCAN kernel had a correctness/performance gap that capped decode
speed hard. Fixing it took this model from 25.8 tok/s to 173.5 tok/s on Strix Halo โ
this repo exists mainly to document and reproduce that number on real hardware.
Measured performance (Strix Halo, Vulkan, F16, this checkpoint)
pp512: 6530 tok/s ยท tg128: 163 tok/s
Running it
1bit serve -m mamba-370m-f16.gguf --device vulkan
Attribution
- Base model: Zyphra/Mamba-370M, Apache 2.0.
- GGUF conversion and the Vulkan
SSM_SCANfix: this project's engine team. - License: Apache 2.0, inherited from the base model.
- Downloads last month
- 102
Hardware compatibility
Log In to add your hardware
16-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for 1bit-MONSTER/Mamba-370M-GGUF
Base model
Zyphra/Mamba-370M