Ollama: MLX Sampler Improvements
Developer Daniel Hiltgen merged improvements to repeat penalty handling in the MLX runner's sampling system. The update refactors penalty application logic across seven files with expanded test coverage.
Duration: PT1M24S
Episode overview
This episode is a short developer briefing from Ollama.
It explains recent repository work in plain language.
- Show: Ollama
- Published: 2026-04-18T00:00:00Z
- Audio duration: PT1M24S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, this is your Ollama development briefing for Saturday, April 18th, 2026.
Daniel Hiltgen merged pull request 15631, implementing repeat penalties directly in the MLX sampler. This change moves penalty logic into the sampling component itself, affecting how the system handles text repetition during generation. The modification spans seven files in the MLX runner codebase, with significant…
The pull request adds 163 lines while removing 84, primarily expanding the sampling logic and test coverage. Key changes include modifications to the client, pipeline, and runner components, plus new operations in the MLX module. The sample test file received substantial additions, growing from 7 to 47 lines of test…
The change received one approval and generated two review comments before merging. This represents the sole development activity for today, with the additional commit matching the merged pull request content.
What's next: Teams should test the updated repeat penalty behavior in their MLX implementations. Monitor for any performance impacts from the refactored sampling logic.
That's your Ollama update for today. We'll be back Monday with more development news.
Nearby episodes from Ollama
- Launch System Overhaul and Documentation Updates
- MLX Performance Boost and Model Updates
- New CLI Integration and Performance Improvements
- Weekly Recap - MLX Performance & Launch Integration Expansion
- Windows WSL Integration Simplified
- Gemma4 Enhancements and Copilot CLI Integration
- Hermes Agent Integration and Gemma4 Improvements
- Gemma 4 MLX Support and Mixed-Precision Improvements