Commit 94598fe
[release/2.6] Use miniforge instead of miniconda; pin to CMake 3.x; install sqlite (#2033)
* Using miniforge avoids rate limit errors when using miniconda
installer and default conda package channel: `[2025-04-15T19:29:19.374Z]
CondaHTTPError: HTTP 429 TERMS OF SERVICE RATE LIMIT EXCEEDED for url
<https://repo.anaconda.com/pkgs/main/linux-64/repodata.json>`
* However, conda-forge channel brings in CMake 4.0 by default, which is
not compatible with older PyTorch release branches. Hence, pin CMake to
3.x
* Also, miniforge installation of conda does *not* install sqlite conda
package by default, hence explicitly install sqlite packages (needed in
[install_rocm.sh](https://github.com/ROCm/pytorch/blob/use_miniforge_release_2.6/.ci/docker/common/install_rocm.sh#L60))
Validation:
http://rocm-ci.amd.com/job/mainline-framework-pytorch-2.6-ub22-py3.10-ci/50/
---------
Co-authored-by: Pruthvi Madugundu <[email protected]>
(cherry picked from commit 9d0a4a1)1 parent 3867b97 commit 94598fe
File tree
3 files changed
+9
-2
lines changed- .ci/docker
- centos-rocm
- common
- ubuntu-rocm
3 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
83 | | - | |
| 88 | + | |
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments