uta-oss-18b

uta-oss-18b is an 18.4B-total / ~3.6B-active MXFP4 Mixture-of-Experts multimodal model built from openai/gpt-oss-20b (pruned from 32 -> 28 experts per layer with 100% byte-identical native MXFP4 experts) paired with a 2880-dim InternViT-300M vision encoder (mmproj, Q8_0 & F16).

Designed specifically for 12 GB consumer GPUs at full 128K context (with a built-in hybrid --preset 8gb mode for 8 GB GPUs), it ships as a 10.64 GB total modular GGUF bundle (10.29 GB LM + 0.35 GB Vision mmproj) with zero silent quantization fallbacks, sharp KV quantization, CPU-pinned token_embd lookup, and zero-VRAM ngram-mod speculative drafting via the included serve_uta.py launcher.

Downloadable Files (Modular β€” Download Only What You Need)

File Size Precision / Role Recommended For
uta-oss-18b-E28-MXFP4_MOE.gguf 10.29 GB Raw MXFP4 28E experts Β· Q5_1 emb/out/attn_{q,k,v} Β· Q6_K attn_o (0 fallbacks) 8 GB & 12 GB GPUs (measured 10.59 GiB VRAM @ 128K on NVIDIA L4)
uta-oss-18b-E28-MXFP4_MOE-HQ.gguf 10.77 GB Raw MXFP4 28E experts Β· Q8_0 emb/out/attn_{q,k,v} Β· Q6_K attn_o (0 fallbacks) 16 GB+ GPUs (highest-precision quantized embeddings & attention, identical 28E MXFP4 experts)
uta-oss-18b-E28-F16.gguf 12.50 GB Unquantized F16 emb/out/attn_{q,k,v,o} + native raw MXFP4 28E experts 24 GB+ GPUs / archival / custom re-quantization (zero post-hoc quantization loss)
mmproj-uta-oss-18b-Q8_0.gguf (optional) 0.35 GB Q8_0 2880-dim InternViT-300M + trained projector (patch_embd/pos_embd kept F32) Vision on 8-12 GB GPUs (skip if text-only)
mmproj-uta-oss-18b-F16.gguf (optional) 0.65 GB Lossless unquantized F16 2880-dim InternViT-300M + trained projector Vision on 16 GB+ GPUs (skip if text-only)
serve_uta.py ~10 KB Standalone zero-dependency launcher (8gb/12gb/16gb/cpu presets, Vision logit ban, ngram-mod auto-drafting) One-command serving with llama-server b12777+
hf/ (directory) ~13.1 GB Complete Hugging Face multimodal VLM checkpoint (te28_r1_alpha05 LM + 2880-dim Vision tower + step-108 projector + vision tokenizer) Direct Hugging Face / research inspection / custom conversion
uta_tensor_types_te28_12gb.txt / uta_tensor_types_te28_hq.txt <1 KB Exact comment-free llama-quantize --tensor-type-file maps (0 fallbacks) Reproducible quantization

Model Details

Item Specification
Base LM openai/gpt-oss-20b (Apache-2.0)
Checkpoint te28_r1_alpha05 (overall champion: +1.22 pp HumanEval+, +1.48 pp IFEval, +0.35 pp MMLU-Pro, 45.00% AIME 2025)
Architecture 24 layers (12 full attention + 12 SWA-128), hidden_size = 2880, 64 Q heads / 8 KV heads (head_dim = 64), learned attention sinks
Experts 28 of 32 per layer (total-energy slicing, top-k = 4 active, ~3.6B active params), byte-identical native MXFP4
Post-Training Frozen-router attention LoRA (r=16, alpha=32, half-scale FP32 merge onto untouched MXFP4 experts; zero router drift)
Vision InternViT-300M + mlp1 projector (projection_dim = 2880) + trained ViT tail layers 20-23 (OpenGVLab/InternVL3_5-GPT-OSS-20B-A4B-Preview-HF, step-108), verified end-to-end with llama-server b12777
Context Window 128K (131,072 tokens) with Flash Attention + quantized KV cache (q8_0/q4_0 or q4_0/q4_0)
GGUF Quantization 0-fallback tensor map: MXFP4 28E experts Β· Q5_1 (or Q8_0 HQ) token_embd/output/attn_{q,k,v} Β· Q6_K attn_output Β· F32 norms/routers/sinks Β· Q8_0/F16 mmproj
Chat / Tool Format OpenAI Harmony (analysis / final / commentary channels) + InternVL <img>/</img>/<IMG_CONTEXT> control tokens (vocab_size = 201,088)
Knowledge Cutoff June 2024 (inherited from gpt-oss-20b)
License Apache-2.0 (see LICENSE, NOTICE, USAGE_POLICY)

