Skip to content

Commit

Permalink
replace conda install with conda run
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylhtsang committed Oct 4, 2023
1 parent 2bde575 commit 45c6a4f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ jobs:
- name: Install PyTorch and CUDA
shell: bash
run: |
conda install -n build_binary pip install torch --index-url https://download.pytorch.org/whl/test/cu118
conda run -n build_binary pip install torch --index-url https://download.pytorch.org/whl/test/cu118
- name: Install fbgemm
shell: bash
run: |
conda install -n build_binary pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/test/cu118
conda run -n build_binary pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/test/cu118
- name: Install Dependencies
shell: bash
run: |
Expand Down Expand Up @@ -176,16 +176,16 @@ jobs:
- name: Install PyTorch and CUDA
shell: bash
run: |
conda install -n build_binary pip install torch --index-url https://download.pytorch.org/whl/test/cu118
conda run -n build_binary pip install torch --index-url https://download.pytorch.org/whl/test/cu118
# download wheel from GHA
- name: Install fbgemm
shell: bash
run: |
conda install -n build_binary pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/test/cu118
conda run -n build_binary pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/test/cu118
- name: Install torchmetrics
shell: bash
run: |
conda install -n build_binary pip install torchmetrics==1.0.3
conda run -n build_binary pip install torchmetrics==1.0.3
- name: Download wheel
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit 45c6a4f

Please sign in to comment.