0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00
zml/docs
Benjamin Rabier 37ded81aff zml/exe: return launch errors from Exe.call
Exe.call panicked when PJRT failed to launch an executable or when a
waited execution event reported an error, so a caller could not recover
from, say, a device running out of memory. It now returns
pjrt.ApiError. A failed launch writes no outputs. With wait, every
partition's event is awaited and destroyed, and a failed execution
destroys the outputs it wrote, so the results hold no buffer after any
error. The neuron and non-neuron event loops become one; their behavior
is unchanged.

Runner.run and FnExe's Runner.run keep their panic. Direct callers in
the examples, the tutorial and zml.testing add try, and the old
Loader.loadExecute reports a failed call as LoadFailed; PJRT has already
logged its cause. llmd's one direct call follows in its next zml bump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-04 23:04:25 +01:00
..
howtos examples, docs: fix stale snippets and delete dead example loaders 2026-11-03 10:34:27 +01:00
learn zml: refactor module.zig into Compiler.zig (#736) 2026-08-27 18:31:50 +02:00
misc Update doc for V2 (#428) 2026-03-24 17:00:10 +01:00
tutorials zml/exe: return launch errors from Exe.call 2026-11-04 23:04:25 +01:00
README.md zml/profiling: unify profiling flow and tracing (#443) 2026-05-11 09:52:11 +02:00

Greetings, Programs!

If you want to run our example models, please head over to Getting Started.

Ready to write some code? Try starting with your first model in ZML, or familiarize yourself with the high-level ZML concepts first.

MENU:

Tutorials

How to ?

Learn more...

  • ZML Concepts : Tensors, Models, Executables, etc. explained

Contribute