Closed hiramegl closed 8 months ago
It seems you are configuring Torchx as a compiler. Torchx is not a compiler, only a backend. If you can share the code that triggers the error, we can provide more precise feedback.
Hi Jose,
Yes, that's right! I was using Torchx as compiler. I thought I needed to use it when I switched from EXLA backend to Torchx backend. Now the loop runs without problem.
model
|> Axon.Loop.trainer(:binary_cross_entropy, :adam)
|> Axon.Loop.run(
training_data,
%{},
compiler: EXLA, # Torchx,
epochs: 10)
Thanks a lot Jose!
Best regards,
/Hiram
Hi,
I wonder if this error is something that needs to be fixed in Nx or in Torchx:
Thanks for your help in advance!
Best regards,
/Hiram