0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00
zml/docs/tutorials
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
..
getting_started.md Update doc for V2 (#428) 2026-03-24 17:00:10 +01:00
working_with_tensors.md zml: initial release 2024-09-17 11:11:18 +02:00
write_first_model.md zml/exe: return launch errors from Exe.call 2026-11-04 23:04:25 +01:00