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

Difficult to use tensorflow-addons with tf-nightly builds #965

Closed
ghop02 opened this issue Jan 28, 2020 · 3 comments
Closed

Difficult to use tensorflow-addons with tf-nightly builds #965

ghop02 opened this issue Jan 28, 2020 · 3 comments

Comments

@ghop02
Copy link

ghop02 commented Jan 28, 2020

It's a bit tricky to use the tf-nightly builds and have a dependency on tensorflow addons because of the pinned tensorflow version.

Is there a way to have the setup.py file for the nightly builds be slightly more lenient as to the version? It's a bit tricky because tf-nightly is an entirely different package.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • TensorFlow version and how it was installed (source or binary): tensorflow nightly (pip)
  • TensorFlow-Addons version and how it was installed (source or binary): (0.7.1)
  • Python version: 3.7

Code to reproduce the issue

pip install tf-nightly
pip install tfa-nightly (or tensorflow-addons)
# installs tensorflow 2.1.0 which downgrades gast
@seanpmorgan
Copy link
Member

Hi @ghop02! Thanks for reporting. So we should have a soon incoming solution to this which is to remove the hard installation dependencies:
#864
#952

I plan to work on this later today when I have some time to rework the builds. If you need to unblock today you can pip install tfa-nightly --no-deps

@ghop02
Copy link
Author

ghop02 commented Jan 28, 2020

Great, figured there was something in the works!

And never knew about --no-deps, will probably abuse this now for many carefully constructed brittle python environments 😄

@seanpmorgan
Copy link
Member

seanpmorgan commented Jan 30, 2020

TFA Nightlies starting tomorrow will have no TF pip dependency. 0.8 release is upcoming and will also be dependency free

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