Gautama-AI logo

GAUTAMA-AI

Building Gautama-VLM 3B - an open, efficient Vision-Language Model trained end-to-end on a single GPU

3.33Bparameters (text + vision)
89 daysAug 3 โ†’ Oct 31, 2026
1ร— H100single-GPU training
16Kcontext via Lighthouse

๐ŸŽต Ganga Taranaga โ€” background music

Executive Summary

Gautama-AI proposes to train a complete 3.33-billion-parameter Vision-Language Model from scratch โ€” a GPT-style language model that also sees and understands images โ€” on a single NVIDIA H100 GPU, in 89 days. The result is a fully open model, tokenizer, dataset recipe, and training pipeline that anyone can reproduce, study, and build on.

Frontier VLMs cost millions of dollars and thousands of GPUs to train. This project demonstrates that a genuinely capable multimodal model โ€” image captioning, visual question answering, chart reading, document understanding, and 16K-token long-context reasoning โ€” is achievable at hobbyist-accessible budgets by combining a carefully engineered architecture with cutting-edge training efficiency research, including Lighthouse Attention (Nous Research, 2026) for long-context training.

Why it matters: every design decision, cost figure, and training hour in this proposal is pre-computed and verified against arithmetic derived from the model code โ€” this is not an estimate, it is an engineering plan.

What We Are Building

๐Ÿ—ฃ Language Backbone โ€” 3.015B

GPT-style decoder-only Transformer: 28 layers, 3072-dim, grouped-query attention, RoPE, SwiGLU, RMSNorm. Same architecture family as Llama โ€” fully compatible with the open-source ecosystem.

๐Ÿ‘ Vision Encoder โ€” 303M

CLIP ViT-L/14 encodes any image into 257 visual tokens. The language model attends to these tokens exactly like text โ€” one unified sequence, one unified model.

๐ŸŒ‰ Vision Projector โ€” 12.6M

A compact 2-layer MLP that translates vision features into the language model's embedding space โ€” the bridge that turns a GPT into a VLM.

๐Ÿ“ 16K Long Context

Lighthouse Attention โ€” a 2026 hierarchical attention method โ€” extends the model from 4K to 16K tokens with full dense-attention quality recovered before release.

One model, two modes

With no image, Gautama-VLM behaves as a pure GPT: completion, Q&A, reasoning, code. With an image, it becomes a visual assistant: describe, answer, read charts, extract text. The same 3.33B weights serve both.

Technical Innovation

Filling every byte of the GPU

The H100's 80 GB is used at 85% during peak training โ€” achieved through fp32-master AdamW, activation checkpointing, and chunked cross-entropy (which cuts the loss computation's memory peak from 9.8 GB to 0.6 GB). A smaller model would waste the hardware; a larger one would not fit. 3B is the engineered sweet spot.

Lighthouse Attention for long-context training

Standard attention cost grows quadratically with context length โ€” the main reason long-context training is expensive. Lighthouse Attention (Peng, Ghosh & Quesnelle, Nous Research, arXiv:2605.06554) pools queries, keys, and values into a multi-resolution pyramid, selects the most important entries with a parameter-free scorer, and runs standard FlashAttention on the compressed sequence โ€” then a brief dense-attention resumption restores full quality. The paper demonstrates 1.4โ€“1.7ร— faster training at equal or better final loss.

Our integration: we computed the exact break-even point (8,192 tokens) and apply Lighthouse only where it wins โ€” a dedicated 16K long-context extension phase (L=3 levels, p=2 pooling, k=1536 selection budget, dilated scorer), with the first and last two layers kept dense for stability. The delivered model uses standard attention at inference: Lighthouse is a training accelerator, not a dependency.

Verified engineering, not guesswork

Training sub-phaseTokensGPU hours
D1 ยท Text pretraining (seq 4K)30B378.3
D2 ยท Long-context extension @16K (Lighthouse)5B54
D3 ยท Vision alignment (projector)0.5B2.1
D4 ยท VLM instruction tuning5B68.8
D5 ยท DPO preference alignment0.2B2.8
Spot interruption bufferโ€”60
Total40.7B566

Throughput 22,026 tok/s at 45% MFU on H100 SXM5 (989 TFLOPS BF16) โ€” all figures derived from the project's own planning calculator and cross-checked against the model code.

Project Plan - Aug 3 โ†’ Oct 31, 2026

Success Metrics

CapabilityBenchmarkTarget
Common-sense reasoningHellaSwag (0-shot)โ‰ฅ 62%
World knowledgeMMLU (5-shot)โ‰ฅ 46%
Long-context recall @16KNeedle-in-a-Haystackโ‰ฅ 70%
Visual question answeringVQAv2 (test-dev)โ‰ฅ 60%
Visual reasoningGQAโ‰ฅ 58%
Text-in-image readingTextVQAโ‰ฅ 45%
Hallucination controlPOPE (F1)โ‰ฅ 80%
Deployment footprintGGUF q4_k_m sizeโ‰ค 2.5 GB
Honest framing: at 3.33B parameters, Gautama-VLM will not match 7B+ commercial VLMs. It will demonstrate โ€” reproducibly and openly โ€” that first-generation-LLaVA-class multimodal capability is achievable on a single H100 within 90 days, and every artifact of the process will be public.