Enable XLA compilation using `@tf.function(experimental_compile=True) for transformer layer.
Enable XLA compilation using `@tf.function(experimental_compile=True) for transformer layer.

To debug the tf.function this API can be used: https://www.tensorflow.org/api_docs/python/tf/config/experimental_run_functions_eagerly

PiperOrigin-RevId: 296458870

tombstone/models,tombstone/models,tombstone/models,tombstone/models,tombstone/models,tombstone/models