Benchmarks (Paired Against Unhealed stock_te28 & Stock 32E gpt-oss-20b)

Benchmark Category Stock 32E (gpt-oss-20b) stock_te28 (28E base) uta-oss-18b (te28_r1_alpha05) Delta vs stock_te28
HumanEval+ (n=328) Coding β€” 90.55% 91.77% (301/328) +1.22 pp
IFEval (n=541) Instruction Following β€” 78.56% 80.04% (433/541) +1.48 pp
MMLU-Pro 2K (n=2000 paired) General Knowledge 72.95% 70.85% 71.20% (1424/2000) +0.35 pp
AIME 2025 (n=60, 2 seeds, 32K cap) Math Reasoning β€” 48.33% 45.00% (27/60) -3.33 pp

(Every benchmark is evaluated on identical prompts, Harmony templates, and generation caps. Vision mmproj Q8_0 and F16 are verified end-to-end on llama-server b12777 with clip.vision.projection_dim = 2880 matching LM n_embd = 2880.)

Measured Hardware Performance & VRAM

Measured directly on NVIDIA L4 (24 GB) running uta-oss-18b-E28-MXFP4_MOE.gguf (10.29 GB) with llama-server b12777 (-ngl 99 -c 131072 -fa on --cache-type-k q4_0 --cache-type-v q4_0 -ot '^token_embd\.weight$=CPU' --spec-type ngram-mod):

  • Peak VRAM @ full 128K context: 10,842 MiB (10.59 GiB) β€” fits comfortably inside 12 GB consumer GPUs with >1.4 GiB headroom
  • Prompt Prefill Speed: 3,365.8 tok/s
  • Decode Speed (ngram-mod drafting): 73.6 - 107.8 tok/s

Because uta-oss-18b activates only ~3.6B parameters per token (~2.22 GB active weight read/tok) and half its layers use 128-token Sliding Window Attention, consumer GPU expectations are:

GPU Class Mode / Flags Est. VRAM @ 128K ~4K Context ~64K Context ~128K Context
8 GB (RTX 4060, DDR4) serve_uta.py --preset 8gb (--n-cpu-moe 10, CPU mmproj & token_embd) ~7.4 GiB ~28-35 tok/s ~25-31 tok/s ~22-28 tok/s
8 GB (RTX 4060/3070, DDR5) serve_uta.py --preset 8gb (--n-cpu-moe 10, CPU mmproj & token_embd) ~7.4 GiB ~45-60 tok/s ~40-53 tok/s ~35-48 tok/s
12 GB (RTX 3060 12GB) serve_uta.py --preset 12gb (full GPU, CPU token_embd, q8_0/q4_0 or q4_0/q4_0) ~10.6-11.1 GiB ~95-105 tok/s ~75-85 tok/s ~60-70 tok/s
12 GB (RTX 4070 / Super) serve_uta.py --preset 12gb ~10.6-11.1 GiB ~135-150 tok/s ~105-120 tok/s ~85-95 tok/s
12 GB (RTX 5070) serve_uta.py --preset 12gb ~10.6-11.1 GiB ~180-195 tok/s ~145-155 tok/s ~115-130 tok/s
16 GB+ (RTX 4060 Ti / 5060 Ti / 5070 Ti) serve_uta.py --preset 16gb (HQ LM + F16 mmproj) ~11.8 GiB ~80-260 tok/s ~65-210 tok/s ~55-175 tok/s

(Single-stream decode estimates before additional 1.2-2.0x speedups from built-in ngram-mod drafting on repetitive code, JSON, and table edits.)

How to Run (llama.cpp b12777+)

Option A: One-Command Launcher (serve_uta.py β€” Recommended)

Download serve_uta.py alongside the GGUF(s) into the same folder, then run:

# 12 GB GPU: 128K context + Vision (auto-detected) + ngram-mod speculative drafting + vision logit ban
python serve_uta.py

# 8 GB GPU: hybrid MoE offload (~7.4 GiB VRAM @ 128K + Vision + drafting)
python serve_uta.py --preset 8gb

# 16 GB+ GPU: HQ LM + F16 mmproj + drafting
python serve_uta.py --preset 16gb

# Print the exact llama-server command without starting it
python serve_uta.py --print-cmd

