-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Bump to PyTorch 2.0.0 #165
Conversation
…nda-forge-pinning 2023.03.29.16.02.14
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Fixes #151 |
Still struggling with some issues.
Let's see what happens in CI. |
It seems like this is working quite well :) Unfortunately linux-aarch64 errors with:
Any ideas where this issue might be from @conda-forge/pytorch-cpu @conda-forge/libprotobuf @conda-forge/protobuf? It seems like it could be related to the gcc version (NVIDIA-AI-IOT/torch2trt#53)? I can only find this issue on conda-forge but it does not seem to apply here (mixing defaults and conda-forge channels): conda-forge/paraview-feedstock#23 Several issues hint to towards issues with onnx/caffe2. |
my guess is that somebody is re-exporting the symbols publicly. It may be the vendored onnx? |
Looks like this is now ready for review. Could someone else please test a cuda build locally? |
I'm building now. About 6 hours per build. about 12 hours to go. Do we have a "test" script for GPU usage? I'm kinda out of creative stamina for the day so if you have an idea I would be all ears. |
Thanks @hmaarrfk! We can test the gpu builds with
|
is the |
Builds starting to upload https://anaconda.org/mark.harfouche/pytorch/files if people want a more thorough test. |
There are a few instances of Not sure what it refers to |
Of course, pytorch needs to have a custom version numbering system ^_^ The use the CONDA_BUILD_NUMBER and add it to the version number. I can't fully trace it, but it seems to be related to the build number. Lets maybe flag this as an issue, but I don't want to patch too much at this stage. |
I don't think it's a big deal, is it? If you really wanted to, we could change https://github.com/Tobias-Fischer/pytorch-cpu-feedstock/blob/5f00d8033d7cc23eb9831c74dc038fe3e4047562/recipe/build_pytorch.sh#LL56 to 0 instead. |
I think it is ok as is. Eventually, i think somebody's version check will be broken but we can deal with it later. |
So far no one has complained, and we've had the same situation in past conda-forge builds:
|
Yeah. I agree. I think it's fine. Just waiting for the builds at this stage. |
LInux cuda log files |
I thought that 2.0 needed Triton as a backend, or is that optional...? |
The post.xxx has always been there. I believed it was due to building from cloning a git repo... Any comment on triton btw? Are we building with all new 2.x capabilities? |
hm, sorry i forgot to test for triton, is there a "test" you would like be to try on a GPU? |
Not sure, I haven't been using GPUs for a few months now, but I can test when I get a chance in a few weeks. Let's keep this on our radar for 2.0.1 (unless someone complains before then). Note "torchtriton" in the uploads from the PyTorch channel: linux-64/pytorch-2.0.0-py3.8_cuda11.8_cudnn8.7.0_0.tar.bz2No Description
|
linux compiling just takes "time" but it is easy to start, so if somebody wants to add triton support, i can rebuild linux. |
|
Another issue seems to be that I can't install a recent version of torchvision and pytorch=2 side-by-side; I manage to kill mamba ;)
If I don't specify the torchvision version, it pulls in a very old torchvision which is definitely not compatible .. |
pytorch run exports itself, so torchvision has to be rebuilt. |
Let's move the discussion to #166 to better keep track. The issue with torchvision should be resolved with the migrator or with a manual rebuild |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)