Skip to content

bumblebee is broken #2144

Description

@ju1m

Describe the bug
elixir-nx/bumblebee#462

To Reproduce

mix compile

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:

bonfire-app/mix.exs

Lines 93 to 113 in 379527a

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 ^
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions