Explore the research collection
19 entries · Follow this search
- Code
xLLM: Light-weight infrastructure for express LLM pre-training
Apache-2.0 PyTorch framework for long-context LLM pretraining supporting dense, MoE, and MoVA architectures, with FSDP1/FSDP2, data/model/context parallelism, custom CUDA kernels, FlashAttention, online tokenization and packing, evaluation, HuggingFace export, and vLLM support.
- Model
Naive-N0.5-Flash: Building Frontier AI with AI
NaiveAI open-weight 309B MoE (15.5B active; 48 layers) built via AI-centered R&D on MiMo-V2.5. Hybrid SWA (128-token window) + DeepSeek Sparse Attention (DSA top-2048, GQA4) with no full-attention layers; native 1M context. Continued pretraining 3.25T tokens (indexer warmup 50B + sparse CPT 3T + decay/SFT 200B). NaiveRT inference (mega-kernel fusion, PDL, speculative decoding) claims ~50 tok/s Standard and up to ~2,000–2,122 tok/s Ultrafast on 8 GPUs. Weights + inference code MIT; HF NaiveAI/Naive-N0.5-Flash (+ FP8); API pricing $0.10/$0.40/$0.01 per M input/output/cache-read. Strong coding / agent / AutoResearch evals (SWE-Bench Pro, Terminal-Bench, PaperBench, etc.).
- Paper
Exact Quantile Balancing and Load-Error Injection for Mixture-of-Experts
Introduces Exact Quantile Balancing (EQB), a distributed two-pass BF16 radix-selection method that recovers exact global-batch routing quantiles with token-count-independent communication, addressing shard-averaged or approximate Quantile Balancing. Load-Error Injection (LEI) feeds local hard-load residuals directly into router-score gradients so correction is microbatch-specific rather than relying on token-independent biases or GShard's normalized-probability surrogate. On a 7.5B MoE with 256 experts trained for 100B/500B tokens, EQB lowers global imbalance and improves benchmark BPB versus rank-averaged QB, while LEI lowers local imbalance versus GShard at comparable or slightly better quality; limitations include one model scale/seed and a proxy throughput metric.
- Paper
Incompressible Knowledge Probes: Estimating Black-Box LLM Parameter Counts via Factual Capacity
Pine AI paper (arXiv 2604.24827v2, cs.LG/cs.AI; Bojie Li) introducing Incompressible Knowledge Probes (IKPs): 1,400 factual questions across 7 obscurity tiers (200 each; 16 domains) to estimate black-box LLM parameter counts from factual capacity rather than inference economics. Default scoring λ=0 (no hallucination penalty). Calibrates log-linear IKP accuracy→params on 93 open-weight models (135M–1,600B, 19 vendors), R²=0.910 (accuracy≈0.159·log10(N_B)+0.242); LOOCV median fold error 1.48× (72% within 2×, 86% within 3×); 90% prediction interval ~3× (coarse order-of-magnitude). MoE: total params beat active (R² 0.67 vs 0.41). Evaluates 201 models / 27 vendors on curated 1,311/1,400 probes; reports ~97 proprietary frontiers as prediction bands (safety-tuned = lower bounds). Falsifies Densing Law for factual capacity (time coeff +0.0013/mo, rejects +0.0129/mo at p<10⁻¹⁵). Releases toolkit + probe set + companion site; hallucination-similarity fingerprinting.
- Model
Xor (juspay/xor) — TypeSafe-compatible System One MoE for typed decisions
juspay/xor (revision xor-v1) is a fully merged BF16 post-train of Qwen/Qwen3.6-35B-A3B (35B MoE, ~3B active) for typed decision tasks. Served through TypeSafe-compatible /v1/systemone (noul binary probability, choice categorical, score ordinal; up to 8 images). Packaging: ~66 GB model weights; Hub usedStorage ~70.2 GB; serving bundle serving/xor-serving.tar.gz; SGLang pinned image. Self-run public JEVBench (not official rank; issue #20): Easy 100%, Original 97.22%, Hard public 77.48%. Apache-2.0. Cross-links: System One/Jev 1363, CLM 1434, Cua-S1 1440.
- Model
Ring-1T (inclusionAI)
MIT-licensed bailing_moe causal LM on HF (~999.7B safetensors params reported). Preview (Ring-1T-preview) released earlier for community exploration; full Ring-1T is the canonical open release tied to arXiv:2510.18855.
- Paper
EMO: Pretraining Mixture of Experts for Emergent Modularity
AllenAI/Berkeley paper (arXiv 2605.06663, 2026-05-07). EMO restricts tokens in a document to a shared expert pool so semantic domain modules emerge. 1B-active / 14B-total MoE (128 experts, k=8) pretrained on 1T OLMoE-mix tokens (+50B anneal). Full model matches a standard MoE; retaining 25% / 12.5% experts drops ~1% / ~3% abs vs severe drops for regular MoEs. Experts specialize to semantic domains rather than lexical patterns. Releases model, code, blog, visualization.
- Post
Inkling: Our Open-Weights Model
Thinking Machines Lab news post (2026-07-15) introducing Inkling: MoE transformer with 975B total / 41B active params, up to 1M context, pretrained on 45T multimodal tokens (text/image/audio/video). Native text+image+audio reasoning with controllable thinking effort; positioned as a broad generalist base for fine-tuning rather than the strongest overall model. Weights on Hugging Face (thinkingmachines/Inkling and NVFP4); fine-tuning via Tinker; hosted APIs on Together/Fireworks/Modal/Databricks/Baseten. Companion preview Inkling-Small (276B/12B active). Overlaps papers_local id 656 (model-card intake) but this Discord item points at the launch news URL.
- Model
BTL-4
Bad Theory Labs BTL-4: 35B Qwen3.5 MoE (~2.1B active) finetuned from Ornith-1.0-35B on trajectories whose code actually ran and passed tests. Vendor: SWE-bench Verified 78.4%; BFCL v4 AST 73.5% (+4.3 over base, paired, 1240 cases); LiveCodeBench v6 66.1% (easy 99.1 / medium 86.7 / hard 60.5; 442 problems; 16K→32K output budget +5.2). Native 262K context. Compact is one 9.96 GB GGUF at 2.30 bpw for a 16 GB card; tweet claims KV ~20 KB/token so 262K still fits. Per-group clip search (12 s, no calib data) moved 2-bit behavioural retention 77.1%→95.8%; Compact reproduced 111/118 full-precision gate behaviours (94.1%). Stock llama.cpp/Ollama/LM Studio. Apache-2.0. Companion Macaw 2.7B is a separate Mac agent, not this row.
- Model
Inkling: open-weight controllable-effort multimodal MoE
Inkling (released 2026-07-15): 66-layer decoder-only MoE, 975B total / 41B active (6-of-256 experts + 2 shared), hybrid local/global attention, native text/image/audio in, text out, 1M context. Sibling Inkling-Small 276B/12B. Apache-2.0 weights on HF. Distinctive RL: Reward = task reward − λ × (# reasoning tokens), with λ and effort-instruction varied across rollouts so the model learns to spend thought rather than maximize it; inference effort is a continuous 0–0.99 knob. Model-card highlights at effort=0.99 include HLE text 29.7% / tools 46.0%, AIME 2026 97.1%, GPQA Diamond 87.2%, SWE-bench Verified 77.6%. Discord post is Vipul Gupta’s note of that RL trick, not a TML thread.
- Code
MoonEP: A Perfectly Balanced Expert Parallelism Library via Dynamic Redundant Experts
Moonshot MIT EP communication library (Kimi K3 Open Day, with FlashKDA and AgentEnv). Hard invariant: every EP rank receives exactly S×K tokens regardless of router skew. An on-GPU planner duplicates a small set of experts from the current routing, prefetches their weights, and reduces duplicated grads back to home ranks. Zero-copy permute/unpermute writes tokens straight into expert-grouped remote buffers; static S×K shapes drop per-layer host sync and stop the fragmentation that OOMs DeepEP under imbalance. On H20 EP=8 vs DeepEP v2, comm time stays nearly flat as maxvio grows while DeepEP degrades, and e2e iteration time stays flat. Training prefetch slots B=E/R; inference can use B=3–4. NVIDIA GPU; Zhenwu PPU listed as coming. Cite moonep2026.
- Paper
Ling and Ring 2.6 Technical Report: Efficient and Instant Agentic Intelligence at Trillion-Parameter Scale
Inclusion AI Ling-2.6 (instant) and Ring-2.6 (thinking) upgrade Ling-2.0 via hybrid Lightning Attention+MLA (7:1), ~9.6T continue-pretrain tokens, and native agentic RL. KPop replaces IcePop’s fixed-ratio double-sided mask with a symmetric binary-KL token mask (one hyperparameter φ), adapting to train–inference mismatch on long-horizon rollouts. Paper: Ring-2.6-1T SWE-bench Verified 70.8%→76.28% with KPop; tweet claims >76 with pure RL. Open-sourced Ling-2.6-flash, Ling-2.6-1T, Ring-2.6-1T.
- Code
KTransformers
kvcache-ai/ktransformers is a CPU-GPU hybrid inference/SFT framework (MADSys Tsinghua / Approaching.AI / 9#AISoft). Current tree exposes kt-kernel serving (AMX/AVX INT4/INT8, NUMA-aware MoE, hot-GPU/cold-CPU experts, SGLang integration) and LLaMA-Factory SFT/DPO for ultra-large MoE on limited VRAM. README: DeepSeek-R1/V3 on a single 24GB GPU plus large DRAM; SFT DeepSeek-V3 ~80GB / 3.7 it/s on 4x RTX 4090, claimed 6-12x vs ZeRO-Offload in their MoE SFT benches. SOSP 2025 paper: AMX kernels, async CPU-GPU scheduling, Expert Deferral (CPU util <75% to ~100%, up to 1.45x extra throughput, <=0.5% avg accuracy drop). Apache-2.0. Docs site kvcache-ai.github.io/ktransformers.
- Code
nanowhale
huggingface/nanowhale ports DeepSeek-V4 (MLA, 4+1 MoE with top-2, Hyper-Connections hc_mult=4 / Sinkhorn, MTP) into HF Trainer/SFTTrainer at hidden 320 / 8 layers / vocab 129,280 / ctx 2048 (~110M params: 41M embed + 69M non-embed). Pretrain 5K steps on FineWeb-Edu (~2.6B tokens, final loss ~5.3, 1×H100) then 3K-step SmolTalk SFT. Checkpoints on HF as cmpatino/nanowhale-100m-base and cmpatino/nanowhale-100m. README flags bf16 NaNs from Hyper-Connections at this scale (use fp32) and a from_pretrained re-init quirk. README license MIT; GitHub API has no SPDX (no LICENSE file). Companion HF base card is Apache-2.0.
- Model
fuse-1 Lite
fuse-1 Lite (Fuse3ForCausalLM) freezes LiquidAI/LFM2.5-2.6B (2.70B) and 960 coding experts taken from Qwen/Qwen3.6-35B-A3B (3.02B), training only ~2.0M router+scale params. 30 host layers, 32 experts/layer, top-8; after 300 steps (~8.3 min on a Modal L4, 55 examples) the router uses 11/30 layers and zeros the rest. Card: 5.72B total, Apache-2.0, trust_remote_code. HumanEval pass@1 listed TBD. Siblings 4-bit/8-bit/MLX/GGUF/vLLM; the limitations section still warns the 55-example router may not generalize and that some backends need custom code.
- Model
Maple-Preview
Maple-Preview is a 20B-A1B reasoning MoE (24 layers, 256 experts / 8 active, 3:1 SWA-512:GA attention) with ternary weights and custom MapleForCausalLM code. Card: 131,072 context, 5.31 GB packed checkpoint, 218 tok/s on an M4 Mac mini (5–16× vs Gemma 4 / Qwen3.5 / gpt-oss in their figure). Preview is reasoning-focused with only small-scale RL; they flag weaker agentic evals before a full release. Transformers path needs Triton/FlashAttention CUDA; Apple Silicon numbers use a separate runtime. MIT. HF hosts 9 BF16 safetensor shards (~20.21B params).
- Paper
PithTrain: A Compact and Agent-Native MoE Training System
Defines agent-task efficiency (ATE) and ships PithTrain, an ~11K-line Python-native MoE stack (PP, FSDP DP, CP, EP, DualPipeV overlap, torch.compile, FP8) built on compactness, no implicit indirection, and in-repo agent skills. Matches or exceeds Megatron-LM tokens/s on GPT-OSS-20B, Qwen3-30B-A3B, and DeepSeek-V2-Lite on H100/B200 (e.g. 280.0K vs 264.1K tok/s on 4×8 H100 Qwen3-30B-A3B PP4/EP8). ATE-Bench (12 Q&A, 4 operate/profile, 4 new-feature ports) with Claude Opus 4.7: up to 62% fewer agent turns and 64% less active GPU time vs production frameworks on the hardest new-feature tasks. Code Apache-2.0 https://github.com/mlc-ai/pith-train.
- Paper
Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering
OpenMLE is a full stack: OpenMLE-Gym (5,758 quality-gated executable tasks), OpenMLE-ERL (execution-grounded SFT+RL on the four operators), and OpenMLE-Evo (experience-guided search). Frontis-MA1-35B post-trained on this stack raises MLE-Bench Lite Medal Average from 39.39% (Qwen3.6-35B-A3B) to 60.61% under OpenMLE-Evo and 71.21% under OpenMLE-Evo-Max (12h / one RTX 4090 12GB). NatureBench Lite Match-SOTA moves 50%→70% by swapping the trained model and 20%→50% by swapping the harness. Weights, gym, and traces are released.
- Paper
Training nGPT
Extends nGPT (unit-hypersphere parameters and activations) from dense Transformers to Nemotron-3-style hybrid Mamba-2–Transformer MoE. Recipe: Logit Gradient Preconditioning, logarithmic LR decay, GatedAdamW (a=0.5), angular step cap, optional tangent projection / exploration noise / second-moment growth clipping. On the same architecture, 14B-total nGPT reaches the GPT+AdamW validation loss with about half the tokens; across 1B-14B total (0.21B-1.74B active) validation loss is ~2.5-3.4% lower. Limited-budget study; not an exhaustive ablation.