polvalente

polvalente

Nx Core Team

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.

https://github.com/elixir-nx/emlx/releases/tag/v0.4.0

Where Next?

Popular in News & Updates Top

bartblast
Hologram’s journey just took a significant leap forward: Curiosum is coming on board as the Main Sponsor, and I’m joining their team to w...
New
bartblast
Hologram v0.8.0 is out! This release brings JavaScript interoperability - the most requested feature since the project’s inception. You c...
New
jjcarstens
Do you like Hacktoberfest? Also enjoy working with Nerves and want to contribute? Fantastic! :tada: :beers: Here are some potential sta...
New
sorenone
The title doesn’t relay the depth of this announcement, but it is short, balanced, and looked good to us. From open sourcing multiple pac...
New
zachdaniel
Hey folks! I’ve begun putting together some concrete, framework-wide tooling and guidance on the usage of LLMs in development. The goal h...
New
zachdaniel
Hey folks! In order to give the new AshSqlite a trial run and make sure its got some real usage, AshHq’s multi-package search has been re...
New
hugobarauna
This post introduces the new data features in Livebook 0.9: fast data exploration through integration with Explorer, interactive data tab...
New
zachdaniel
Ash and AshPostgres generators/installers, built with igniter are available on main! I’ll be very grateful to anyone willing to give the...
New
jjcarstens
Hey friends! :waving_hand: With NervesConf 2024 around the corner, Frank, myself, and the greater Nerves team wanted to share a survey w...
New
polvalente
Nx, EXLA and Torchx 0.12 have just been published! This update set comes with the new Nx.block abstraction and the EXLA.CustomCall proto...
New

Other popular topics Top

AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 43806 214
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 127536 1222
New
jaysoifer
Is there a way to rollback a specific migration and only that one (“skipping” all the other ones)? Would mix ecto.rollback -v 200809061...
New

We're in Beta

About us Mission Statement