Skip to content

Commit 7cfe421

Browse files
TroyGardenfacebook-github-bot
authored andcommitted
modify github action (#3055)
Summary: Pull Request resolved: #3055 # context * build dynamic embedding wheels is only needed for torchrec/contrib which rarely changes, so make this workflow run conditionally. * add python 3.13 unit test jobs since we now support python 3.13 Reviewed By: aliafzal Differential Revision: D76182131 fbshipit-source-id: f73d266749dce41ccbec2132d0a791631326423f
1 parent bfbd95d commit 7cfe421

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.github/workflows/build_dynamic_embedding_wheels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Build Dynamic Embedding Wheels
33
on:
44
workflow_dispatch:
55
pull_request:
6+
paths:
7+
- "contrib/*"
68
branches:
79
- main
810
push:

.github/workflows/unittest_ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,18 @@ jobs:
6969
python-version: '3.12'
7070
python-tag: "py312"
7171
cuda-tag: "cu128"
72+
- os: linux.g5.12xlarge.nvidia.gpu
73+
python-version: '3.13'
74+
python-tag: "py313"
75+
cuda-tag: "cu118"
76+
- os: linux.g5.12xlarge.nvidia.gpu
77+
python-version: '3.13'
78+
python-tag: "py313"
79+
cuda-tag: "cu126"
80+
- os: linux.g5.12xlarge.nvidia.gpu
81+
python-version: '3.13'
82+
python-tag: "py313"
83+
cuda-tag: "cu128"
7284
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
7385
permissions:
7486
id-token: write

.github/workflows/unittest_ci_cpu.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
- os: linux.2xlarge
3636
python-version: '3.12'
3737
python-tag: "py312"
38+
- os: linux.2xlarge
39+
python-version: '3.13'
40+
python-tag: "py313"
3841
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
3942
permissions:
4043
id-token: write

0 commit comments

Comments
 (0)