🛠️[v0.3.42] Release Note: More Reliable Dynamic Backend Loading, Safer MTMD Processing, and Advanced Batch Support #151
JamePeng
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Release Note: 0.3.42
Better DLL Loading, Safer Batching, and Stronger Runtime Validation
It has only been a short time since the last release, but this update brings several important stability improvements and prepares the foundation for upcoming features.
The main focus of 0.3.42 is improving runtime reliability: from Windows backend loading, native error handling, MTMD validation, to more flexible batch management for future speculative decoding support.
Highlights
More Reliable Windows DLL Loading
One of the key improvements in this release is a more robust Windows DLL loading strategy.
Previously, bundled backend libraries could sometimes fail to resolve their dependencies because the DLL search order did not always prioritize the correct location.
This release:
/lib>/binThis is especially important for multi-DLL backends.
For example, single-DLL backends usually work with
/binas a fallback path, but some environments may still fail because of missing dependencies such aslibomp140.x86_64.dll.For multi-DLL backends like SYCL, which relies on additional libraries (
dnnl.dll,tbb12.dll,mk_*.dll, etc.), missing dependency resolution could causeggml-sycl.dllloading failures and even trigger access violation crashes.This update makes
/libthe first lookup location and improves backend loading reliability.Special thanks to @allanmeng for reporting and testing the SYCL backend issue.
Safer Native Runtime Boundaries
Several changes improve protection around Python ↔ native API interactions:
These changes make runtime failures easier to understand and diagnose.
Stronger MTMD Input Validation
MTMD processing now performs more validation before entering the native tokenizer path.
Improvements include:
This helps prevent difficult-to-debug multimodal input failures.
Preparing LlamaBatch for Speculative Decoding
This release continues improving
LlamaBatchas a foundation for future speculative decoding features.New capabilities include:
These changes prepare the API for future decoding paths such as EAGLE3 and MTP, where models may require both token IDs and hidden-state embeddings during decoding.
Other Updates
Additional improvements:
ggml-basebeforeggmlfor more reliable dynamic initializationnameoptional in type definitionsWhat's Next
This release mainly focuses on making the runtime foundation more stable.
With backend loading becoming more reliable and batch infrastructure becoming more flexible, the next steps will continue moving toward better speculative decoding support, including unified handling for different approaches such as MTP, EAGLE-style decoding, and other acceleration strategies.
Thanks to everyone who reported issues, tested changes, and helped improve the project.
- JamePeng
Beta Was this translation helpful? Give feedback.
All reactions