Skip to content

Commit

Permalink
Add nightly build and upload for torchcodec (#5814)
Browse files Browse the repository at this point in the history
We want torchcodec's mac, cuda and cpu wheels to be automatically
uploaded to download.pytorch.org.

Currently we are building the wheels on every PR but not actually
uploading them as they are in dry-run mode. Example for cuda we do this:


https://github.com/pytorch/torchcodec/actions/runs/11485682426/job/31966672538?pr=272#step:10:97


![image](https://github.com/user-attachments/assets/d4fded9c-fe29-44b1-b3bc-2d9678bce10f)


@huydhn can you confirm that the dry-run is copying to the correct path
for this cuda wheel?
  • Loading branch information
ahmadsharif1 authored Oct 25, 2024
1 parent 9b428a3 commit 501fc5e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/trigger_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,11 @@ jobs:
repository: pytorch/torchtune
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: torchtune

- name: Trigger nightly torchcodec build
if: ${{ github.event_name == 'schedule' || inputs.domain == 'torchcodec' || inputs.domain == 'all' }}
uses: ./.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/torchcodec
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: torchcodec

0 comments on commit 501fc5e

Please sign in to comment.