Skip to content

Conversation

@atalman
Copy link
Contributor

@atalman atalman commented Jul 15, 2025

This is related to: https://www.anaconda.com/legal/terms/terms-of-service

Trying to fix outage with docker builds.
https://github.com/pytorch/pytorch/actions/runs/16298993712/job/46033590799

Rocm and XPU builds since they use Miniforge are not affected

#22 ERROR: process "/bin/sh -c bash ./install_conda.sh && rm install_conda.sh install_magma_conda.sh common_utils.sh /opt/conda/requirements-ci.txt /opt/conda/requirements-docs.txt" did not complete successfully: exit code: 1
------
 > [base 14/42] RUN bash ./install_conda.sh && rm install_conda.sh install_magma_conda.sh common_utils.sh /opt/conda/requirements-ci.txt /opt/conda/requirements-docs.txt:
11.93 CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
11.93     • https://repo.anaconda.com/pkgs/main
11.93     • https://repo.anaconda.com/pkgs/r
11.93 
11.93 To accept a channel's Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
11.93     ‣ conda tos accept --override-channels --channel CHANNEL

Hence solution is:

  1. using conda tos accept --override-channels --channel defaults
  2. use Miniforge instead of Miniconda.

Using solution 2.

Solution Tried that don't work:

  1. Using CONDA_ALWAYS_YES = true

  2. Using older version of miniconda

