A new nightly version has been released! ![]()
See the quickstart guide for installation instructions: Quickstart | MAX
MAX changelog updates:
-
max benchmarkrenames--warmup-to-steady-stateto--warmup-multiturn,
since it applies only to multi-turn workloads and is unrelated to the
steady-state measurement window. The old flag, its workload and config
file keys, andMODULAR_WARMUP_TO_STEADY_STATEstill work and log a
deprecation warning. Result files record the option aswarmup_multiturn
underclient_args. -
Built-in custom ops are now named after their class instead of
mo.,
which is kept for the graph compilerβs own ops. For example,
mo.launch_host_funcandmo.inplace_memcpyare now
runtime.launch_host_funcandruntime.inplace_memcpy, and
mo.matmul_swigluis nowmatmul.swiglu. Update the name passed to
ops.custom()in graphs that call these ops directly. -
The legacy
LayoutandIntTupletypes have been removed from thelayout
package, along with thelayout.layoutandlayout.int_tuplemodules, the
to_layout(),LTToTTLayoutandprint_layout()bridges, and the legacy
tile_layout_k_major(),tile_layout_mn_major()and
tile_sf_layout_k_major()constructors. Use the typed layouts in
layout.tile_layout(Layout, also exported asMixedLayout) for layout
values,Coordfor shapes, strides and indices, and the*_typedtile
layout constructors inlayout.tensor_core_async.wgmma_desc_sbo_lbo()
andwgmma_canonical_strides()replacetile_to_descriptor(), andprint()
accepts a typed layout directly. -
The
load_fn,compute_fnandcompute_finalize_fncallbacks of
stencil()andstencil_gpu()inmax.algorithmnow take aCoord
instead of anIndexList[rank].map_fnstill takes and returns
IndexList. The coordinate holds the same values as before:# was: def load_fn[...](point: IndexList[rank, ...]) -> ... def load_fn[simd_width: Int, dtype: DType](point: Coord) -> SIMD[ dtype, simd_width ]: return input.load[width=simd_width](point)
Mojo changelog updates:
- [mojo-lang] add
elaboration-statsto CompileTimeProfiling.md - [stdlib] Add a filter iterator
- [External] [stdlib] Make ord raise on invalid runtime input (#108755)
Raw MAX diff: https://github.com/modular/modular/compare/7e509d8d281a7fe8354e838a3d19245bbc27d175...03501ff8335d482b476f0d5bd7bd4d8de74d3f62
Current Mojo changelog: https://github.com/modular/modular/blob/main/Mojo/docs/site/nightly-changelog.md