r/mlscaling • • 9d ago

OA, R, Emp, Theory Perplexity and Intelligence

Thumbnail
openai.com
39 Upvotes

r/mlscaling • • 3h ago

Workshop: Production ML Engineering — Model Deployment, Monitoring and Drift Detection

2 Upvotes

hey everyone! sharing this for people interested in ML infrastructure and the challenges that come with running models beyond experimentation.

getting a model to perform well on a test dataset doesn't necessarily mean it will continue performing well in production.

once deployed, you need to think about reproducibility, inference pipelines, data quality, monitoring and what happens when the underlying data distribution changes.

Packt is hosting a hands-on Production ML Engineering workshop on December 5 covering these practical challenges.

some of the topics include:

  • deploying trained ML models
  • building reproducible workflows
  • validating incoming data
  • monitoring model performance
  • detecting data and model drift
  • working with XGBoost, LightGBM, CatBoost and scikit-learn
  • building applications with Streamlit

it's a live online workshop starting at 9:30 AM EST.

if you're interested in the engineering required to keep ML systems running reliably, this might be worth checking out.

Full workshop details and registration


r/mlscaling • • 16h ago

N, OA, Econ OpenAI struggling to raise $20 billion, even after lowering target valuation and fundraising expectations (Financial Times)

Post image
22 Upvotes

r/mlscaling • • 7h ago

Huge dataset to test whether an LLM solves the same problem with equal accuracy in both languages and/or finetunning

2 Upvotes

I found this really big dataset with around 11k matched question pairs in 6ish languages, and it has no machine translation: I confirmed there actually was

It helped me fine-tune models by teaching specialized mathematical vocabulary, symbols, and phrasing that standard translators often get wrong

If anyone wants it, it's here:

https://huggingface.co/datasets/rudrarajumc-star/Bilingual-Math-Dataset


r/mlscaling • • 1d ago

Should we scale intelligence or reduce how much intelligence a system needs?

Post image
5 Upvotes

I've been experimenting with specialized decision models like Jev instead of general-purpose LLMs for engineering rule enforcement.

What interests me is the architectural choice.

Rather than increasing model capabilities to solve a complex task, we can decompose the task into smaller problems:

  • Deterministic operations that require no intelligence.
  • Narrow semantic judgments that require specialized intelligence.
  • Explicit software logic that combines the results.

For rule enforcement, we don't necessarily need language generation, planning or general reasoning. We need reliable judgments against clearly defined criteria.

I'm interested in whether heterogeneous systems combining deterministic software and specialized models could offer a better reliability-to-compute trade-off than relying on increasingly capable general-purpose models.

I'd be interested in research comparing these two approaches at the system level, rather than individual model benchmarks.


r/mlscaling • • 1d ago

N, T, R, Code, MD "Introducing Olmicro: Small, efficient hybrid models built in the open", Allen AI

Thumbnail
allenai.org
21 Upvotes

r/mlscaling • • 1d ago

Looking for Collaborators: Exploring New Linear Algebra Approaches to LoRA Model Merging

Thumbnail reddit.com
2 Upvotes

r/mlscaling • • 1d ago

N, A, Safe "We Must Pace the Frontier, Part 2", Dario Amodei 2026-11-30

Thumbnail
darioamodei.com
4 Upvotes

r/mlscaling • • 22h ago

D Anthropic is delaying its next model's training to January, citing safety. Real, or are the big models hitting a wall?

0 Upvotes

Dario says Anthropic pushed back the start of training its next model from November to at least January, for security and alignment. He says no incident caused it. Essay: https://darioamodei.com/post/we-must-pace-the-frontier-part-2

Two questions:

  1. Is it really safety, or have they run out of easy gains? The essay never says progress has stalled, but we only have their word.
  2. They say smaller research is still running. So do algorithm and kernel improvements keep going while the big run waits?

What do you think?


r/mlscaling • • 2d ago

N, Hardware, NV "2 California companies are buying Nvidia's most advanced chips. Those companies are actually Chinese-owned, a CBS News investigation reveals."

Thumbnail
cbsnews.com
16 Upvotes

r/mlscaling • • 2d ago

Hist, Forecast, D, Econ "After Record Loss, Leopold Aschenbrenner Is Still Betting Everything on AI: “Next year is the last year that anything in modern life still feels a little normal,” Aschenbrenner, investor & AI prophet, says", New Yorker

Thumbnail
newyorker.com
35 Upvotes

r/mlscaling • • 2d ago

Small-scale scaling comparison in PyTorch: Parameter-sharing (20M Looped, 8–32 unrolled steps) vs. Sparse Capacity (117M-A67M Top-2 MoE) vs. 42M Dense

