MAX Nightly 26.4.0.dev2026052306 (Mojo 1.0.0b2.dev2026052306) Released

:astronaut: A new nightly version has been released! :astronaut:

See the quickstart guide for installation instructions: Quickstart | Modular

MAX changelog updates:

  • Added two new nanobind types to max._core.engine that split the
    compile-and-load pipeline at the type level:

    • CompiledModels represents the compile artifact returned by
      InferenceSession.compile_from_path / compile_from_object. It holds
      the MEF bytes and one or more sub-models; it is not directly executable.
    • ModelMetadata exposes per-sub-model metadata (name,
      input_metadata, output_metadata) and is yielded by iterating a
      CompiledModels or indexing it with [i].

    Model continues to represent the runnable, post-init handle (still
    produced by InferenceSession._load_all). The high-level
    max.engine.CompiledModel wrapper now holds a CompiledModels instance
    internally.

Mojo changelog updates:

  • [stdlib] add is_trivial_ helper functions

Raw MAX diff: https://github.com/modular/modular/compare/c2a8965b27f4b0236af7dbd9c575dcc0042074ce...81a45d693a90ac216ed138cbae0a495bbb04fc3f)>
Current Mojo changelog: https://github.com/modular/modular/blob/main/mojo/docs/nightly-changelog.md