Flo0807

Flo0807

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?

Showing Posts 1 to 3

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

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
ryanwinchester
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted” Version...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
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
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews