From 098aa2a99c860784847b0f061d8c0d0c61eeda7a Mon Sep 17 00:00:00 2001 From: Reid Morrison Date: Tue, 3 Nov 2026 08:11:29 -0500 Subject: [PATCH] Allow Nx 1.0 Widen the nx requirement from "~> 0.6" to "~> 0.6 or ~> 1.0" so Ortex can be installed next to Nx, EXLA and Bumblebee 1.0. No code changes are needed: the test suite passes unchanged on Nx 1.0.0. The lock stays on Nx 0.6.2 because the dev-only exla and torchx 0.6 dependencies hold it there. --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 0ff357e..2fce3dc 100644 --- a/mix.exs +++ b/mix.exs @@ -32,7 +32,7 @@ defmodule Ortex.MixProject do defp deps do [ {:rustler, "~> 0.27"}, - {:nx, "~> 0.6"}, + {:nx, "~> 0.6 or ~> 1.0"}, {:tokenizers, "~> 0.4", only: :dev}, {:ex_doc, "0.29.4", only: :dev, runtime: false}, {:exla, "~> 0.6", only: :dev},