xla icon indicating copy to clipboard operation
xla copied to clipboard

XLA Slow operation alarms: "The operation took ..."

Open Szetty opened this issue 4 months ago • 5 comments

Hello, we are having logs like this in our Elixir project:

The operation took 2m32.409760523s

********************************
[Compiling module _Function_4.57852891_4_in_Axon.Loop.build_batch_fn_2_.32279] Very slow compile? If you want to file a bug, run with envvar XLA_FLAGS=--xla_dump_to=/tmp/foo and attach the results.
********************************

As they are logged as errors they appear in our production logging system. I have tracked down and found that they are coming from: XLA.

Do you know if there is a way to disable them ?

Szetty avatar Feb 22 '24 13:02 Szetty