chore: Update to Nx, EXLA and Torchx 1.0 - #671
Open
georgeguimaraes wants to merge 3 commits into
Open
georgeguimaraes wants to merge 3 commits into
georgeguimaraes wants to merge 3 commits into
Conversation
Nx 1.0.0 ships buffer donation (Nx.donatable/1), which is what Axon.Loop.run's :donate_state? needed from Nx main, so the github deps can go back to hex releases. Nx keeps override: true because kino still declares nx ~> 0.1.
georgeguimaraes
force-pushed
the
nx-1.0
branch
from
September 15, 2026 02:55
6c515ef to
625498d
Compare
georgeguimaraes
added a commit
to georgeguimaraes/soothsayer
that referenced
this pull request
Sep 15, 2026
axon 0.8.1 on hex still declares nx ~> 0.10, so nx carries override: true until an axon release depends on 1.0 (elixir-nx/axon#671). verified the full suite and the benchmark reproduce to four decimals on nx 1.0.0 / exla 1.0.0. the only fallout in axon 0.8.1 is a warning in its attach_hook path, which calls Nx.Defn.Kernel.hook/3 that nx 1.0 removed; soothsayer doesn't attach hooks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nx 1.0.0 is out and it has buffer donation, which was the reason Axon tracked Nx main. So this goes back to hex releases:
nx ~> 1.0,exla ~> 1.0,torchx ~> 1.0. TheAXON_NX_PATH/AXON_EXLA_PATHenv vars for local dev still work.Nx keeps
override: truebecause kino still declaresnx ~> 0.1.Also fixed a whitespace line in
loop_test.exsthat was failing the format check on main.