Skip to content

Commit 501fc5e

Browse files
authored
Add nightly build and upload for torchcodec (#5814)
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?
1 parent 9b428a3 commit 501fc5e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/trigger_nightly.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,11 @@ jobs:
101101
repository: pytorch/torchtune
102102
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
103103
path: torchtune
104-
104+
- name: Trigger nightly torchcodec build
105+
if: ${{ github.event_name == 'schedule' || inputs.domain == 'torchcodec' || inputs.domain == 'all' }}
106+
uses: ./.github/actions/trigger-nightly
107+
with:
108+
ref: main
109+
repository: pytorch/torchcodec
110+
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
111+
path: torchcodec

0 commit comments

Comments
 (0)