-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I could not get batched_run to work under any circumstances using EMLX. I had to use Nx.Serving.run instead.
To reproduce, run this notebook - https://hexdocs.pm/bumblebee/stable_diffusion.html
Modified like this:
Mix.install([
{:emlx, github: "elixir-nx/emlx", branch: "main"},
{:bumblebee, github: "elixir-nx/bumblebee"},
{:nx, "~> 0.10.0"},
{:kino, "~> 0.18.0"}
])
Nx.global_default_backend({EMLX.Backend, device: :gpu})
With testing it hangs right at the spot where batched_run is called. The EMLX readme describes a potential NIF deadlock under some circumstances which would describe the behaviour well.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels