Flo0807

Flo0807 OP

Hey!

I have a few weird issues when running neural network tasks in LiveBook.

First, when I try to add a Neural Network task smart cell, it prompts me to install kino_bumblebee and exla.

Mix.install(
  [
    {:kino_bumblebee, "~> 0.5.0"},
    {:exla, ">= 0.0.0"}
  ],
  config: [nx: [default_backend: EXLA.Backend]]
)

This installation fails with:

** (Mix.Error) Could not compile with “make” (exit status: 2).
You need to have gcc and make installed. Try running the
commands “gcc --version” and / or “make --version”. If these programs
are not installed, you will be prompted to install them.

I’ve already located these issues:

But none of the information in there helped me.

I am running the standalone LiveBook application on macOS (M1). I downloaded LiveBook from the website. I also tried installing it via brew, but I got the same error.

If I downgrade kino_bumblebee to ~> 0.4.0 or exla to ~> 0.7.0 the installation succeeds.

My next problem is the execution of the neural network task. I tried both text generation and Text-to-Speech, but the tasks fail as soon as I try to run them by clicking “Run”. I get a Runtime terminated unexpectedly - no connection flash massage in the top-right corner and my runtime disconnects and nothing happens…

I tried another device that still had LiveBook 0.12.1 installed, which runs Elixir v1.15.7. Unfortunately, I face the same error.

I also tried downgrading LiveBook to 0.14.7. Same error.

How can I debug the error further?

First 3 of 3 Posts Switch mode

D4no0

D4no0

Are you sure you have enough resources to do that? The error could point to the fact that the OS killed the runtime.

Flo0807

Flo0807 OP

I think so. It fails immediately without any delay as soon as I click “Run”. LiveBook says that I have 18 GB of Memory available so I don’t think it is a problem of resources.

Flo0807

Flo0807 OP

Running LiveBook in a Docker container resolves the issues, which suggests that there is a problem on my end :upside_down_face:

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
rahultumpala
Hello, I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement