HuggingFaceFW/fineweb-edu
Viewer β’ Updated β’ 3.5B β’ 519k β’ 1.66k
980.63M β 1B Sparse MoE Preview) β Pure-Rust + Native CUDA
Cosmic 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 Cosmic Compression (block-64 custom learned palette compression) β trained from scratch on a single 8 GB RTX 4060 Ti ($0.00 cloud cost).
TerminalDev-1/Cosmic10-Min v0.6.0 Run)
| 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,735 tok/s (9,284 chars/s β 1.68Γ faster real text than v0.5 [1B Dense]) |
| Tokenizer | Pure-Rust BPE-6144 (cosmic_bpe_6144.cbpe, 1.96 chars/tok) |
| Optimizer | Cosmic Optimizer v4 (1.06 B/param Block-64 INT8 + 0.00 B/param Grad Accum Accum=4, LR=4.0e-4β1.5e-5 + router z-loss) |
| Training Budget (Preview) | 10.03 min (174 steps, 2.85M BPE tokens on FineWeb-Edu, ZERO spikes) |
| Validation BPC | 6.5623 β 3.1266 best (3.1729 final) |
| 2-Bit Cosmic Compression Size | 350.70 MB vs 1,870.41 MB BF16 (5.33Γ smaller!, RMSE=0.00741, 3.2019 BPC live reload) |
cosmic_v06_1b_moe_clean_10m_cb2.ccosmic-cb (350.70 MB): 2-bit Block-64 Cosmic Compression checkpoint (5.33Γ smaller than BF16, verified live at 3.2019 BPC).cosmic_v06_1b_moe_clean_10m.ccosmic (2.86 GB): Full resumable CSM6 training checkpoint (BF16 weights + Cosmic Optimizer v4 INT8 state).cosmic_bpe_6144.cbpe: Pure-Rust 6,144-vocab BPE tokenizer.Cosmic v0.6.0 Rust + CUDA source code (cuda/cosmic_gpu.cu, src/*.rs, Cargo.toml, build.rs, build_cosmic_gpu.bat).cmd /c build_cosmic_gpu.bat
cargo build --release --features gpu
# Resume cooking from this clean preview checkpoint:
.\target\release\cosmic.exe --gpu --bpe --vocab 6144 --preset 300m --experts 8 --top-k 2 --accum 4 --resume cosmic_v06_1b_moe_clean_10m.ccosmic <train.txt> <val.txt> 600
# Run live inference only:
.\target\release\cosmic.exe --gpu --bpe --vocab 6144 --preset 300m --experts 8 --top-k 2 --resume cosmic_v06_1b_moe_clean_10m.ccosmic --infer <val.txt>
2.85M tokens seen on a 980.63M-parameter model β proving clean, spike-free 1B Sparse MoE training in 4.78 GB VRAM and 5.33Γ Cosmic Compression down to 350.70 MB).