Instructions to use WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF", filename="IBM-Grok4-UltraFast-Coder-1B.Q4_K_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-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 WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-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 WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M
- Ollama
How to use WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF with Ollama:
ollama run hf.co/WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M
- Unsloth Studio new
How to use WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-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 WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-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 WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF to start chatting
- Pi new
How to use WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-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": "WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-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 WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF with Docker Model Runner:
docker model run hf.co/WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M
- Lemonade
How to use WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.IBM-Grok4-Ultra.Fast.Coder-1B-GGUF-Q4_K_M
List all available models
lemonade list
Llama-3.2-OctoThinker-iNano-1B-GGUF
Model Summary
Llama-3.2-OctoThinker-iNano-1B-GGUF is a compact GGUF release published by gss1147 for local text generation and on-device inference workflows. The repository is currently listed on Hugging Face as a GGUF model with 1B parameters and llama architecture, and includes three downloadable variants:
- Q4_K_M — 955 MB
- Q5_K_M — 1.09 GB
- F16 — 3 GB
:contentReference[oaicite:1]{index=1}
This packaging is intended for users who want a lightweight local model that can be run with GGUF-compatible runtimes such as llama.cpp, LM Studio, and related tooling. GGUF is the format used by llama.cpp for efficient local inference, and llama.cpp documentation recommends Q4_K_M as a good balance for most users, Q5_K_M for somewhat higher quality, and F16 when you want full-precision weights. :contentReference[oaicite:2]{index=2}
Available Files
Llama-3.2-OctoThinker-iNano-1B.Q4_K_M.ggufLlama-3.2-OctoThinker-iNano-1B.Q5_K_M.ggufLlama-3.2-OctoThinker-iNano-1B.f16.gguf
:contentReference[oaicite:3]{index=3}
Intended Use
This model is suited for:
- local text generation
- lightweight assistant/chat experiments
- offline inference
- CPU-friendly or lower-memory setups compared with larger models
- GGUF-based desktop applications and local inference stacks
Because this repo is distributed in GGUF format, it is aimed at inference, not at further full-precision training from these files directly. GGUF is primarily used for efficient deployment and local execution. :contentReference[oaicite:4]{index=4}
Quantization Options
Q4_K_M
A compact option intended to give a strong size-to-quality balance for everyday local inference. llama.cpp documentation describes Q4_K_M as a good balance and recommends it for most users. :contentReference[oaicite:5]{index=5}
Q5_K_M
A larger quantization that typically preserves more quality than 4-bit options while still remaining much smaller than full precision. llama.cpp documentation describes Q5_K_M as a higher-quality choice. :contentReference[oaicite:6]{index=6}
F16
A full-precision GGUF export for users who want the least quantization loss and have enough memory/storage to run it. llama.cpp documentation lists f16.gguf as full precision. :contentReference[oaicite:7]{index=7}
Suggested Runtime Compatibility
This model should be appropriate for GGUF-compatible runtimes, including:
- llama.cpp
- LM Studio
- GPT4All
- other GGUF-capable local inference tools
The GGUF format is the standard format used by llama.cpp for local inference workflows. :contentReference[oaicite:8]{index=8}
Example Usage with llama.cpp
llama-cli -m /path/to/Llama-3.2-OctoThinker-iNano-1B.Q4_K_M.gguf -p "Write a short Python function that reverses a string."
- Downloads last month
- 1,154
4-bit
5-bit
16-bit
Model tree for WithinUsAI/IBM-Grok4-Ultra.Fast.Coder-1B-GGUF
Base model
ibm-granite/granite-4.0-1b-base