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

[Apps] Pin android_camera TensorFlow/Keras dependency version #12710

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

leandron
Copy link
Contributor

@leandron leandron commented Sep 6, 2022

At the moment, android camera is installing latest TF and Keras
which is causing the following issue in CI:

  File ".../keras/dtensor/lazy_variable.py", line 26, in <module>
    from tensorflow.python.trackable import base as trackable
ModuleNotFoundError: No module named 'tensorflow.python.trackable'

This patch fixes the versions in the last known working versions
of both: TF 2.9.1 and Keras 2.9.

cc @driazati @lhutton1 @areusch

At the moment, android camera is installing latest TF and Keras
which is causing the following issue in CI:

```
  File ".../keras/dtensor/lazy_variable.py", line 26, in <module>
    from tensorflow.python.trackable import base as trackable
ModuleNotFoundError: No module named 'tensorflow.python.trackable'
```

This patch fixes the versions in the last known working versions
of both: TF 2.9.1 and Keras 2.9.

Change-Id: I0a9e0272edf62b717b42b1a7c6157f3982e1a326
Copy link
Contributor

@lhutton1 lhutton1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lhutton1 lhutton1 merged commit b3edb6e into apache:main Sep 6, 2022
@lhutton1
Copy link
Contributor

lhutton1 commented Sep 6, 2022

Thanks for the fix @leandron!

@driazati
Copy link
Member

driazati commented Sep 6, 2022

Android build is passing on main now! Thanks for chasing this down @leandron

xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
…#12710)

At the moment, android camera is installing latest TF and Keras
which is causing the following issue in CI:

```
  File ".../keras/dtensor/lazy_variable.py", line 26, in <module>
    from tensorflow.python.trackable import base as trackable
ModuleNotFoundError: No module named 'tensorflow.python.trackable'
```

This patch fixes the versions in the last known working versions
of both: TF 2.9.1 and Keras 2.9.
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

Successfully merging this pull request may close these issues.

3 participants