Skip to content

chore: Update to Nx, EXLA and Torchx 1.0 - #671

Open
georgeguimaraes wants to merge 3 commits into
elixir-nx:mainfrom
georgeguimaraes:nx-1.0
Open

georgeguimaraes wants to merge 3 commits into
elixir-nx:mainfrom
georgeguimaraes:nx-1.0

Conversation

@georgeguimaraes

@georgeguimaraes georgeguimaraes commented Sep 15, 2026

Copy link
Copy Markdown
Member

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. The AXON_NX_PATH / AXON_EXLA_PATH env vars for local dev still work.

Nx keeps override: true because kino still declares nx ~> 0.1.

Also fixed a whitespace line in loop_test.exs that was failing the format check on main.

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 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant