Skip to content

Pin conda version for Docker builds#164575

Closed
atalman wants to merge 1 commit intopytorch:mainfrom
atalman:pin_conda_version
Closed

Pin conda version for Docker builds#164575
atalman wants to merge 1 commit intopytorch:mainfrom
atalman:pin_conda_version

Conversation

@atalman
Copy link
Contributor

@atalman atalman commented Oct 3, 2025

Mitigates #164574
Remove unused CUDA_CHANNEL var - this was used before when we had pytorch install via conda.

Please note: CUDA 13.0 failures are expected since the CI tries to build against prod and CUDA 13.0 is not available in prod yet.

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 3, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/164575

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures, 50 Pending

As of commit 93d05b7 with merge base 2a7c486 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Oct 3, 2025
@atalman
Copy link
Contributor Author

atalman commented Oct 3, 2025

@pytorchmergebot merge -f "lint is green"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@atalman
Copy link
Contributor Author

atalman commented Oct 3, 2025

@pytorchbot cherry-pick --onto release/2.9 --fixes "Critical Docker fix" -c critical

pytorchbot pushed a commit that referenced this pull request Oct 3, 2025
Mitigates #164574
Remove unused CUDA_CHANNEL var - this was used before when we had  pytorch install via conda.

Please note: CUDA 13.0 failures are expected since the CI tries to build against prod and CUDA 13.0 is not available in prod yet.
Pull Request resolved: #164575
Approved by: https://github.com/malfet, https://github.com/Camyll

(cherry picked from commit e40fe63)
@pytorchbot
Copy link
Collaborator

Cherry picking #164575

The cherry pick PR is at #164579 and it is linked with issue Critical Docker fix. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

atalman added a commit that referenced this pull request Oct 3, 2025
Pin conda version for Docker builds (#164575)

Mitigates #164574
Remove unused CUDA_CHANNEL var - this was used before when we had  pytorch install via conda.

Please note: CUDA 13.0 failures are expected since the CI tries to build against prod and CUDA 13.0 is not available in prod yet.
Pull Request resolved: #164575
Approved by: https://github.com/malfet, https://github.com/Camyll

(cherry picked from commit e40fe63)

Co-authored-by: atalman <atalman@fb.com>
pytorchmergebot pushed a commit that referenced this pull request Oct 6, 2025
Looks like #164575 introduced an issue.
The command is wrong:
```
conda install -c "whl/nightly" -y python=3.11 conda=25.7.0
```
Should be just using default conda channel:
```
conda install  -y python=3.11 conda=25.7.0
```

Pull Request resolved: #164774
Approved by: https://github.com/Camyll
pytorchbot pushed a commit that referenced this pull request Oct 6, 2025
Looks like #164575 introduced an issue.
The command is wrong:
```
conda install -c "whl/nightly" -y python=3.11 conda=25.7.0
```
Should be just using default conda channel:
```
conda install  -y python=3.11 conda=25.7.0
```

Pull Request resolved: #164774
Approved by: https://github.com/Camyll

(cherry picked from commit c1f40d3)
atalman added a commit that referenced this pull request Oct 6, 2025
Fix docker build issue after 164575 (#164774)

Looks like #164575 introduced an issue.
The command is wrong:
```
conda install -c "whl/nightly" -y python=3.11 conda=25.7.0
```
Should be just using default conda channel:
```
conda install  -y python=3.11 conda=25.7.0
```

Pull Request resolved: #164774
Approved by: https://github.com/Camyll

(cherry picked from commit c1f40d3)

Co-authored-by: atalman <atalman@fb.com>
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
Mitigates pytorch#164574
Remove unused CUDA_CHANNEL var - this was used before when we had  pytorch install via conda.

Please note: CUDA 13.0 failures are expected since the CI tries to build against prod and CUDA 13.0 is not available in prod yet.
Pull Request resolved: pytorch#164575
Approved by: https://github.com/malfet, https://github.com/Camyll
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
Looks like pytorch#164575 introduced an issue.
The command is wrong:
```
conda install -c "whl/nightly" -y python=3.11 conda=25.7.0
```
Should be just using default conda channel:
```
conda install  -y python=3.11 conda=25.7.0
```

Pull Request resolved: pytorch#164774
Approved by: https://github.com/Camyll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants