Skip to content

Commit

Permalink
Don't run torch.compile on runtime images in docker validations
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Jun 6, 2024
1 parent 0654d37 commit fd7d691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
export MATRIX_IMAGE_TYPE="${{ matrix.image_type }}"
export TARGET_OS="linux"
TORCH_COMPILE_CHECK="--torch-compile-check enabled"
if[[ ${MATRIX_IMAGE_TYPE} == "runtime" ]]; then
if [[ ${MATRIX_IMAGE_TYPE} == "runtime" ]]; then
TORCH_COMPILE_CHECK="--torch-compile-check disabled"
fi
python test/smoke_test/smoke_test.py --package torchonly --runtime-error-check enabled ${TORCH_COMPILE_CHECK}

0 comments on commit fd7d691

Please sign in to comment.