You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After training and during inference this error was found
1092, in xla_dynamic_slice_eager_fallback
_result = _execute.execute(b"XlaDynamicSlice", 1, inputs=_inputs_flat,
tensorflow.python.framework.errors_impl.UnimplementedError: Exception encountered when calling layer "SelfAttention" (type TFT5Attention).
Could not find compiler for platform METAL: NOT_FOUND: could not find registered compiler for platform METAL -- check target linkage [Op:XlaDynamicSlice]
Changing the argument to True seems to give same error in some sense
File "/Users/gema/Documents/transformers/src/transformers/keras_callbacks.py", line 223, in on_epoch_end
predictions = self.generation_function(generation_inputs, attention_mask=attention_mask)
tensorflow.python.framework.errors_impl.UnimplementedError: Could not find compiler for platform METAL: NOT_FOUND: could not find registered compiler for platform METAL -- check target linkage [Op:__inference_generation_function_28937]
After training and during inference this error was found
Follow up
use_xla_generation
in script was set toFalse
.The text was updated successfully, but these errors were encountered: