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
python37Packages.tensorflow-bin: 1.14.0 -> 2.1.0 #81278
Conversation
Here are two related PRs:
|
c04cdd4
to
ae44863
Compare
I'm currently in the process of testing the following:
|
@GrahamcOfBorg build python37Packages.tensorflow-bin python36Packages.tensorflow-bin python35Packages.tensorflow-bin python27Packages.tensorflow-bin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not test this but the change looks good to me.
7b0c1c8
to
cf5d1a7
Compare
I forgot to update the hash for |
Shouldn't update to |
@veprbl I was under the impression that When I try to build it on $ nix-build -A python37Packages.tensorflow
error: Package ‘openssl-1.0.2u’ in /home/illabout/git/nixpkgs/pkgs/development/libraries/openssl/default.nix:130 is marked as insecure, refusing to evaluate.
Known issues:
- Support for OpenSSL 1.0.2 ended with 2019.
You can install it anyway by whitelisting this package, using the
following methods:
... I don't think this should hold back updating Although, it would also be great to get an up-to-date version of |
This is my understanding as well, I'm fine with surpassing a broken build. |
tensorflow is fixed pending merge of two PRs: #80379 (comment). tensorflow 2 is sadly not fully backward-compatible with tensorflow 1, and there are a number of libraries / applications that are not moving. I’d love to see both versions in nixpkgs. |
This now broke the non-bin package of tensorflow. Some of us were using it but others (like me) were trying to unbreak the edge-cases I am hitting. TF 1.15 might have been broken in a few ways. With this PR merged we now need to unbreak even more.. I guess I'll just go about adding a second version of TF estimator for the older TF 1.15. |
Those that need tensorflow and related packages need to cooperate a bit more, because with all these different PR's touching it, it is hard to follow. |
Since there seem to be many people who are very interested in keeping it working, it would be nice if some of them could add themselves as additional maintainers. Due to time constraints maintaining it isn't a very high priority for me personally right now. |
hi, what is the new |
Look at the old ones definition? All I know of is a |
you are right.
|
Motivation for this change
This bumps
python37Packages.tensorflow-bin
to version 2.1.0.It also bumps some of the dependencies of
tensorflow-bin
to the required versions:With this PR,
tensorflow-bin
builds correctly, and appears to be able to be used correctly withpython37Packages
.I've tested it with the following simple python script (from https://www.tensorflow.org/tutorials/quickstart/beginner):
I've only tested this on Linux without CUDA. I would appreciate if someone could try this out on Mac or with CUDA enabled.
I'm a beginner with both Tensorflow and Python, so please let me know if I am doing anything weird here.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)