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
torchvision: 0.2.1 -> 0.6.0 #82000
torchvision: 0.2.1 -> 0.6.0 #82000
Conversation
looks like it's not compatible with master right now:
pytorch is still on 1.2.0 |
I've fixed up and merged #75827, so this should now be actionable if you're interested in rebasing and giving it another try. |
Fixed hashes. |
Result of 5 packages marked as broken and skipped:- linuxPackages_4_9.sysdig - php73Extensions.zmq - php74Extensions.pcs - php74Extensions.zmq - python37Packages.pyblock 4 packages failed to build:- python37Packages.pywick - python37Packages.torchvision - python38Packages.pywick - python38Packages.torchvision |
Dropped 0.6.0 bump, since it needs torch 1.5.x. As for the failure, the wheel seems to have a pinned version of 1.4.0, which fails since ours is 1.4.1. As for changing the wheel contents, I'm not sure how to do that. |
Ideally it would be nice to just build this from source, instead of using a wheel. Any reason we can't do that? |
Not sure, just updated based on existing src. Tried building the wheel from source instead directly using the wheel and I get |
For that particularly error, try adding |
Looks like Anyway I think I remembered a reason why it should be downloaded from pypi, probably specifically for prebuilt cuda support. This should build fine now, though I can't guarantee complete feature parity. |
Result of 2 packages failed to build:- python37Packages.pywick - python38Packages.pywick 2 packages built:- python37Packages.torchvision - python38Packages.torchvision |
Linked the original build error to pytorch/vision#1827. Downgrading to 0.5.0 gave a stack trace I couldn't interpret much of, though from what I ripgreped, the calls seem to pass all the necessary parameters. I'll leave this someone more well-versed with the packaging of torchvision.
|
@eadwu, probably now is the time to give it a second try ;) I just rebased this PR on top of my nixos-20.09 branch, updated torchvision version to 0.7 (and hash accordingly) and guess what? It works! I guess because pytorch is at 1.6 now. Unfortunately tests fail for some reason, so I just disabled them.
|
I'm not going to reopen, it may work for now but there isn't really anyone who going to maintain it anyway judging by the updates. I just personally pin it on a certain version from pypi with the corresponding pytorch version locally. |
Darwin filenames are kinda not following a pattern.
Motivation for this change
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)