Instructions to use magnitudedev/Inkling-2-Small-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 magnitudedev/Inkling-2-Small-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 magnitudedev/Inkling-2-Small-GGUF:NVFP4 # Run inference directly in the terminal: llama cli -hf magnitudedev/Inkling-2-Small-GGUF:NVFP4
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf magnitudedev/Inkling-2-Small-GGUF:NVFP4 # Run inference directly in the terminal: llama cli -hf magnitudedev/Inkling-2-Small-GGUF:NVFP4
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 magnitudedev/Inkling-2-Small-GGUF:NVFP4 # Run inference directly in the terminal: ./build/bin/llama cli -hf magnitudedev/Inkling-2-Small-GGUF:NVFP4
Use Docker
docker model run hf.co/magnitudedev/Inkling-2-Small-GGUF:NVFP4
- Llama new
- LM Studio
- Jan
- vLLM
How to use magnitudedev/Inkling-2-Small-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "magnitudedev/Inkling-2-Small-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": "magnitudedev/Inkling-2-Small-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/magnitudedev/Inkling-2-Small-GGUF:NVFP4
- Ollama
How to use magnitudedev/Inkling-2-Small-GGUF with Ollama:
ollama run hf.co/magnitudedev/Inkling-2-Small-GGUF:NVFP4
- Unsloth Desktop
- Pi
How to use magnitudedev/Inkling-2-Small-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf magnitudedev/Inkling-2-Small-GGUF:NVFP4
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "magnitudedev/Inkling-2-Small-GGUF:NVFP4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use magnitudedev/Inkling-2-Small-GGUF with Docker Model Runner:
docker model run hf.co/magnitudedev/Inkling-2-Small-GGUF:NVFP4
- Lemonade
How to use magnitudedev/Inkling-2-Small-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull magnitudedev/Inkling-2-Small-GGUF:NVFP4
Run and chat with the model
lemonade run user.Inkling-2-Small-GGUF-NVFP4
List all available models
lemonade list
- Hermes Agent
How to use magnitudedev/Inkling-2-Small-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 magnitudedev/Inkling-2-Small-GGUF:NVFP4
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:9931/v1 hermes config set model.default magnitudedev/Inkling-2-Small-GGUF:NVFP4
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use magnitudedev/Inkling-2-Small-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf magnitudedev/Inkling-2-Small-GGUF:NVFP4
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:9931/v1 \ --custom-model-id "magnitudedev/Inkling-2-Small-GGUF:NVFP4" \ --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"
Inkling-2-Small GGUF
Inkling-2-Small for Magnitude, lossless at its native size. llama.cpp GGUFs of this model either double the size of its MXFP8 weights or re-quantize its native NVFP4 and MXFP8 tensors. This one keeps every weight exactly as Thinking Machines Lab released it, so it does not run in llama.cpp.
Converted from revision
885d78b
and verified byte for byte.
Differences from llama.cpp GGUFs
Inkling 2 ships with native ModelOpt NVFP4 routed experts (4-bit E2M1 codes with UE4M3 block scales and an FP32 second-level tensor scale) and MXFP8 dense/expert projections (8-bit E4M3 codes with UE8M0 block scales per 32 elements). Storing MXFP8 losslessly at 8 bits takes both the codes and the UE8M0 scales. llama.cpp does not currently have a type for that, so its GGUFs either widen to BF16 (2x size) or re-quantize onto a different grid.
This GGUF stores the NVFP4 tensors unchanged with their .scale companions and stores the MXFP8 codes unchanged in
F8_E4M3 with each block's UE8M0 scale in a companion I8 .scale tensor. Magnitude applies both natively as it
reads. llama.cpp does not currently support the scale tensors, so it does not load these files.
Format
| Weights | Stored as |
|---|---|
| NVFP4 routed experts | NVFP4 in X.weight, with FP32 second-level scales in X.scale |
| MXFP8 projections & layer-0 experts | F8_E4M3 in X.weight, with UE8M0 scales per 1 x 32 block in X.scale (I8) |
| Embeddings, norms, routers, biases | BF16 and F32, as shipped |
magnitude.scale_encoding = "ue8m0" marks the I8 scale tensors as UE8M0 exponents (value 2^(b - 127)).
Files
| File | Contents | Size |
|---|---|---|
Inkling-2-Small-NVFP4-0000N-of-00010.gguf |
Text model | 394 GB (10 shards) |
Inkling-2-Small-DSpark.gguf |
DSpark speculative drafter (MTP) | 3.2 GB |
mmproj-Inkling-2-Small-BF16.gguf |
Vision projector | 626 MB |
License
Apache 2.0, as the source checkpoint.
- Downloads last month
- 374
4-bit
Model tree for magnitudedev/Inkling-2-Small-GGUF
Base model
thinkingmachines/Inkling-2-Small