Skip to content

Commit 990ad50

Browse files
authored
Merge pull request #210 from ausimian/fix/nx-constraint
fix: constrain Nx to supported 0.12 releases
2 parents a1034ca + e5e7d78 commit 990ad50

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

RELEASE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### Fixed
2+
3+
- Constrain Nx to the supported 0.12 release line so fresh dependency
4+
resolution does not select incompatible Nx 0.13 releases.

mix.exs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ defmodule Emily.MixProject do
8787
[
8888
{:elixir_make, "~> 0.9"},
8989
{:fine, "~> 0.1"},
90-
{:nx, "~> 0.12"},
90+
# Keep this three-segment requirement: `~> 0.12` also accepts Nx 0.13+
91+
# until 1.0, while Emily's compiler currently targets the Nx 0.12 IR.
92+
{:nx, "~> 0.12.0"},
9193
# Bumblebee + Axon are declared `optional: true` because the
9294
# only Emily module that touches either — `Emily.Bumblebee.FastKernels`
9395
# — is wrapped in a `Code.ensure_loaded?/1` gate and elides when

0 commit comments

Comments
 (0)