Pluto notebook "Malt.TerminatedWorkerException()" error

I have installed AMDGPU.jl and have been using it in the Julia REPL. I tried

using AMDGPU

inside Pluto notebook and I got the error:

Error message

Malt.TerminatedWorkerException()

What’s happening and how do I fix it?

Malt.jl is the underlying package that Pluto uses to run notebook code in an external process. A TerminatedWorkerException means the whole process (i.e. notebook) crashed.

If you can use AMDGPU.jl normally from the REPL, it might be worth opening an issue on github.

I’ve also run into this error when running a Pluto notebook in a Docker container on a Mac M4, I’m not using any GPU.