Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support tensorflow-2.16? #361

Open
nbecker opened this issue Mar 15, 2024 · 2 comments
Open

support tensorflow-2.16? #361

nbecker opened this issue Mar 15, 2024 · 2 comments

Comments

@nbecker
Copy link
Contributor

nbecker commented Mar 15, 2024

It looks like tensorflow-2.16 supports python-3.12. Can sionna be updated to use tf-2.16?

@SebastianCa
Copy link
Collaborator

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.

@SebastianCa
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants