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
pythonPackages.tensorflow 1.1 -> 1.3 #29229
Conversation
@jyp what happens to tensorboard after merging this? AFAIK it was separated from tensorflow-1.3. I'm afraid we need a separate expression for it. |
@akamus: This is correct: this PR removes tensorboard. However, unfortunately, the dependencies of tensorboard do not build at the moment (see the commit). So the PR is not a regression. |
@akamaus It does not look like your commit made it to master --- regardless I suppose that if werkzeug is working with python 3.6 then the best is to drop support for 3.5 and go for 3.6 and add tensorboard properly. I'll give it a shot. |
In fact, tensorboard still won't build, because it depends on exactly htlm5lib 9999999 (that's seven nines), which does not build. If you know @akamaus where to complain to get tensorboard people to put decent dependencies on their lib then let me know. I'll reiterate my observation that tensorflow works perfectly well without tensorboard. So I maintain that this PR is the way to go until tensorboard uses saner dependencies. |
oh, I see now, https://github.com/tensorflow/tensorboard/blob/master/tensorboard/pip_package/setup.py At first I thought we should file issue there... But look, nixpkgs (I looked at 17.09) have weird version too
Please, note, there are different number of nines ;) |
Well the terrible html5lib versioning scheme does not help with typos and misunderstandings of all kind. But the crux of the matter seems to be that tensorboard people are reluctant to upgrade to bleach 2.0. And I'm not to thrilled at the idea of packaging essentially unmaintained packages. So, to re-interate, because tensorboard is not an essential component of ten, I am dropping it until they eventually move to upgrade. (Also they claim that they don't even support python 3.6; see above issue). |
20ce68e
to
5bbf1b1
Compare
FWIW I have a working build with TensorBoard (which I made separately) but it doesn't support Python 3.6, so I guess your approach is better. 6abb29f has been merged recently which messes with your patch; you probably can just revert it and leave only 2.7 and 3.6. |
Giving more thought to this, can you instead make your package support both 3.5 and 3.6 like it currently does on master? We'll then merge my tensorboard on top of your update, so people can have it with tensorboard on 3.5 and without on 3.6. |
@abbradar I'm not too fond of having to track too many wheel versions, in honesty I won't have the time to test them. (Is there even a good way to automatically update the hashes when a new version comes out?) If you have a working tensorboard please submit it as a separate PR on top of this one. |
@jyp There are some projects to automate this but I haven't tried them yet. For some reason I can't submit a pull request to you -- GitHub doesn't allow me to select your branch as a base fork. Please check out https://github.com/abbradar/nixpkgs/tree/tf1.3 |
@jyp Notice that currently this PR is broken because of commit adding Python 3.5 support on master! You have |
@abbradar I am pretty sure that I rebased it. ("This branch has no conflicts with the base branch") |
sha256 = "0ahz9222rzqrk43lb9w4m351klkm6mlnnvw8xfqip28vbmymw90b"; | ||
py3 = { | ||
url = tfurl "linux" "cpu" "cp36-cp36m-linux_x86_64"; | ||
sha256 = "1qm8lm2f6bf9d462ybgwrz0dn9i6cnisgwdvyq9ssmy2f1gp8hxk"; | ||
}; |
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.
@jyp The problem is for example here, notice py3
and py36
are both in your result. Git still managed to merge it without conflicts ;)
Alright; the PR was not in fact broken but had some dead code. Fixed anyway :) |
Yeah, I used too strong a word. I have tested this locally (not on GPUs) and it works for me. Will merge in several days unless anybody objects. Thank you for your work! |
Merged along with my support for 3.5 in 01d53df. Tested on a simple VAE, worked for me. |
Motivation for this change
Upstream update
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)