serve_uta.py exposes a standard OpenAI-compatible API at http://127.0.0.1:8080/v1 (supports text, tool calling, and image_url multimodal messages). You can switch drafting modes with --auto-draft ngram-mod|ngram-map-k4v|spec-default|off or supply an external draft model via --draft-model.

Option B: Direct llama-server Commands

12 GB GPU β€” Full Speed @ 128K + Vision + Drafting (~10.6-11.1 GiB VRAM)

llama-server \
  -m uta-oss-18b-E28-MXFP4_MOE.gguf \
  --mmproj mmproj-uta-oss-18b-Q8_0.gguf \
  -ngl 99 -c 131072 -fa on --jinja \
  --cache-type-k q4_0 --cache-type-v q4_0 \
  -ot '^token_embd\.weight$=CPU' \
  --spec-type ngram-mod --spec-ngram-mod-n-match 16 --spec-ngram-mod-n-min 16 --spec-ngram-mod-n-max 48 \
  --logit-bias 200019-inf --logit-bias 200020-inf --logit-bias 200021-inf \
  --logit-bias 200022-inf --logit-bias 200023-inf --logit-bias 200024-inf \
  --logit-bias 200025-inf --logit-bias 200026-inf --logit-bias 200027-inf

(Note: On GPUs/builds with asymmetric CUDA Flash Attention kernels, you can also use --cache-type-k q8_0 --cache-type-v q4_0 for sharper keys; --cache-type-k q4_0 --cache-type-v q4_0 works universally on all CUDA/Vulkan Flash Attention builds.)

8 GB GPU β€” Hybrid @ 128K + Vision + Drafting (~7.4 GiB VRAM, identical model quality)

llama-server \
  -m uta-oss-18b-E28-MXFP4_MOE.gguf \
  --mmproj mmproj-uta-oss-18b-Q8_0.gguf --no-mmproj-offload \
  -ngl 99 --n-cpu-moe 10 -c 131072 -fa on --jinja \
  --cache-type-k q4_0 --cache-type-v q4_0 \
  -ot '^token_embd\.weight$=CPU' \
  --spec-type ngram-mod --spec-ngram-mod-n-match 16 --spec-ngram-mod-n-min 16 --spec-ngram-mod-n-max 48 \
  --logit-bias 200019-inf --logit-bias 200020-inf --logit-bias 200021-inf \
  --logit-bias 200022-inf --logit-bias 200023-inf --logit-bias 200024-inf \
  --logit-bias 200025-inf --logit-bias 200026-inf --logit-bias 200027-inf

One-Shot Multimodal CLI

llama-mtmd-cli -m uta-oss-18b-E28-MXFP4_MOE.gguf --mmproj mmproj-uta-oss-18b-Q8_0.gguf \
  --image table.png -p "Extract the table as Markdown and verify the Grand Total."

Training Data & Provenance

This model includes distilled and synthetic post-training data.

  • Text post-training: Automated-verifier-filtered rows (unit tests, exact-match answers, JSON/tool-schema checks) from open-weight teachers (gpt-oss-20b replay, gpt-oss-120b, DeepSeek-V4.1-Flash, Qwen3.8-27B) with foreign-teacher reasoning traces masked from loss and zero overlap against evaluation benchmarks. Model weights are released under Apache-2.0 on top of the Apache-2.0 base.
  • Vision post-training: Programmatically rendered CC0 charts, tables, documents, diagrams, and UI screenshots (DejaVu/STIX fonts) with deterministic ground-truth answers, trained for 108 steps across 8 vision suites (projector_vit_tail.safetensors, updating the mlp1 projector + ViT layers 20-23 while keeping the LM frozen).

Limitations

  • Knowledge stops at June 2024 without external tools.
  • Pruning 32 -> 28 experts removes capacity; expect regressions on niche domains or rare languages outside the measured suites.
  • Vision tuning emphasized synthetic charts, tables, documents, and UI renders; natural photography and handwriting are weaker than the InternVL3.5 parent.
  • Always validate generated tool arguments and code before executing them.
  • Use must follow the gpt-oss USAGE_POLICY and applicable law.

License

Apache-2.0. See LICENSE, NOTICE, and USAGE_POLICY. The vision tower derives from InternViT-300M (MIT; notice included in NOTICE).

Downloads last month
3,013
GGUF
Model size
19B params
Architecture
gpt-oss
Hardware compatibility
Log In to add your hardware

4-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for kasui-ai/uta-oss-18b

Finetuned
(585)
this model

Evaluation results