A new nightly version has been released! ![]()
See the quickstart guide for installation instructions: Quickstart | MAX
MAX changelog updates:
Models
Inference server
Server metrics
- Added
maxserve_request_client_disconnect_cancellations_total, which
counts streamed responses cut short by a client disconnect and completion
requests abandoned while waiting for a result, split byphase. A
mid-stream disconnect was previously invisible:
maxserve_request_count_totalrecords it under the status code already
sent.
max CLI
Python API
-
Added
max.driver.Buffer.memset(value)to fill a contiguous buffer or
slice in place with a byte value, without allocating a source buffer. -
generate(),GenerateIterator,AutoModel.generate()and
AutoModel.generate_iter()takemessagesandimages, so they run chat
and image prompts on models such as Gemma 3 and InternVL.
GenerateResult.prompt_lengthsgives each promptβs length.AutoModel
turns the vision encoder cache off by default. -
Added
AutoProcessortomax.pipelines, which turns chat conversations
with inline images into themessagesandimagesthat
AutoModel.generate()takes. -
AutoPipelinenow takes a chat conversation, or a list of them, with
images inline, and returns only the new text for each one.
C API
Kernels and GPU programming
-
The deprecated
LayoutTensorandLayoutTensorItertypes have been removed
from thelayoutpackage, along with theto_layout_tensor()and
lt_to_tt()conversions. UseTileTensorandTileTensorIterinstead.
ThreadScopenow lives inlayout.tile_io. -
TileTensor.tile()on a nested layout now indexes each mode first leaf
first, ascrd2idxand the CuTelocal_tileoperation do: tilecof size
tstarts at elementc * tof the mode, and the tile keeps the leading
leaves it spans, with their strides. Before, it treated the first leaf of
each mode as the tile grid and the second as the fragment. To extract
fragments, put the fragment first in each mode, asblocked_product()does:
((3, 2), (4, 2))rather than((2, 3), (2, 4)). A tile size that doesnβt
split a nested mode on leaf boundaries is now a compile-time error. -
Removed the
max,min,sum,productandmeanoverloads in
max.algorithmthat take an input shape, aninput_fn, anoutput_fnand
areduce_dim. To reduce along an axis, use the graph ops (ops.sum,
ops.max,ops.min,ops.mean,ops.prod), or callmap_reduceonce
per row. TheSpanoverloads and the 1-Dsumandmeanoverloads that
take a length and aninput_fnare unchanged.
Tools
- Added the ability to install
max-serveandmax-benchmarkas Conda extras,
usingmax[extras=[serve]]andmax[extras=[benchmark]]respectively.
max[extras=[all]]installs both plusmojo.
Mojo changelog updates:
- [Driver][Kernels] Add Apple M6 Support
Raw MAX diff: https://github.com/modular/modular/compare/5c715c9bd628d626d98c6af4da1ff94eb54cd41e...a1ccd09545970f73bd33527ef027d445b6ad0980
Current Mojo changelog: https://github.com/modular/modular/blob/main/Mojo/docs/site/nightly-changelog.md