File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,6 @@ function run_eval_sanity_check(){
321
321
CHECKPOINT_PATH=" $1 "
322
322
TARGET_DEVICE=" ${2:- cpu} "
323
323
PROMPT=" Hello, my name is"
324
- DTYPES=" ${4:- default} "
325
324
326
325
if [ " $# " -gt 2 ]; then
327
326
# Additional arguments provided
@@ -331,6 +330,19 @@ if [ "$#" -gt 2 ]; then
331
330
run_compile || exit 1
332
331
;;
333
332
" aoti" )
333
+ DTYPES=" default"
334
+ run_aoti || exit 1
335
+ ;;
336
+ " aoti-bfloat16" )
337
+ DTYPES=" bfloat16"
338
+ run_aoti || exit 1
339
+ ;;
340
+ " aoti-float16" )
341
+ DTYPES=" float16"
342
+ run_aoti || exit 1
343
+ ;;
344
+ " aoti-float32" )
345
+ DTYPES=" float32"
334
346
run_aoti || exit 1
335
347
;;
336
348
" executorch" )
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ jobs:
217
217
echo "::endgroup::"
218
218
219
219
echo "::group::Run inference"
220
- bash .ci/scripts/validate.sh "./checkpoints/${REPO_NAME}/model.pth" "cuda" "aoti" " bfloat16"
220
+ bash .ci/scripts/validate.sh "./checkpoints/${REPO_NAME}/model.pth" "cuda" "aoti- bfloat16"
221
221
echo "::endgroup::"
222
222
223
223
test-gpu-aoti-float32 :
@@ -253,7 +253,7 @@ jobs:
253
253
echo "::endgroup::"
254
254
255
255
echo "::group::Run inference"
256
- bash .ci/scripts/validate.sh "./checkpoints/${REPO_NAME}/model.pth" "cuda" "aoti" " float32"
256
+ bash .ci/scripts/validate.sh "./checkpoints/${REPO_NAME}/model.pth" "cuda" "aoti- float32"
257
257
echo "::endgroup::"
258
258
259
259
test-gpu-aoti-float16 :
@@ -289,7 +289,7 @@ jobs:
289
289
echo "::endgroup::"
290
290
291
291
echo "::group::Run inference"
292
- bash .ci/scripts/validate.sh "./checkpoints/${REPO_NAME}/model.pth" "cuda" "aoti" " float16"
292
+ bash .ci/scripts/validate.sh "./checkpoints/${REPO_NAME}/model.pth" "cuda" "aoti- float16"
293
293
echo "::endgroup::"
294
294
295
295
test-gpu-eval-sanity-check :
You can’t perform that action at this time.
0 commit comments