[Miniconda3-py310_25.5.1-0-Linux-x86_64.sh](https://repo.anaconda.com/miniconda/Miniconda3-py310_25.5.1-0-Linux-x86_64.sh)

@atalman atalman requested a review from jeffdaily as a code owner July 15, 2025 20:06
@pytorch-bot
Copy link

pytorch-bot bot commented Jul 15, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 95 Pending

As of commit cdb4008 with merge base 9d184bd (image):
💚 Looks good so far! There are no failures yet. 💚

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 Jul 15, 2025
@atalman atalman changed the title Use CONDA_ALWAYS_YES = true for conda install Move from Miniconda to Miniforge Jul 15, 2025
Copy link
Member

@seemethere seemethere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good although I'd say the most ideal thing would be to just remove the conda dependency altogether.

You need to remove your trailing whitespace

@atalman
Copy link
Contributor Author

atalman commented Jul 15, 2025

Will need to remove conda once we can remove these from Nova workflow

@atalman atalman added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 16, 2025
@atalman atalman changed the title Move from Miniconda to Miniforge Avoid CondaToSNonInteractiveError - run tos accept Jul 16, 2025
@atalman atalman changed the title Avoid CondaToSNonInteractiveError - run tos accept [Docker builds] Avoid CondaToSNonInteractiveError - run tos accept Jul 16, 2025
@pytorch pytorch deleted a comment from pytorch-bot bot Jul 16, 2025
atalman added 2 commits July 16, 2025 06:48
This reverts commit 2853662.
This reverts commit 8b34264.
@atalman atalman changed the title [Docker builds] Avoid CondaToSNonInteractiveError - run tos accept [Docker builds] Move from Miniconda to Miniforge Jul 16, 2025
@atalman
Copy link
Contributor Author

atalman commented Jul 16, 2025

@pytorchmergebot merge -f "CI already passed on this commit"

@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

@laithsakka
Copy link
Contributor

@pytorchbot revert -m "this fail pr time benchmarks"

@pytorch-bot
Copy link

pytorch-bot bot commented Jul 17, 2025

❌ 🤖 pytorchbot command failed:

@pytorchbot revert: error: the following arguments are required: -c/--classification

usage: @pytorchbot revert -m MESSAGE -c
                          {nosignal,ignoredsignal,landrace,weird,ghfirst}

Try @pytorchbot --help for more info.

@laithsakka
Copy link
Contributor

@pytorchbot revert -m "this fail pr time benchmarks" -c nosignal

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

@pytorchmergebot pytorchmergebot added Reverted ci-no-td Do not run TD on this PR labels Jul 17, 2025
@pytorch pytorch deleted a comment from pytorchmergebot Jul 17, 2025
@laithsakka
Copy link
Contributor

@pytorchbot merge -f "my bad reverted wrong pr"

@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

@laithsakka
Copy link
Contributor

@atalman I apologize for reverting this by mistake, I am trying to reland ASAP.

@dawnwages
Copy link

Hey Team, Community & DevRel from Anaconda here.

You can set the CONDA_PLUGINS_AUTO_ACCEPT_TOS environment variable to "yes" to accept the Terms of Service automatically and that will help you right now. Feel free to reach out to [email protected] or my email [email protected].

I know that the PR is merged and sorted - but I want to follow up in case conversations are happening elsewhere.

We did not intend to interrupt CI workflows. A fix is coming soon (between an hour and 24 based on cache and workflows). Thanks so much for updating your documentation to follow up with the answer to the fix for your users.

status page: https://anaconda.statuspage.io/

So sorry for the inconvenience. Bear with us, our open source community are important to us and we're hoping to improve clarity and convenience. A fix is coming soon.

DW

atalman added a commit to atalman/pytorch that referenced this pull request Jul 21, 2025
This is related to: https://www.anaconda.com/legal/terms/terms-of-service

Trying to fix outage with docker builds.
https://github.com/pytorch/pytorch/actions/runs/16298993712/job/46033590799

Rocm and XPU builds since they use Miniforge are not affected

```
pytorch#22 ERROR: process "/bin/sh -c bash ./install_conda.sh && rm install_conda.sh install_magma_conda.sh common_utils.sh /opt/conda/requirements-ci.txt /opt/conda/requirements-docs.txt" did not complete successfully: exit code: 1
------
 > [base 14/42] RUN bash ./install_conda.sh && rm install_conda.sh install_magma_conda.sh common_utils.sh /opt/conda/requirements-ci.txt /opt/conda/requirements-docs.txt:
11.93 CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
11.93     • https://repo.anaconda.com/pkgs/main
11.93     • https://repo.anaconda.com/pkgs/r
11.93
11.93 To accept a channel's Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
11.93     ‣ conda tos accept --override-channels --channel CHANNEL
```
Hence solution is:
1. using `` conda tos accept --override-channels --channel defaults``
2. use Miniforge instead of Miniconda.

Using solution 2.

Solution Tried that don't work:
1. Using ``CONDA_ALWAYS_YES = true ``

4. Using older version of miniconda
```
[Miniconda3-py310_25.5.1-0-Linux-x86_64.sh](https://repo.anaconda.com/miniconda/Miniconda3-py310_25.5.1-0-Linux-x86_64.sh)
```
Pull Request resolved: pytorch#158370
Approved by: https://github.com/seemethere

Co-authored-by: Eli Uriegas <[email protected]>
atalman added a commit that referenced this pull request Jul 21, 2025
… (#158756)

* [Docker builds] Move from Miniconda to Miniforge (#158370)

This is related to: https://www.anaconda.com/legal/terms/terms-of-service

Trying to fix outage with docker builds.
https://github.com/pytorch/pytorch/actions/runs/16298993712/job/46033590799

Rocm and XPU builds since they use Miniforge are not affected

```
#22 ERROR: process "/bin/sh -c bash ./install_conda.sh && rm install_conda.sh install_magma_conda.sh common_utils.sh /opt/conda/requirements-ci.txt /opt/conda/requirements-docs.txt" did not complete successfully: exit code: 1
------
 > [base 14/42] RUN bash ./install_conda.sh && rm install_conda.sh install_magma_conda.sh common_utils.sh /opt/conda/requirements-ci.txt /opt/conda/requirements-docs.txt:
11.93 CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
11.93     • https://repo.anaconda.com/pkgs/main
11.93     • https://repo.anaconda.com/pkgs/r
11.93
11.93 To accept a channel's Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
11.93     ‣ conda tos accept --override-channels --channel CHANNEL
```
Hence solution is:
1. using `` conda tos accept --override-channels --channel defaults``
2. use Miniforge instead of Miniconda.

Using solution 2.

Solution Tried that don't work:
1. Using ``CONDA_ALWAYS_YES = true ``

4. Using older version of miniconda
```
[Miniconda3-py310_25.5.1-0-Linux-x86_64.sh](https://repo.anaconda.com/miniconda/Miniconda3-py310_25.5.1-0-Linux-x86_64.sh)
```
Pull Request resolved: #158370
Approved by: https://github.com/seemethere

Co-authored-by: Eli Uriegas <[email protected]>

* Remove tos

---------

Co-authored-by: Eli Uriegas <[email protected]>
@github-actions github-actions bot deleted the atalman-patch-8 branch August 17, 2025 02:19
tvukovic-amd pushed a commit to ROCm/pytorch that referenced this pull request Aug 20, 2025
…h#158370) (pytorch#158756)

* [Docker builds] Move from Miniconda to Miniforge (pytorch#158370)

This is related to: https://www.anaconda.com/legal/terms/terms-of-service

Trying to fix outage with docker builds.
https://github.com/pytorch/pytorch/actions/runs/16298993712/job/46033590799

Rocm and XPU builds since they use Miniforge are not affected

```
#22 ERROR: process "/bin/sh -c bash ./install_conda.sh && rm install_conda.sh install_magma_conda.sh common_utils.sh /opt/conda/requirements-ci.txt /opt/conda/requirements-docs.txt" did not complete successfully: exit code: 1
------
 > [base 14/42] RUN bash ./install_conda.sh && rm install_conda.sh install_magma_conda.sh common_utils.sh /opt/conda/requirements-ci.txt /opt/conda/requirements-docs.txt:
11.93 CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
11.93     • https://repo.anaconda.com/pkgs/main
11.93     • https://repo.anaconda.com/pkgs/r
11.93
11.93 To accept a channel's Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
11.93     ‣ conda tos accept --override-channels --channel CHANNEL
```
Hence solution is:
1. using `` conda tos accept --override-channels --channel defaults``
2. use Miniforge instead of Miniconda.

Using solution 2.

Solution Tried that don't work:
1. Using ``CONDA_ALWAYS_YES = true ``

4. Using older version of miniconda
```
[Miniconda3-py310_25.5.1-0-Linux-x86_64.sh](https://repo.anaconda.com/miniconda/Miniconda3-py310_25.5.1-0-Linux-x86_64.sh)
```
Pull Request resolved: pytorch#158370
Approved by: https://github.com/seemethere

Co-authored-by: Eli Uriegas <[email protected]>

* Remove tos

---------

Co-authored-by: Eli Uriegas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td Do not run TD on this PR ciflow/trunk Trigger trunk jobs on your pull request Merged Reverted topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants