Tensoflow 2.12.0 does not recognize tensorflow.compiler.xla.experimental
Using the Bert code, I see this import line: from tensorflow.compiler.xla.experimental.xla_sharding import xla_sharding which causes this error: ModuleNotFoundError: No module named ‘tensorflow.compiler.xla.experimental’ Below you can see the versions and packages I have installed: $ pip list | grep tensorflow tensorflow 2.12.0 tensorflow-addons 0.20.0 tensorflow-estimator 2.12.0 tensorflow-io-gcs-filesystem 0.32.0 $ find python3.8/site-packages/ -name compiler python3.8/site-packages/google/protobuf/compiler python3.8/site-packages/tensorflow/python/compiler python3.8/site-packages/tensorflow/xla_aot_runtime_src/tensorflow/compiler… Read More Tensoflow 2.12.0 does not recognize tensorflow.compiler.xla.experimental