Cosmic Alpha v0.6 (980.63M β 1B Sparse MoE) β Pure-Rust + Native CUDA
Cosmic Alpha v0.6 is a 100% Pure-Rust + Native CUDA, zero-PyTorch, zero-Q Γ K^T-attention, zero-KV-cache streaming architecture with Active-Brain Sparse MoE (8E / Top-2), Cosmic Optimizer v4 (Zero-VRAM Gradient Accumulation), and Lossless 4-Bit Cosmic Compression β trained from scratch on a single 8 GB RTX 4060 Ti ($0.00 cloud cost, 4.78 GB total VRAM).
- Author / Copyright: Β© 2026 Talmeez Ahmad (Apache-2.0)
- GitHub Repository:
TerminalDev-1/Cosmic
Verified Checkpoint Specs (90-Min Curated 4-Pillar Omni Cook)
| Property | Value |
|---|---|
| Architecture | Cosmic v0.6 (`300M |
| Total Parameters | 980,631,040 (980.63M β 1B) |
| Active Params / Token | 320.03M (Top-2 of 8 specialist SwiGLU experts per layer) |
| Strict Causality QA | past_diff = 0.00e+00 (bit-exact zero future-token leakage) |
| Total GPU VRAM (Training) | 4.78 GB (4,898.5 MB on RTX 4060 Ti 8 GB, zero CPU offload) |
| Throughput | 4,525 tok/s (8,889 chars/s) |
| Tokenizer | Pure-Rust BPE-6144 (cosmic_bpe_6144.cbpe, 1.96 chars/tok) |
| Training Corpus (Zero FineWeb-Edu) | 39.36 MB curated 4-pillar mix: GSM8K <think> reasoning, SmolTalk + Alpaca-cleaned + TinyStories replay, CodeAlpaca-20k, and 9,000 Three.js 3D graphics/shader/debugging tasks |
| Training Budget | 90 min (1,494 cumulative steps, ~24.5M BPE tokens) |
Validation BPC |
6.6187 β 0.8956 (60m) β 0.8410 (90m FINAL!) |
| 4-Bit Cosmic Compression | 935.20 MB vs 1,870.41 MB BF16 (2.00Γ smaller, RMSE = 0.00135, 0.8451 BPC live reload, delta = +0.0041) |
Files Included
cosmic_v06_1b_omni_90m_cb4.ccosmic-cb(935.20 MB): Lossless 4-bit Block-64 Cosmic Compression checkpoint (2.00Γsmaller than BF16, verified live at0.8451 BPC).cosmic_v06_1b_omni_90m.ccosmic(2.86 GB): Full resumableCSM6training checkpoint (BF16 weights +Cosmic Optimizer v4INT8 state).cosmic_bpe_6144.cbpe: Pure-Rust 6,144-vocab BPE tokenizer.- Full
Cosmic v0.6.0Rust + CUDA source code (cuda/cosmic_gpu.cu,src/*.rs,Cargo.toml,build.rs,build_cosmic_gpu.bat).
Build, Resume, or Run Inference Locally (Windows + CUDA)
cmd /c build_cosmic_gpu.bat
cargo build --release --features gpu
# Run live inference:
.\target\release\cosmic.exe --gpu --bpe --vocab 6144 --preset 300m --experts 8 --top-k 2 --resume cosmic_v06_1b_omni_90m.ccosmic --infer <val.txt>
Honest Alpha Limitations
- Early
90-minute(~24.5Mtokens) Alpha checkpoint trained from scratch on a single 8 GB GPU. - Already generates runnable JavaScript functions and accurate Three.js PBR debugging / scene structures, while exact unseen multi-step arithmetic and complex Python logic are still actively improving in continued training stages.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support