polvalente
Nx ecosystem 0.13 library updates
We have released v0.13 of nx, exla and torchx, along with a recently released emlx v0.4.
Nx
This is where the bulk of the updates happened!
hooks and tokens are now soft-deprecated (hard-deprecated in nx main). We have introduced `Nx.io_call` as a “side-effect only” sister function to `Nx.runtime_call`, both of which allow inlining generic Elixir code. API for Nx.io_call is generally very similar to hooks+tokens, but requires less plumbing under the hood for compilers.
Nx (along EXLA and Torchx as examples) now includes a backend documentation standardization guide, which helps library users to find specific quirks of functions in each backend. See EXLA’s docs for an example.
Full changelogs in the Github repo:
https://github.com/elixir-nx/nx/blob/main/nx/CHANGELOG.md
https://github.com/elixir-nx/nx/blob/main/exla/CHANGELOG.md
https://github.com/elixir-nx/nx/blob/main/torchx/CHANGELOG.md
EMLX
v0.4 introduces a native compiler with massive performance improvements!
The new compiled mode supports all of the Nx API surface (including defn while loops), and current main branch now also introduces a plugin system which will be released very soon in v0.5.
For example, on my machine Qwen3 0.6B-4bit executes on speeds similar to what ollama provides, which is a great indicator of performance.
Popular in News & Updates
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









