Skip to content

Commit 90fd146

Browse files
committed
[E2E] Align benchmarks/dynamo configs to match what torch-xpu-ops uses
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
1 parent 5f7ccc1 commit 90fd146

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/e2e-reusable.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,18 @@ jobs:
7272
- name: Checkout repository
7373
uses: actions/checkout@v5
7474

75+
- name: Set torch-xpu-ops commit id
76+
run: |
77+
TORCH_XPU_OPS_COMMIT_ID="$(<.github/pins/e2e_reference_torch-xpu-ops.txt)"
78+
echo "TORCH_XPU_OPS_COMMIT_ID=$TORCH_XPU_OPS_COMMIT_ID" | tee -a "$GITHUB_ENV"
79+
80+
- name: Clone torch-xpu-ops repository
81+
uses: actions/checkout@v5
82+
with:
83+
repository: intel/torch-xpu-ops
84+
ref: ${{ env.TORCH_XPU_OPS_COMMIT_ID }}
85+
path: torch-xpu-ops
86+
7587
- name: Load pip cache
7688
id: pip-cache
7789
uses: ./.github/actions/load
@@ -97,6 +109,10 @@ jobs:
97109
with:
98110
ref: ${{ inputs.pytorch_ref }}
99111

112+
- name: Update PyTorch benchmarks/dynamo configs using torch-xpu-ops custom configs
113+
run: |
114+
rsync -avz torch-xpu-ops/.ci/benchmarks/ pytorch/benchmarks/dynamo/
115+
100116
- name: Identify pinned versions
101117
run: |
102118
cd pytorch

0 commit comments

Comments
 (0)