Describe the bug
elixir-nx/bumblebee#462
To Reproduce
Expected behavior
Compilation succeeds.
Screenshots
Bonfire environment (please complete the following information):
- Running env: prod OTP/27
- Running with Co-op Cloud and/or Docker?: none
- Running version (check on your instance's sidebar):
1.0.6-beta.4
- Running flavour:
ember
- Running any extra/forked extensions:
Client device (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. Ubuntu Linux 20.4, iOS 10, Windows 7]
- Browser [e.g. firefox, safari]
- Browser Version [e.g. 22]
Additional context
Was not broken in 1.0.6.alpha-1.
Caused by elixir-nx/nx#1780
so pinning a nx before that PR may help until bumblebee is fixed.
nx-0.10.0 is in mix.lock but it is replaced by an unpinned git version when running mix deps.get --env prod:
|
with_ai? = System.get_env("WITH_AI") not in no? |
|
|
|
maybe_ai_deps = |
|
if(with_ai?, |
|
do: [ |
|
{:bumblebee, "~> 0.6.3"}, |
|
{:axon, "~> 0.7.0", override: true}, |
|
{:table_rex, "~> 4.1.0", override: true}, |
|
# {:nx, "~> 0.9.0"}, |
|
# {:exla, "~> 0.9.1"}, |
|
# temp workaround: https://github.com/elixir-nx/nx/issues/1599 |
|
{:exla, github: "elixir-nx/nx", sparse: "exla", override: true}, |
|
{:nx, github: "elixir-nx/nx", sparse: "nx", override: true} |
|
], |
|
else: [ |
|
{:axon, "~> 0.7.0", override: true}, |
|
{:nx, "~> 0.10.0", override: true}, |
|
{:table_rex, "~> 4.1.0", override: true} |
|
] |
|
# because used by other deps ^ |
|
) |
Describe the bug
elixir-nx/bumblebee#462
To Reproduce
Expected behavior
Compilation succeeds.
Screenshots
Bonfire environment (please complete the following information):
1.0.6-beta.4emberClient device (please complete the following information):
Additional context
Was not broken in
1.0.6.alpha-1.Caused by elixir-nx/nx#1780
so pinning a
nxbefore that PR may help untilbumblebeeis fixed.nx-0.10.0is inmix.lockbut it is replaced by an unpinned git version when runningmix deps.get --env prod:bonfire-app/mix.exs
Lines 93 to 113 in 379527a