Skip to content
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

Install PyTorch for CPU on CIs #5042

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/checks-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
- name: Install
run: |
python -m pip install -U pip
pip install --progress-bar off -U .[benchmark]
pip install --progress-bar off -U .[benchmark] --extra-index-url https://download.pytorch.org/whl/cpu
pip install --progress-bar off -U .[checking]
pip install --progress-bar off -U .[integration] --extra-index-url https://download.pytorch.org/whl/cpu
pip install --progress-bar off -U .[optional]
pip install --progress-bar off -U .[optional] --extra-index-url https://download.pytorch.org/whl/cpu
pip install --progress-bar off -U .[test]
pip install --progress-bar off -U bayesmark
pip install --progress-bar off -U kurobako
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
optuna --version

pip install --progress-bar off .[test]
pip install --progress-bar off .[optional]
pip install --progress-bar off .[optional] --extra-index-url https://download.pytorch.org/whl/cpu
pip install --progress-bar off .[integration] --extra-index-url https://download.pytorch.org/whl/cpu

echo 'import coverage; coverage.process_startup()' > sitecustomize.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance-benchmarks-bayesmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
python -c 'import optuna'
optuna --version

pip install --progress-bar off .[benchmark]
pip install --progress-bar off .[benchmark] --extra-index-url https://download.pytorch.org/whl/cpu
pip install --progress-bar off bayesmark matplotlib pandas

- name: Output installed packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance-benchmarks-kurobako.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
python -c 'import optuna'
optuna --version

pip install --progress-bar off .[benchmark]
pip install --progress-bar off .[benchmark] --extra-index-url https://download.pytorch.org/whl/cpu

pip install --progress-bar off kurobako

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance-benchmarks-mo-kurobako.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
python -c 'import optuna'
optuna --version

pip install --progress-bar off .[benchmark]
pip install --progress-bar off .[benchmark] --extra-index-url https://download.pytorch.org/whl/cpu

pip install --progress-bar off kurobako

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/speed-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
python -c 'import optuna'
optuna --version

pip install --progress-bar off .[benchmark]
pip install --progress-bar off .[benchmark] --extra-index-url https://download.pytorch.org/whl/cpu
asv machine --yes

- name: Output installed packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sphinx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install -U pip
pip install --progress-bar off -U .[document]
pip install --progress-bar off -U .[document] --extra-index-url https://download.pytorch.org/whl/cpu

- name: Output installed packages
run: |
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install -U pip
pip install --progress-bar off -U .[document]
pip install --progress-bar off -U .[document] --extra-index-url https://download.pytorch.org/whl/cpu

- name: Output installed packages
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
optuna --version

pip install --progress-bar off .[test]
pip install --progress-bar off .[optional]
pip install --progress-bar off .[optional] --extra-index-url https://download.pytorch.org/whl/cpu
pip install --progress-bar off .[integration] --extra-index-url https://download.pytorch.org/whl/cpu

- name: Output installed packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
optuna --version

pip install --progress-bar off .[test]
pip install --progress-bar off .[optional]
pip install --progress-bar off .[optional] --extra-index-url https://download.pytorch.org/whl/cpu

# TODO(not522): Remove this line when torchmetrics can be installed with extra-index-url
pip install --progress-bar off torchmetrics
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
optuna --version

pip install --progress-bar off .[test]
pip install --progress-bar off .[optional]
pip install --progress-bar off .[optional] --extra-index-url https://download.pytorch.org/whl/cpu

- name: Install DB bindings
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-with-minimum-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
optuna --version

pip install --progress-bar off .[test]
pip install --progress-bar off .[optional]
pip install --progress-bar off .[optional] --extra-index-url https://download.pytorch.org/whl/cpu

- name: Install dependencies with minimum versions
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
optuna --version

pip install --progress-bar off .[test]
pip install --progress-bar off .[optional]
pip install --progress-bar off .[optional] --extra-index-url https://download.pytorch.org/whl/cpu

- name: Output installed packages
run: |
Expand Down