Open nbecker opened 8 months ago
The current Sionna version 0.16.2 does officially not support TF 2.16 and you would need to wait until the next release of Sionna. However. please note that you could manually upgrade your TensorFlow installation and run the tests locally.
Remark: I think this thread belongs more to the Discussions
section as it is not really an issue with Sionna.
Just a quick update: TensorFlow 2.16 uses Keras 3 as default (see TensorFlow release notes). This causes incompatibilities with Sionna 0.16.2.
A workaround is to manually downgrade to Keras 2 via pip install tf-keras~=2.16
and set the environmental variables manually. This can be done by import os;os.environ["TF_USE_LEGACY_KERAS"]="1"
. Please note that TensorFlow 2.16 is officially not supported by Sionna 0.16.2 and you would need to run the tests locally.
It looks like tensorflow-2.16 supports python-3.12. Can sionna be updated to use tf-2.16?