Skip to content

Commit 543cdd1

Browse files
committed
check-inductor-report.py
1 parent 3679715 commit 543cdd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/e2e-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ jobs:
239239
--mode=${{ inputs.mode }} \
240240
--test_mode=${{ inputs.test_mode }} \
241241
--device=xpu \
242-
--workspace="${GITHUB_WORKSPACE}"
242+
--inductor-log-dir="${GITHUB_WORKSPACE}/inductor_log"
243243
fi
244244
else
245245
bash -e $GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ inputs.suite }} ${{ inputs.dtype }} ${{ inputs.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0

scripts/check_inductor_report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def check_report(suite, dtype, mode, test_mode, device, models_file, inductor_lo
1515
exitcode = 0
1616

1717
with open(models_file, encoding="utf-8") as f:
18-
subset = f.read().strip().split("\n")
18+
subset = f.readlines()
1919

2020
with open(inductor_report_path, encoding="utf-8") as f:
2121
reader = csv.reader(f)

0 commit comments

Comments
 (0)