File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -279,17 +279,16 @@ function eval_model_sanity_check() {
279
279
280
280
python -W ignore eval.py --dtype ${DTYPE} --quant " $QUANT_OPTIONS " --checkpoint-path " $CHECKPOINT_PATH " --device " $TARGET_DEVICE " --limit 5 > " $MODEL_DIR /eval_eager" || exit 1
281
281
cat " $MODEL_DIR /eval_eager"
282
- fi ;
283
-
284
282
285
- # there is some issues with AOTI cpu and cuda, need to fix and enable the test for cuda as well
286
- echo " *************************************************"
287
- echo " ******** INT4 group-wise quantized (AOTI) *******"
288
- echo " *************************************************"
289
- if [ " $DTYPE " != " float16" ]; then
290
- python3 -W ignore export.py --dtype ${DTYPE} --quant " $QUANT_OPTIONS " --checkpoint-path " $CHECKPOINT_PATH " --output-dso-path ${MODEL_DIR} /${MODEL_NAME} .so --device " $TARGET_DEVICE " || exit 1
291
- python3 -W ignore eval.py --dtype ${DTYPE} --checkpoint-path " $CHECKPOINT_PATH " --dso-path ${MODEL_DIR} /${MODEL_NAME} .so --device " $TARGET_DEVICE " --limit 5 > " $MODEL_DIR /output_eval_aoti" || exit 1
292
- cat " $MODEL_DIR /output_eval_aoti"
283
+ # there is some issues with AOTI cpu and cuda, need to fix and enable the test for cuda as well
284
+ echo " *************************************************"
285
+ echo " ******** INT4 group-wise quantized (AOTI) *******"
286
+ echo " *************************************************"
287
+ if [ " $DTYPE " != " float16" ]; then
288
+ python3 -W ignore export.py --dtype ${DTYPE} --quant " $QUANT_OPTIONS " --checkpoint-path " $CHECKPOINT_PATH " --output-dso-path ${MODEL_DIR} /${MODEL_NAME} .so --device " $TARGET_DEVICE " || exit 1
289
+ python3 -W ignore eval.py --dtype ${DTYPE} --checkpoint-path " $CHECKPOINT_PATH " --dso-path ${MODEL_DIR} /${MODEL_NAME} .so --device " $TARGET_DEVICE " --limit 5 > " $MODEL_DIR /output_eval_aoti" || exit 1
290
+ cat " $MODEL_DIR /output_eval_aoti"
291
+ fi ;
293
292
fi ;
294
293
295
294
done
You can’t perform that action at this time.
0 commit comments