Run this model with HF Jobs
Run caveman-so/caveling-2-mini on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/caveman-so/caveling-2-mini. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/caveman-so/caveling-2-mini on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/caveman-so/caveling-2-mini. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/caveman-so/caveling-2-mini. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use caveman-so/caveling-2-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use caveman-so/caveling-2-mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="caveman-so/caveling-2-mini", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("caveman-so/caveling-2-mini", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("caveman-so/caveling-2-mini", trust_remote_code=True, device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use caveman-so/caveling-2-mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "caveman-so/caveling-2-mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "caveman-so/caveling-2-mini", "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/caveman-so/caveling-2-mini
- SGLang
How to use caveman-so/caveling-2-mini with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "caveman-so/caveling-2-mini" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "caveman-so/caveling-2-mini", "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 images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "caveman-so/caveling-2-mini" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "caveman-so/caveling-2-mini", "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" } } ] } ] }' - Docker Model Runner
How to use caveman-so/caveling-2-mini with Docker Model Runner:
docker model run hf.co/caveman-so/caveling-2-mini
Caveling-2-Mini is a faster, more efficient version of Thinking Machines' Inkling-2-Mini (26B, 3.4B active, 1M context, text + vision), built as a drop-in replacement for reasoning, coding, and tool-use workloads. It trims repetitive overthinking so you get finished answers faster and at lower token cost without losing accuracy, achieved by lightly fine-tuning only the attention layers while leaving the rest of the base model untouched.
Official NVFP4 and Q4_K_M GGUF quants (with lossless BF16 attention) for
llama.cpp,llama.app, LM Studio, and Ollama are available atcaveman-so/caveling-2-mini-GGUF.
At xhigh reasoning effort across 9 text and 1M long-context benchmarks (n = 3,935), Caveling-2-Mini retains 100.5% of base accuracy (88.2% vs 87.7%) while cutting mean reasoning tokens by 43.1% and total output tokens by 40.7% (1.71Γ average TTFA speedup). On untrained vision benchmarks (CharXiv, MMMU-Pro), it retains 99.3% accuracy (71.5% vs 72.0%) with 54.0% fewer total output tokens. At low effort, it retains 95.6% accuracy while cutting reasoning tokens by 26.4% (1.40Γ average TTFA speedup).
| β 43.1% Reasoning tokens cut at xhigh, cutting up to 93.1% at full accuracy | 100.5% Accuracy retained at xhigh | ~99% Untrained vision retained | 1.71Γ Average TTFA speedup at xhigh purely from output reduction |
TTFA (Time to Finished Answer): end-to-end latency through reasoning and final answer β tracks total output reduction directly, averaging 1.71Γ at xhigh (up to 1.97Γ on IFEval) and 1.40Γ at low (up to 1.90Γ on LCB v6).
See what others have to say about us
39 runs on GB300 beat our benchmark cuts (18/21 vs 19/21) β "like a free speed upβ¦ a direct drop-in replacement."
RTX 5090 vLLM eval: "much shorter thinking loops" and base-level accuracy in far fewer turns.
Local Q4_K_M test: 40/48 reasoning, 15/15 on 256K memory, and 91.6K tokens 1-shot on Seating Planner.
Side-by-side comparison
Both Caveling-2-Mini and Inkling-2-Mini (Base) were given the same two consecutive single-file web-game tasks under identical conditions (xhigh effort 0.99, temperature=1.0, top_p=1.0, seed=42, concurrency 1, native NVFP4/MXFP8 vLLM on matching 1Γ RTX PRO 6000 Blackwell GPUs): first building a playable, zero-dependency 2D PokΓ©mon-style "Cave City" RPG (index.html), then converting their own passing 2D game into a playable 3D Three.js version with the same mechanics. Each build had to reach a working MVP that passed both automated headless-browser checks (zero console or runtime errors, full-viewport rendering, responsive controls) and human usability checks (playable spawn, smooth camera, collision and hitboxes). Whenever a build failed either gate, its errors or play-test issues were fed back to the model in follow-up messages until it resolved them, with every generated token and wall-clock second across the full interaction counted in the displayed totals (167,655 tokens / 19.5 min combined for Caveling-2-Mini vs 336,715 tokens / 41.3 min for Base: 50.2% fewer tokens and 2.12Γ faster). See the full 2D and 3D prompts.
How it works
Inkling-2-Mini is a 24-layer looped MoE whose middle layers (6β17) run three times with shared weights and whose routed experts ship natively in NVFP4/MXFP8. Instead of re-quantizing or altering the 4-bit experts, Caveling-2-Mini updates only the 168 BF16 attention projection tensors directly in served precision and leaves all 1,130 other tensors β experts, router, loop gates, vision encoder, and 3-layer MTP drafter β byte-identical to the base checkpoint. Post-training trims redundant self-verification and dead-end loops inside reasoning blocks while preserving Inkling's effort control (0.0 to 0.99), tool calling, and multimodal stack.
Benchmarks
Evaluation setup
Both Caveling-2-Mini and Inkling-2-Mini (Base) were evaluated with the same native NVFP4/MXFP8 vLLM serving configuration (max_model_len=262144 / max_output_tokens=131072 for standard suites; max_model_len=1048576 / max_output_tokens=32768 for MRCR 64Kβ1M, temperature=1.0, top_p=1.0, top_k=-1, no drafter) and identical per-item deterministic seeds on RTX PRO 6000 Blackwell (SM120). Truncated or unparseable outputs are scored as incorrect; across all 8,120 benchmark generations below, Caveling-2-Mini has a max truncation rate of 2.3%, max unparseable rate of 0.0%, and max loop rate of 0.2% on standard suites (0.0% truncation on MRCR).
xhigh effort (0.99)
| Model | AIME 24n=30 | AIME 25n=60 | GPQAn=198 | LCB v6n=175 | GSM8Kn=1,319 | MMLU-Pron=840 | IFEvaln=541 | BFCL v4n=750 | MRCR 1Mn=22 | Average |
|---|---|---|---|---|---|---|---|---|---|---|
| ACCURACY | ||||||||||
| Caveling-2-Mini | 100.0% | 96.7% | 85.9% | 72.0% | 95.9% | 83.5% | 91.9% | 84.8% | 83.1% | 88.2% |
| Inkling-2-Mini (Base) | 100.0% | 98.3% | 86.4% | 75.4% | 96.2% | 84.0% | 93.3% | 84.5% | 71.2% | 87.7% |
| Retention of Base accuracy | 100.0% | 98.3% | 99.4% | 95.5% | 99.7% | 99.3% | 98.4% | 100.3% | 116.8% | 100.5% |
| REASONING TOKENS VS BASE | ||||||||||
| Caveling-2-Mini | β 25.9% | β 41.2% | β 40.4% | β 36.5% | β 49.8% | β 44.4% | β 53.8% | β 54.9% | β 40.8% | β 43.1% |
| OUTPUT TOKENS VS BASE | ||||||||||
| Caveling-2-Mini | β 25.8% | β 40.8% | β 40.4% | β 36.0% | β 49.0% | β 44.2% | β 49.2% | β 43.7% | β 37.6% | β 40.7% |
| EST. TTFA SPEEDUP VS BASE | ||||||||||
| Caveling-2-Mini | 1.35Γ | 1.69Γ | 1.68Γ | 1.56Γ | 1.96Γ | 1.79Γ | 1.97Γ | 1.77Γ | 1.60Γ | 1.71Γ |
Mean reasoning & answer tokens per prompt
| Model | AIME 24n=30 | AIME 25n=60 | GPQAn=198 | LCB v6n=175 | GSM8Kn=1,319 | MMLU-Pron=840 | IFEvaln=541 | BFCL v4n=750 | MRCR 1Mn=22 | Average |
|---|---|---|---|---|---|---|---|---|---|---|
| MEAN REASONING TOKENS | ||||||||||
| Caveling-2-Mini | 10,563 | 11,220 | 9,901 | 19,613 | 327 | 2,588 | 898 | 167 | 3,312 | 6,510 |
| Inkling-2-Mini (Base) | 14,248 | 19,076 | 16,622 | 30,892 | 651 | 4,651 | 1,945 | 370 | 5,594 | 10,450 |
| MEAN ANSWER TOKENS | ||||||||||
| Caveling-2-Mini | 314 | 355 | 49 | 478 | 33 | 31 | 298 | 89 | 450 | 233 |
| Inkling-2-Mini (Base) | 423 | 478 | 83 | 499 | 63 | 50 | 414 | 97 | 439 | 283 |
MRCR (64Kβ1M) breakdown by context length
| Model | 64Kn=4 | 128Kn=4 | 256Kn=6 | 512Kn=4 | 1Mn=4 | Alln=22 |
|---|---|---|---|---|---|---|
| MRCR SCORE BY CONTEXT LENGTH (XHIGH) | ||||||
| Caveling-2-Mini | 100.0% | 99.3% | 69.5% | 78.0% | 75.7% | 83.1% |
| Inkling-2-Mini (Base) | 78.5% | 75.5% | 69.0% | 51.3% | 82.8% | 71.2% |
| Retention of Base accuracy | 127.4% | 131.5% | 100.7% | 152.1% | 91.5% | 116.8% |
low effort (0.2)
| Model | AIME 24n=30 | AIME 25n=60 | GPQAn=198 | LCB v6n=175 | GSM8Kn=1,319 | MMLU-Pron=840 | IFEvaln=541 | BFCL v4n=750 | MRCR 1Mn=22 | Average |
|---|---|---|---|---|---|---|---|---|---|---|
| ACCURACY | ||||||||||
| Caveling-2-Mini | 90.0% | 81.7% | 75.8% | 63.4% | 96.4% | 81.8% | 88.9% | 85.1% | 72.9% | 81.8% |
| Inkling-2-Mini (Base) | 100.0% | 96.7% | 81.8% | 69.7% | 96.4% | 81.3% | 90.4% | 86.1% | 67.2% | 85.5% |
| Retention of Base accuracy | 90.0% | 84.5% | 92.6% | 91.0% | 99.9% | 100.6% | 98.4% | 98.8% | 108.5% | 95.6% |
| REASONING TOKENS VS BASE | ||||||||||
| Caveling-2-Mini | β 26.1% | β 34.8% | β 28.5% | β 49.1% | β 23.1% | β 28.7% | β 33.0% | β 31.5% | β 17.4% | β 26.4% |
| OUTPUT TOKENS VS BASE | ||||||||||
| Caveling-2-Mini | β 27.2% | β 35.5% | β 29.4% | β 47.5% | β 30.2% | β 29.7% | β 28.4% | β 18.3% | β 14.6% | β 25.7% |
| EST. TTFA SPEEDUP VS BASE | ||||||||||
| Caveling-2-Mini | 1.37Γ | 1.55Γ | 1.42Γ | 1.90Γ | 1.43Γ | 1.42Γ | 1.40Γ | 1.22Γ | 0.87Γ | 1.40Γ |
Mean reasoning & answer tokens per prompt
| Model | AIME 24n=30 | AIME 25n=60 | GPQAn=198 | LCB v6n=175 | GSM8Kn=1,319 | MMLU-Pron=840 | IFEvaln=541 | BFCL v4n=750 | MRCR 1Mn=22 | Average |
|---|---|---|---|---|---|---|---|---|---|---|
| MEAN REASONING TOKENS | ||||||||||
| Caveling-2-Mini | 4,613 | 6,742 | 1,190 | 7,164 | 135 | 417 | 396 | 74 | 2,210 | 2,549 |
| Inkling-2-Mini (Base) | 6,244 | 10,340 | 1,663 | 14,071 | 176 | 585 | 590 | 108 | 1,883 | 3,962 |
| MEAN ANSWER TOKENS | ||||||||||
| Caveling-2-Mini | 99 | 100 | 20 | 453 | 12 | 15 | 223 | 85 | 439 | 161 |
| Inkling-2-Mini (Base) | 231 | 272 | 54 | 440 | 38 | 32 | 277 | 90 | 428 | 207 |
MRCR (64Kβ1M) breakdown by context length
| Model | 64Kn=4 | 128Kn=4 | 256Kn=6 | 512Kn=4 | 1Mn=4 | Alln=22 |
|---|---|---|---|---|---|---|
| MRCR SCORE BY CONTEXT LENGTH (LOW) | ||||||
| Caveling-2-Mini | 76.2% | 59.6% | 85.3% | 78.5% | 58.7% | 72.9% |
| Inkling-2-Mini (Base) | 100.0% | 77.0% | 84.3% | 28.2% | 37.9% | 67.2% |
| Retention of Base accuracy | 76.3% | 77.4% | 101.2% | 278.0% | 154.9% | 108.5% |
Vision (untrained)
| Model | CharXivn=100 | MMMU-Pron=150 | Average |
|---|---|---|---|
| ACCURACY | |||
| Caveling-2-Mini | 65.0% | 78.0% | 71.5% |
| Inkling-2-Mini (Base) | 64.0% | 80.0% | 72.0% |
| Retention of Base accuracy | 101.6% | 97.5% | 99.3% |
| REASONING TOKENS VS BASE | |||
| Caveling-2-Mini | β 52.3% | β 56.2% | β 54.3% |
| OUTPUT TOKENS VS BASE | |||
| Caveling-2-Mini | β 51.9% | β 56.1% | β 54.0% |
| EST. TTFA SPEEDUP VS BASE | |||
| Caveling-2-Mini | 2.08Γ | 2.28Γ | 2.18Γ |
Mean reasoning & answer tokens per prompt
| Model | CharXivn=100 | MMMU-Pron=150 | Average |
|---|---|---|---|
| MEAN REASONING TOKENS | |||
| Caveling-2-Mini | 720 | 2,814 | 1,767 |
| Inkling-2-Mini (Base) | 1,509 | 6,431 | 3,970 |
| MEAN ANSWER TOKENS | |||
| Caveling-2-Mini | 10 | 25 | 17 |
| Inkling-2-Mini (Base) | 16 | 43 | 30 |
Usage
Serve with vLLM
Requires a vLLM build with Inkling-2-Mini support:
vllm serve caveman-so/caveling-2-mini \
--served-model-name caveling-2-mini \
--tensor-parallel-size 1 \
--max-model-len 262144 \
--gpu-memory-utilization 0.9 \
--reasoning-parser inkling \
--enable-auto-tool-choice \
--tool-call-parser inkling
Query via OpenAI-compatible client
Pass Thinking effort level: <0.0-0.99> in the system message to control reasoning depth (0.99 xhigh recommended for maximum accuracy; 0.2 low for faster responses):
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
resp = client.chat.completions.create(
model="caveling-2-mini",
temperature=1.0,
top_p=1.0,
max_tokens=16384,
messages=[
{"role": "system", "content": "Thinking effort level: 0.99"},
{"role": "user", "content": "Prove that there are infinitely many primes congruent to 3 mod 4."},
],
)
msg = resp.choices[0].message
print("THINKING:", getattr(msg, "reasoning_content", ""))
print("ANSWER:", msg.content)
Load with Transformers
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "caveman-so/caveling-2-mini"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id, device_map="auto")
LoopCD
Inkling-2-Mini β and therefore Caveling-2-Mini β runs its middle layers (6β17) three times per token with shared weights before the final six layers predict the next token. LoopCD (loop contrastive decoding, Liu et al., 2026) contrasts pass 3 against pass 1 at inference time with zero weight changes. It is off by default.
We ship three LoopCD configurations, centered on recommended β the setting suggested by the LoopCD authors for agentic coding tasks:
| Mode | Best for | What it does |
|---|---|---|
| off | Default | Plain Caveling-2-Mini decoding with zero extra compute or KV memory. |
| recommended | Agentic coding | The LoopCD authors' suggested setting for agentic coding: adaptive LoopCD-Logits (Ο_max=0.5) applied only to visible answer and tool-call tokens, never to <think> reasoning or control markers. Adds one extra pass of the final 6 layers per token. |
| hidden | Zero-overhead | Blends pass 3 and pass 1 hidden states before the final 6 layers (Ο=0.5) at ~0% speed overhead. Available in vLLM and transformers; full-suite accuracy not yet benchmarked. |
What LoopCD changes (and its trade-offs)
- Where it helps: In apples-to-apples paired evaluations across all 9 text and 1M long-context benchmarks (
7,870generations with identical<think>traces and seeds),recommendedbrings its clearest gains on coding (LiveCodeBench v6:+1.1 ppatxhigh,+2.3 ppatlow) and strict instruction-following (IFEval:+0.7 ppatxhigh,+0.2 ppatlow), nudging overall Base retention to 100.7% atxhighand 95.9% atlow. Math, multiple-choice, tool calling (BFCL v4), andMRCR 1Mstay effectively unchanged. - Reasoning token reduction does not change: Because
recommendedLoopCD is applied only to visible answer and tool-call decoding β never inside<think>β Caveling-2-Mini keeps the exact same thinking traces and reasoning token cut (β 43.1% atxhigh, β 26.4% atlow). - Latency & memory overhead:
recommendedruns the final 6 of 24 layers a second time per token to compute pass-1 reference logits. In vLLM (TP=1), measured throughput is0.76Γβ0.85Γof stock vLLM (roughly 15β24% slower across batch sizes1β32, with or without DSpark) and KV cache capacity drops by11.3%β16.0%(still fits full1MBF16 context on a single 96 GB GPU). Intransformers(BF16), decode is~10%slower (+11%latency).hiddenadds~0%overhead, though its full-suite accuracy has not yet been benchmarked. - Current scope: Keep
offas the default for general serving, and opt intorecommendedfor coding or strict formatting workloads where accuracy outweighs the extra latency. Multi-GPUTP > 1vLLM serving and multimodal inputs with LoopCD have not yet been validated.
LoopCD benchmarks: xhigh effort (0.99)
| Model | AIME 24n=30 | AIME 25n=60 | GPQAn=198 | LCB v6n=175 | GSM8Kn=1,319 | MMLU-Pron=840 | IFEvaln=541 | BFCL v4n=750 | MRCR 1Mn=22 | Average |
|---|---|---|---|---|---|---|---|---|---|---|
| ACCURACY | ||||||||||
| Caveling-2-Mini with LoopCD | 100.0% | 96.7% | 85.9% | 73.1% | 96.0% | 83.5% | 92.6% | 84.5% | 83.1% | 88.4% |
| Caveling-2-Mini (Plain) | 100.0% | 96.7% | 85.9% | 72.0% | 95.9% | 83.5% | 91.9% | 84.8% | 83.1% | 88.2% |
| Inkling-2-Mini (Base) | 100.0% | 98.3% | 86.4% | 75.4% | 96.2% | 84.0% | 93.3% | 84.5% | 71.2% | 87.7% |
| Retention of Base accuracy using LoopCD | 100.0% | 98.3% | 99.4% | 97.0% | 99.8% | 99.3% | 99.2% | 100.0% | 116.8% | 100.7% |
| DELTA VS PLAIN (PP) | ||||||||||
| LoopCD β Plain | 0.0 | 0.0 | 0.0 | +1.1 | +0.1 | 0.0 | +0.7 | β0.3 | 0.0 | +0.2 |
LoopCD benchmarks: low effort (0.2)
| Model | AIME 24n=30 | AIME 25n=60 | GPQAn=198 | LCB v6n=175 | GSM8Kn=1,319 | MMLU-Pron=840 | IFEvaln=541 | BFCL v4n=750 | MRCR 1Mn=22 | Average |
|---|---|---|---|---|---|---|---|---|---|---|
| ACCURACY | ||||||||||
| Caveling-2-Mini with LoopCD | 90.0% | 81.7% | 75.8% | 65.7% | 96.3% | 81.7% | 89.1% | 85.3% | 72.4% | 82.0% |
| Caveling-2-Mini (Plain) | 90.0% | 81.7% | 75.8% | 63.4% | 96.4% | 81.8% | 88.9% | 85.1% | 72.9% | 81.8% |
| Inkling-2-Mini (Base) | 100.0% | 96.7% | 81.8% | 69.7% | 96.4% | 81.3% | 90.4% | 86.1% | 67.2% | 85.5% |
| Retention of Base accuracy using LoopCD | 90.0% | 84.5% | 92.6% | 94.3% | 99.8% | 100.4% | 98.6% | 99.1% | 107.7% | 95.9% |
| DELTA VS PLAIN (PP) | ||||||||||
| LoopCD β Plain | 0.0 | 0.0 | 0.0 | +2.3 | β0.1 | β0.1 | +0.2 | +0.3 | β0.5 | +0.2 |
Run LoopCD in vLLM
Install the tested vLLM build and the caveling-loopcd plugin wheel hosted in this repo, then set CAVELING_LOOPCD=recommended:
pip install --pre vllm --extra-index-url https://wheels.vllm.ai/ef687f6179b752c028767e610addbda67ed36d03
pip install https://huggingface.co/caveman-so/caveling-2-mini/resolve/main/caveling_loopcd-0.1.0-py3-none-any.whl
CAVELING_LOOPCD=recommended vllm serve caveman-so/caveling-2-mini \
--served-model-name caveling-2-mini \
--tensor-parallel-size 1 \
--max-model-len 262144 \
--gpu-memory-utilization 0.9 \
--reasoning-parser inkling \
--enable-auto-tool-choice \
--tool-call-parser inkling
For zero-overhead hidden mode, use CAVELING_LOOPCD=hidden CAVELING_LOOPCD_OMEGA=0.5. Without CAVELING_LOOPCD, vLLM serves plain Caveling-2-Mini unchanged. Optional overrides: CAVELING_LOOPCD_OMEGA and CAVELING_LOOPCD_OMEGA_MAX. Supports CUDA graphs, prefix caching, 1M BF16 context, and DSpark speculative decoding; pins upstream vLLM methods so it refuses to start rather than silently changing outputs on untested versions.
Run LoopCD in Transformers
Pass trust_remote_code=True and loopcd="recommended" (requires transformers >= 5.24):
import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "caveman-so/caveling-2-mini"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
loopcd="recommended",
)
# Toggle at any time between generate() calls:
model.set_loopcd("off")
model.set_loopcd("recommended")
trust_remote_code=True loads modeling_caveling_loopcd.py from this repo. Omitting it β or setting loopcd="off" β loads plain Caveling-2-Mini bit for bit.
Files
| File | Size | Description |
|---|---|---|
| model-00001-of-00001.safetensors | 19.53 GB | Native NVFP4/MXFP8 + BF16 weights (1,298 tensors: 168 attention projections updated, 1,130 tensors byte-identical to base) |
| mtp.safetensors | 635.8 MB | 3-layer MTP drafter (byte-identical to base) |
| tokenizer.json | 26.2 MB | Inkling tiktoken vocabulary (201,024 slots / 200,058 used; byte-identical to base) |
| config.json / hf_quant_config.json / chat_template.jinja | 77.7 KB | Model config (adds optional LoopCD auto_map, off by default), NVFP4/MXFP8 quant map, and Jinja chat template |
| modeling_caveling_loopcd.py | 25.6 KB | Optional self-contained LoopCD remote code for transformers (loaded only when trust_remote_code=True) |
| caveling_loopcd-0.1.0-py3-none-any.whl | 40.1 KB | Optional zero-fork vLLM plugin wheel for LoopCD (recommended, logits, and hidden modes) |
| LICENSE | 11.4 KB | Apache License 2.0 |
Limitations
- Recommended effort settings: Use
xhigh(0.99) for competition math, hard competitive coding, and PhD-level science. Atlow(0.2), fast general, instruction-following, and tool-use benchmarks stay near base (98.4%β100.6%retention), while competition math and PhD science trade accuracy for speed (AIME 2025β15.0 pts,AIME 2024β10.0 pts,GPQA Diamondβ6.1 pts). - Unmeasured scopes: Agentic software engineering suites (
SWE-bench Verified,Terminal-Bench), large-scale long-context agentic aggregation (AgentLongBench), and GGUF/MLX conversions have not yet been evaluated at scale on Caveling-2-Mini. - Single-run variance and hardware scope: AIME uses
avg@2(n=30/n=60) and all other suites are single-run atT=1.0, so small deltas on small suites sit within run-to-run noise. Benchmarks were measured on SM120 Blackwell native NVFP4/MXFP8 serving; Hopper (BF16 dequantized) and GGUF/MLX builds may differ.
License
Apache-2.0, matching thinkingmachines/Inkling-2-Mini.
- Downloads last month
- 1,409
Model tree for caveman-so/caveling-2-mini
Base model
thinkingmachines/Inkling-2-Mini