-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Help with adding support for pytorch 2.2.0 #10
Comments
We need to bump the global pin for PyTorch - see https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/2afb0c7d4a59c885bfb68cf0c13c93675090e960/recipe/conda_build_config.yaml#L609-L611 and conda-forge/conda-forge-pinning-feedstock#5412 Once that's bumped, the bot will automatically migrate pytorch3d to the new PyTorch version. /cc @hmaarrfk |
There are no 2.2.0 build of pytorch on conda-forge There are a few PRs aimed at improving the pytorch recipe along different axes. None have made a substantial enough improvement to warrant merging, but perhaps you can combine a few together into one. |
Maybe noob question: Is there a specific reason to rely on conda-forge::pytorch and not the seemingly more widely used pytorch::pytorch? |
Recommendation is to not mix depedencies from different channels, e.g. installing
And yes, it can be frustrating to not be able to use the latest Pytorch 2.2 version. It usually takes maybe 3-4 months (if not longer) after the official upstream release for conda-forge to package things properly (see ongoing effort at conda-forge/pytorch-cpu-feedstock#221), depending on maintainer availability. There's just a lot of moving pieces to get all the packages to line up properly and be compatible with each other. |
@weiji14 Ah, I understand. Thank you for the in-depth explanation! |
FYI, |
Thanks for your patience all |
Comment:
Version 0.7.6 of pytorch3d supports pytorch version 2.2.0
https://github.com/facebookresearch/pytorch3d/releases/tag/v0.7.6
But the feedstock is still producing builds depending on 2.1. Seems like there's still a build-time requirement of pytorch 2.1, as seen in the conda-smithy-generated build configuration files, e.g.:
https://github.com/conda-forge/pytorch3d-feedstock/blob/main/.ci_support/linux_64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12numpy1.23python3.11.____cpython.yaml#L35
The README in .ci_support says to go change recipe/conda_build_config.yaml, which I assume is just an outdated reference to recipe/meta.yaml, but I'm not sure where conda-smithy is picking up the version 2.1 from.
Is it just solving for 2.1 on this line here?
https://github.com/conda-forge/pytorch3d-feedstock/blob/main/recipe/meta.yaml#L55
What changes need to be made to build for pytorch 2.2? Do additional build variations need to be added for different versions of pytorch, a la python?
For reference, here's the output of a conda search for a build produced today:
The <2.2.0a0 constraint on pytorch is unnecessary as of version 0.7.6. Seems this can be bumped to <2.3.0a0?
Thank you!
The text was updated successfully, but these errors were encountered: