Instructions to use iRunStudio/Katana-1B-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 iRunStudio/Katana-1B-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 iRunStudio/Katana-1B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf iRunStudio/Katana-1B-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 iRunStudio/Katana-1B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf iRunStudio/Katana-1B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf iRunStudio/Katana-1B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf iRunStudio/Katana-1B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/iRunStudio/Katana-1B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use iRunStudio/Katana-1B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "iRunStudio/Katana-1B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "iRunStudio/Katana-1B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/iRunStudio/Katana-1B-GGUF:Q4_K_M
- Ollama
How to use iRunStudio/Katana-1B-GGUF with Ollama:
ollama run hf.co/iRunStudio/Katana-1B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use iRunStudio/Katana-1B-GGUF with Docker Model Runner:
docker model run hf.co/iRunStudio/Katana-1B-GGUF:Q4_K_M
- Lemonade
How to use iRunStudio/Katana-1B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull iRunStudio/Katana-1B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Katana-1B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Katana 1B β GGUF Quantized Weights
GGUF quantized builds of OpenBlade/Katana-1B (v0.1.0, step 701,000, 4,096 context window), packaged by iRun Studio (www.irun.studio) for local GPU/Metal inference.
Base Model & Full Model Card: See OpenBlade/Katana-1B for full architecture specs, benchmarks, training curves, and porting notes.
Available Quantizations
| File | Quantization | Size | Notes |
|---|---|---|---|
katana-1b-Q8_0.gguf |
Q8_0 (8-bit) |
1.21 GiB |
Near-lossless quality |
katana-1b-Q6_K.gguf |
Q6_K (6-bit K-quant) |
961 MiB |
High fidelity / balanced size |
katana-1b-Q4_K_M.gguf |
Q4_K_M (4-bit K-quant Medium) |
744 MiB |
Recommended for edge / macOS / iOS |
katana-1b-Q2_K.gguf |
Q2_K (2-bit K-quant) |
489 MiB |
Ultra-compact / lowest RAM footprint |
Running Locally
Katana 1B uses the custom fuser architecture (ctx_gate, GaussianMod, theta^2 RoPE base, and BPE prefix-space handling). Run with the OpenBlade patched llama.cpp build (see the integrations guide) or iRun Studio on Apple Silicon:
./build/bin/llama-cli \
-m katana-1b-Q4_K_M.gguf \
-c 4096 -ngl 99 \
-p "The area of a circle is" \
-n 128 --temp 0.6 --top-k 40
Note: This is a base foundation model (autocompletion / continuation, not instruction-tuned yet).
Links & Credits
- Original Model: huggingface.co/OpenBlade/Katana-1B
- OpenBlade Lab: www.openblade.org
- iRun Studio: www.irun.studio
- License: Apache License 2.0 (see
LICENSE)
- Downloads last month
- -
2-bit
4-bit
6-bit
8-bit
Model tree for iRunStudio/Katana-1B-GGUF
Base model
OpenBlade/Katana-1B