0 Upvotes

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`):

  1. Dense (`41.8M` active/total): 8 distinct layers.
  2. Top-2 MoE (`117.3M` total / `67.0M` active): 8 layers × 4 SwiGLU experts with auxiliary load-balancing loss.
  3. Looped Transformer (`20.3M` active/total): 1 shared transformer block unrolled $T=8$ steps during training via truncated BPTT (`bptt_steps=8`), decoupling parameter count from inference FLOPs (tested up to $T=32$).

Code and checkpoints (`BitGeek29/spell-talker` on Hugging Face) are open-source for anyone running small-scale architecture ablations:

https://github.com/BitGeek29/spell-talker


r/mlscaling • • 2d ago

OP, RL, Hardware "The End of Robot Learning and the Last Research Agenda", Kyle Vedder 2026-11

Thumbnail
vedder.io
3 Upvotes

r/mlscaling • • 2d ago

Streaming compressed 4D volumes into NVIDIA fVDB, reducing RAM load by up to 300x

Post image
3 Upvotes

r/mlscaling • • 2d ago

D, Econ, RL, Smol How much inference compute are we wasting on tasks that don't require general intelligence?

2 Upvotes

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 • • 2d ago

RL Success rate plummets from 98.2% to 0.2%! 360 × Peking University expose the "score gaming" reality of safety training | ACL'26

Thumbnail
reddit.com
3 Upvotes

r/mlscaling • • 3d ago

R, Emp AI R&D-relevant model capabilities are improving rapidly and are getting harder to measure [but still no acceleration visible]

Thumbnail
metr.org
8 Upvotes

r/mlscaling • • 3d ago

RNN Parallelising recurrent neural networks – MD+PP proof of concept

Thumbnail gallery
0 Upvotes

🫡


r/mlscaling • • 4d ago

Left to Solve: 59,399 open math problems, attacked by AI agents [crowdsourcing platform]

Thumbnail
lefttosolve.com
7 Upvotes

r/mlscaling • • 3d ago

Saeorynë II - Exact Machine Teaching and Optimal Fixed-Width State Transfer for Normalized Additive Attention Memory with One-Bit Recovery and Recursive Compiler Selection

0 Upvotes

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.

Saeorynë II - Exact Machine Teaching and Optimal Fixed-Width State Transfer for Normalized Additive Attention Memory with One-Bit Recovery and Recursive Compiler Selection | Zenodo

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 • • 4d ago

R Anpaure Pretraining Index (estimating the perplexity of Gemini, Claude, etc)

Thumbnail anpaure.github.io
11 Upvotes

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 moved 0.7367 → 0.7356 MRR). OpenRouter omits reasoning-token fields on endpoints that do not report them (defaulting to 0); exact positive-r_tok item counts are shown in the ledger.

Thanks, that clears up everything.


r/mlscaling • • 4d ago

I built a Rust BPE tokenizer that hits 4.5 GB/s cold (9.0 GB/s on Llama-4-Scout) — 2.5–10x faster than gigatoken, 13–24x faster startup, drop-in for AutoTokenizer

Post image
2 Upvotes

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:

from tuetoken import AutoTokenizer  
tok = AutoTokenizer.from\_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 • • 4d ago

R, A, Hardware "AWS Challenger: Trainium3 Inference and Microarchitecture Deep Dive", Semi-Analysis

Thumbnail
newsletter.semianalysis.com
8 Upvotes

r/mlscaling • • 4d ago

[Fix] Qwen3.8-27B GGUF crashes on Apple M5 Max — LM Studio settings that work

Thumbnail
gallery
0 Upvotes

Hardware

  • Apple MacBook Pro 16"
  • Chip: Apple M5 Max
  • Memory: 48 GB Unified Memory
  • Storage: 2 TB SSD
  • OS: macOS (Apple Silicon)

Software

  • LM Studio 0.4.29
  • Model: Qwen3.8-27B (GGUF Q4_K_M)

Problem
Qwen3.8-27B (GGUF Q4_K_M) answers the first message, then crashes on the second with an error:

Error messages observed:

  • Engine protocol predict stream returned an error: {"code":500,"message":"Compute error.","type":"server_error"}
  • Engine protocol predict stream returned an error: {"code":500,"message":"got exception: Unexpected empty grammar stack after accepting piece: @ (31)","type":"server_error"}
  • Prediction request aborted but the prediction loop handler of the plugin lmstudio/default-prediction-loop-handler did not abort in time.
  • Cannot send on a terminated channel.

Fix — LM Studio settings that worked
On Apple M5 Max + 48 GB RAM, the following combination resolves the crash:

  1. LM Studio settings: Hardware → GPUs: 1 GPU detected with Metal — Apple M5 Max (VRAM Capacity: 37.44 GB • Metal • deviceId: 0). Toggle OFF (do not use GPU for inference).
  2. Model format: use GGUF Q4_K_M quantized versions only (e.g., Qwen3.8-27B Q4_K_M or Gemma 4 31B QAT Q4_K_M). Do not use MLX or unquantized models.
  3. Max Concurrent Predictions: set to 1 (default is 4).
  4. Unified KV Cache: OFF.
  5. Offload KV Cache to GPU Memory: OFF.
  6. Flash Attention: OFF.

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.