-
Notifications
You must be signed in to change notification settings - Fork 84
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
Remove distr prefix from macos builds #4766
Conversation
@atalman is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
a8b07bc
to
ddb27f5
Compare
MacOS smoke test started to fail with following error: ``` /opt/homebrew/Caskroom/miniconda/base/bin/conda run -p /Users/ec2-user/runner/_work/_temp/pytorch_pkg_helpers_7018156083_smoke conda install --quiet --yes -c pytorch-nightly -c file:///Users/ec2-user/runner/_work/vision/vision/pytorch/vision/distr distr::torchvision PackagesNotFoundError: The following packages are not available from current channels: - distr::torchvision Current channels: - https://conda.anaconda.org/pytorch-nightly - file:///Users/ec2-user/runner/_work/vision/vision/pytorch/vision/distr - defaults - https://conda.anaconda.org/distr <-- Here is the error To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org/ and use the search bar at the top of the page. ``` Hence removing distr channel produces expected result. Please note: followup may be required to make sure file is actually installed from expected: `` file:///Users/ec2-user/runner/_work/vision/vision/pytorch/vision/distr `` and not ``pytorch-nightly`` or ``pytorch-test``
MacOS smoke test started to fail with following error: ``` /opt/homebrew/Caskroom/miniconda/base/bin/conda run -p /Users/ec2-user/runner/_work/_temp/pytorch_pkg_helpers_7018156083_smoke conda install --quiet --yes -c pytorch-nightly -c file:///Users/ec2-user/runner/_work/vision/vision/pytorch/vision/distr distr::torchvision PackagesNotFoundError: The following packages are not available from current channels: - distr::torchvision Current channels: - https://conda.anaconda.org/pytorch-nightly - file:///Users/ec2-user/runner/_work/vision/vision/pytorch/vision/distr - defaults - https://conda.anaconda.org/distr <-- Here is the error To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org/ and use the search bar at the top of the page. ``` Hence removing distr channel produces expected result. Please note: followup may be required to make sure file is actually installed from expected: `` file:///Users/ec2-user/runner/_work/vision/vision/pytorch/vision/distr `` and not ``pytorch-nightly`` or ``pytorch-test``
Please revert this change and file a bug against conda, as they should support local changes (or perhaps the syntax have changed) |
…l. (#4770) Forward fix for: #4766 Related to issue: https://github.com/conda/conda/issues/13374 1. Make sure packages are searched in particular order during install. Use override-channel option when installing packages for smoke test: From Conda documentation: https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/channels.html#specifying-channels-when-installing-packages ``` From the command line use --c You may specify multiple channels by passing the argument multiple times. Priority decreases from left to right - the first argument is higher priority than the second. From the command line use --override-channels to only search the specified channel(s), rather than any channels configured in .condarc. ``` 2. Add check for validating that required package is actually installed from required channel
…l. (pytorch#4770) Forward fix for: pytorch#4766 Related to issue: https://github.com/conda/conda/issues/13374 1. Make sure packages are searched in particular order during install. Use override-channel option when installing packages for smoke test: From Conda documentation: https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/channels.html#specifying-channels-when-installing-packages ``` From the command line use --c You may specify multiple channels by passing the argument multiple times. Priority decreases from left to right - the first argument is higher priority than the second. From the command line use --override-channels to only search the specified channel(s), rather than any channels configured in .condarc. ``` 2. Add check for validating that required package is actually installed from required channel
#4771) Forward fix for: #4766 Related to issue: https://github.com/conda/conda/issues/13374 1. Make sure packages are searched in particular order during install. Use override-channel option when installing packages for smoke test: From Conda documentation: https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/channels.html#specifying-channels-when-installing-packages ``` From the command line use --c You may specify multiple channels by passing the argument multiple times. Priority decreases from left to right - the first argument is higher priority than the second. From the command line use --override-channels to only search the specified channel(s), rather than any channels configured in .condarc. ``` 2. Add check for validating that required package is actually installed from required channel
MacOS smoke test started to fail with following error:
Hence removing distr channel produces expected result.
Please note: followup may be required to make sure file is actually installed from expected:
file:///Users/ec2-user/runner/_work/vision/vision/pytorch/vision/distr
and not
pytorch-nightly
orpytorch-test