Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/RollPyTorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Update PyTorch Build Cache (if running on main branch)
if: github.ref_name == 'main'
id: cache-pytorch
uses: actions/cache@v3
uses: ashay/cache@v1
with:
path: ${{ github.workspace }}/build_tools/python_deploy/wheelhouse
key: ubuntu-x86_64-pytorch-${{ env.PT_HASH }}
key: ${{ runner.os }}-pytorch-${{ env.PT_HASH }}
9 changes: 5 additions & 4 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,14 @@ jobs:
with:
arch: x64

- name: Cache PyTorch Build (if running on main branch)
if: github.ref_name == 'main' && matrix.os-arch != 'windows-x86_64'
- name: Cache PyTorch Build
if: matrix.os-arch != 'windows-x86_64'
id: cache-pytorch
uses: actions/cache@v3
uses: ashay/cache@v1
with:
path: ${{ github.workspace }}/build_tools/python_deploy/wheelhouse
key: ${{ matrix.os-arch }}-pytorch-${{ env.PT_HASH }}
key: ${{ runner.os }}-pytorch-${{ env.PT_HASH }}
save: ${{ github.ref_name == 'main' && matrix.torch-binary == 'OFF' }}

- name: Build and Test os-arch='ubuntu-x86_64' llvm-build='${{ matrix.llvm-build }}' torch-binary='${{ matrix.torch-binary }}'
if: ${{ matrix.os-arch == 'ubuntu-x86_64' }}
Expand Down