Skip to content

Commit 6a8d921

Browse files
committed
fixes
1 parent 1a8e3b5 commit 6a8d921

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.ci/scripts/validate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,16 +322,16 @@ CHECKPOINT_PATH="$1"
322322
TARGET_DEVICE="${2:-cpu}"
323323
PROMPT="Hello, my name is"
324324

325+
DTYPES="${3:-default}"
325326

326-
if [ "$#" -gt 2 ]; then
327+
if [ "$#" -gt 3 ]; then
327328
# Additional arguments provided
328329
for arg in "${@:3}"; do
329330
case "$arg" in
330331
"compile")
331332
run_compile || exit 1
332333
;;
333334
"aoti")
334-
DTYPES="${4:-default}"
335335
run_aoti || exit 1
336336
;;
337337
"executorch")

.github/workflows/pull.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
186186
test-gpu-aoti-bfloat16:
187187
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
188-
name: test-gpu-aoti (${{ matrix.platform }}, ${{ matrix.model_name }})
188+
name: test-gpu-aoti-bfloat16 (${{ matrix.platform }}, ${{ matrix.model_name }})
189189
needs: gather-models-gpu
190190
strategy:
191191
matrix: ${{ fromJSON(needs.gather-models-gpu.outputs.models) }}
@@ -221,7 +221,7 @@ jobs:
221221
222222
test-gpu-aoti-float32:
223223
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
224-
name: test-gpu-aoti (${{ matrix.platform }}, ${{ matrix.model_name }})
224+
name: test-gpu-aoti-float32 (${{ matrix.platform }}, ${{ matrix.model_name }})
225225
needs: gather-models-gpu
226226
strategy:
227227
matrix: ${{ fromJSON(needs.gather-models-gpu.outputs.models) }}
@@ -257,7 +257,7 @@ jobs:
257257
258258
test-gpu-aoti-float16:
259259
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
260-
name: test-gpu-aoti (${{ matrix.platform }}, ${{ matrix.model_name }})
260+
name: test-gpu-aoti-float16 (${{ matrix.platform }}, ${{ matrix.model_name }})
261261
needs: gather-models-gpu
262262
strategy:
263263
matrix: ${{ fromJSON(needs.gather-models-gpu.outputs.models) }}

0 commit comments

Comments
 (0)