Open kevinschweikert opened 1 month ago
Unfortunately, this is because there's still a substantial chunk of the Nx API that isn't compiling properly with IREE: https://github.com/elixir-nx/nx_iree/blob/8901b07671db830cdcee5fea472330437e1a902a/test/nx_iree/nx_test.exs#L4
For Whisper specifically, we need to figure out how to support fft and friends given that stablehlo.fft is not supported by IREE
For FFT, we can look into https://github.com/DTolm/VkFFT
As seen in the doctest file, IREE doesn't support, for one reason or another, a significant chunk of the Nx API. These should all be fixable, but there are a few different error classes we need to deal with.
Original issue: I am trying out this project with the following livebook code on a MacBook M3 Pro:
I've got it to start the serving but failed at the
Nx.Serving.batched_run
step withI will investigate further to get the stderr from
iree_compile
in this case