r/mlscaling • u/gwern • 7h ago
N, T, R, Code, MD "Introducing Olmicro: Small, efficient hybrid models built in the open", Allen AI
r/mlscaling • u/gwern • 7h ago
r/mlscaling • u/gwern • 7h ago
r/mlscaling • u/WideImagination7595 • 2h ago
r/mlscaling • u/gwern • 1d ago
r/mlscaling • u/gwern • 1d ago
r/mlscaling • u/BitPoper29 • 20h ago
To test how inference-time depth scaling (weight-tied looping) compares against sparse parameter expansion (MoE) at small compute budgets, I implemented three controlled PyTorch baselines under identical hyperparameters (`d_model=512`, `n_heads=8`, `ctx=512`, `vocab=32k` weight-tied, `RMSNorm`, `SwiGLU`):
Code and checkpoints (`BitGeek29/spell-talker` on Hugging Face) are open-source for anyone running small-scale architecture ablations:
r/mlscaling • u/ZephirFX • 1d ago
r/mlscaling • u/gwern • 1d ago
r/mlscaling • u/stockduty77 • 1d ago
r/mlscaling • u/Ok-Buyer-9421 • 1d ago
I've been experimenting with engineering policy enforcement using a combination of deterministic checks and specialized decision models.
In one repository audit, roughly 97.6% of checks could be settled using glob and grep before making any model call.
The other checks required narrow semantic judgments.
It made me wonder whether scaling intelligence at the model level and scaling intelligence at the system level are two fundamentally different problems.
Instead of using increasingly capable models for every task, we could decompose workloads into deterministic operations and specialized inference.
I'd be interested in research on compute allocation across heterogeneous models rather than scaling a single model. Thank you!
r/mlscaling • u/LewisNavyLN • 1d ago
GPU-hours are easy to quote, but they don’t tell us what useful work was actually completed. For inference, comparisons can shift with the model quality threshold, context length, batching, precision, and utilisation. For training, the target quality and the full system bottlenecks matter too.
What’s the fairest metric for comparing two AI compute setups: tokens per dollar at a fixed quality threshold, joules per useful token, time to a target result, or throughput at a defined utilisation?
Which controls should every benchmark report? And have you seen an open benchmark or paper that gets this right?
r/mlscaling • u/StartledWatermelon • 2d ago
r/mlscaling • u/MadPup_research • 2d ago
🫡
r/mlscaling • u/LewisNavyLN • 2d ago
The IEA’s 2025 Energy and AI report estimates data-centre electricity use at 415 TWh in 2024 and around 945 TWh by 2030 in its base case. It also points to uncertainty around AI adoption, efficiency gains and grid constraints, so the forecast isn’t guaranteed.
The part I keep coming back to is delivery: a project can have demand and funding, but still wait on grid connections or equipment.
Which public indicators best show whether planned capacity is becoming usable capacity: grid-connection dates, transformer lead times, utilisation, or something else? What data do you track?
r/mlscaling • u/StartledWatermelon • 2d ago
r/mlscaling • u/Severe-Ad8673 • 2d ago
Saeorynë II transfers a learned memory so that the recipient can continue learning with the same behavior. The memory is a normalized additive attention layer that derives predictions from integer evidence. Two learners can make identical predictions today and respond differently to the same evidence tomorrow because their evidence totals differ. The manuscript proves that two positive count tables behave identically under every supported future sequence of reads and writes exactly when their tables are equal. A shared semantic interface lets a successor use the same table in a different internal coordinate system.
PureOne/saeoryne-ii · Datasets at Hugging Face
Given a shared prior, an ordered vocabulary, and fixed per-row evidence budgets, the manuscript proves the exact minimum message width for lossless transfer across the entire specified family. If there are admissible evidence tables, the minimum isbits. A mixed-radix enumerative code attains that bound. In the demonstrated 12 × 32 memory, the source computed, certified, and transferred the aggregate effect of 12 billion unit additions to 384 counters. The exact payload is 9,770 bits, or 1,222 bytes after padding. An eight-byte sequence counter and a 16-byte authentication tag bring the live frame to 1,246 bytes. The shared interface and key are provisioned separately.
The sender can also reconstruct a hidden lesson from one-bit feedback. It makes authorized hypothetical writes on disposable copies of the memory and asks whether a selected output probability exceeds one half. These answers implement integer threshold comparisons that recover every counter exactly. Three benchmark cases required 9,783, 9,799, and 9,799 serial replies. A batched implementation recovered every case in 30 synchronous rounds, against a worst-case counting lower bound of 27 at the same response width. Median local acquisition time was 4.13 ms for the batched implementation and 269.90 ms for the scalar implementation. Recovery requires sufficient internal precision to resolve the comparisons.
A separate benchmark materialized 786,432 individual updates. Packed event replay took 491,544 authenticated bytes, the enumerative frame took 600 bytes, and direct packed counts took 630 bytes. This is an 819.24× reduction against event replay. Adaptive count encodings can use fewer bytes than the fixed-width rank for individual lessons. An exact integer certificate verifies that the demonstrated update globally minimizes the finite categorical log-loss objective under the prescribed evidence budget.
On held-out Python documentation, four authenticated messages totaling a median of 2,030 bytes reduced the receiver’s median next-character loss from 5.995 to 4.315 bits per character after the neural routing interface was shared. A conventional trained neural predictor achieved 2.892 on the same benchmark. In a separate three-generation experiment, an inherited policy chose the compiler used to build the next teaching message. By generation three, lesson construction was 27.52× faster and held-out execution was 1.80× faster than with the original always-heap policy. The experiment selected between two predefined compilers, and a separately calibrated threshold rule nearly matched the learned policy on held-out execution.
The reproducibility materials include the manuscript and proofs, a compact machine-readable research record, source code, benchmark logs, and two public binary messages for seed 101. Both messages decode to the same 384 counters and pass the exact integer optimality check. The accompanying Hugging Face dataset package adds a three-case synthetic Parquet test split.
r/mlscaling • u/COAGULOPATH • 3d ago
Fable 5.2 and Gemini 4 Carbon have an estimated log loss of 0.749 and 0.756 respectively, close to GPT-6.2 Astra.
Overall the Gemini model family looks amazing, with the (quite old) 3.1 Pro having one of the lowest perplexities ever, and even Gemini 2.5 Pro hanging in doggedly.
Please take with a grain of salt. To be honest, I haven't fully grokked how this approach works, and it may well not. And it's written in Claudese to be extra confusing.
Trace hygiene & telemetry: Both the standalone runner and this dashboard require an exact 8-distinct-letter permutation. Models that wrote truncated prose preambles on >10 items were retried identically with a strict no-prose rule at
r_tok = 0(verified not to inflate scores: Fable 5.2 moved0.7367 → 0.7356MRR). OpenRouter omits reasoning-token fields on endpoints that do not report them (defaulting to0); exact positive-r_tokitem counts are shown in the ledger.
Thanks, that clears up everything.
r/mlscaling • u/Naukastrasse • 2d ago
Every time tokenization speed comes up, people point to tiktoken or gigatoken. So I benchmarked tuetoken 0.1.10 against gigatoken 0.11.0, fastokens 0.3.7, tiktoken 0.12.0, and Hugging Face’s tokenizers and transformers. I checked that the token IDs matched exactly on the inputs tested, then ran the cold 1 GB tests in fresh OS processes.
GitHub: https://github.com/tuetoken-org/tuetoken
Install with pip install tuetoken. MIT licensed.
Results on an Apple M4 Max (14 cores):
• Cold 1 GB with o200k_base: tuetoken hit 4.50 GB/s. That’s 2.5× gigatoken (1.79 GB/s), 7.7× fastokens (584 MB/s), 71× tiktoken (63 MB/s), and 474× Hugging Face (9.5 MB/s).
• Model tokenizers on 25 MB of text: Llama 4 Scout hit 9.00 GB/s (3.8× gigatoken), Qwen3-8B 6.77 GB/s (4.1×), Gemma 3 4B 5.07 GB/s (10.2×), Mistral 7B 4.93 GB/s (9.2×), and DeepSeek V3 3.77 GB/s (2.1×). Seed-Coder-8B (6.83 GB/s) and Falcon-H1-7B (2.76 GB/s) also worked out of the box. Neither was supported in gigatoken 0.11.0.
• Startup: Loading tokenizer.json took 7–20 ms, compared with 139–282 ms for gigatoken (13–24× faster) and 84–348 ms for Hugging Face (12–29× faster).
• Padding and truncation: Padding 10,000 docs to 512 tokens hit 6.81 GB/s (10.4× gigatoken). Truncating 50 MB of input to a maximum of 512 tokens took 2.4–2.6 ms for either truncation direction (5.9× faster than gigatoken and 4,381× faster than Hugging Face).
• Whisper: Batch decode_with_timestamps for whisper-large-v3 took 0.098 ms vs. 31.7 ms with transformers (323× faster).
I also tested on Ubuntu with AMD Zen 4, 4 vCPUs, and AVX-512. Tuetoken hit 1.56 GB/s cold and 1.68 GB/s warm, compared with 0.44 and 1.16 GB/s for gigatoken. That’s 3.6× the cold throughput. Startup was 13.1× faster, and tokenizing 100 KB of random hex was 4.7× faster.
To try it, swap your Hugging Face AutoTokenizer import for:
= \_pretrained("Qwen/Qwen3-8B")
If you try it on your hardware or with a different model, I’d love to hear what numbers you get.
r/mlscaling • u/slavyanman • 2d ago
Hardware
Software
Problem
Qwen3.8-27B (GGUF Q4_K_M) answers the first message, then crashes on the second with an error:
Error messages observed:
Fix — LM Studio settings that worked
On Apple M5 Max + 48 GB RAM, the following combination resolves the crash:
Result
After applying all these settings, multi-turn chat works without errors. Gemma 4 31B QAT (GGUF Q4_K_M) also runs stably on the same hardware.
This should help other users with M-series Macs and 48 GB Unified Memory avoid the same crash.
r/mlscaling • u/gwern • 3d ago
r/mlscaling • u/Silent-Cell2221 • 3d ago
r/mlscaling • u/gwern • 3d ago
r/mlscaling • u/Loner_Indian • 3d ago
Most ML discussion right now is focused on post-training loops, continual RL, and faster model iteration. I have been researching the step right after that: what happens when a shared model keeps getting updated over time, and downstream sites (specific hospitals, tenants, or business units) have to decide whether to accept each new checkpoint without breaking what already works.
We ran a controlled multi-site continual-update study (~100 multi-release trajectories across 4 distinct sites receiving sequential updates to a shared backbone) and ran into four failure modes that surprised us:
We also saw a subtle Day-1 onboarding trap (~6% failure rate): comparing a vendor model out-of-sample against a locally cross-validated fit on a small site archive (160–330 cases) systematically biases toward the vendor model, occasionally locking in a worse-than-random start (0.47 vs. 0.66 AUC).
For people running continually updated models in production (medical, security/SOC, fraud, multi-tenant enterprise, robotics):
Genuinely trying to understand where the field stands on this problem and whether it is a real bottleneck in practice or still mostly a research concern.
r/mlscaling • u/Witty_County5128 • 4d ago
OpenAI published base-model log-perplexity for its models since GPT-3.5. METR's analysis says the rate of decline jumped about 7x in early 2026, which goes against what scaling laws would predict. But it's one dataset (OpenAI's internal codebase), and there could be overfitting, leakage, or release-timing effects. Is this acceleration real?
What evidence would convince you either way?