23 lines
397 B
Bash
23 lines
397 B
Bash
#!/bin/bash
|
|
set -eux -o pipefail
|
|
|
|
source "${BINARY_ENV_FILE:-/c/w/env}"
|
|
|
|
export CUDA_VERSION="${DESIRED_CUDA/cu/}"
|
|
export VC_YEAR=2022
|
|
|
|
if [[ "$DESIRED_CUDA" == 'xpu' ]]; then
|
|
export VC_YEAR=2022
|
|
export XPU_VERSION=2025.1
|
|
fi
|
|
|
|
pushd "$PYTORCH_ROOT/.ci/pytorch/"
|
|
|
|
if [[ "$OS" == "windows-arm64" ]]; then
|
|
./windows/arm64/smoke_test.bat
|
|
else
|
|
./windows/internal/smoke_test.bat
|
|
fi
|
|
|
|
popd
|