mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Including below changes, - Add XPU support package 2025.2 build and test in CI for both Linux and Windows - Keep XPU support package 2025.1 build in CI to ensure no break issue until PyTorch 2.9 release - Upgrade XPU support package from 2025.1 to 2025.2 in CD for both Linux and Windows - Rename Linux CI job name & image name to n & n-1 - Update XPU runtime pypi packages dependencies of CD wheels - Remove deprecated support package version docker image build Pull Request resolved: https://github.com/pytorch/pytorch/pull/158733 Approved by: https://github.com/EikanWang, https://github.com/atalman
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.2
|
|
fi
|
|
|
|
pushd "$PYTORCH_ROOT/.ci/pytorch/"
|
|
|
|
if [[ "$OS" == "windows-arm64" ]]; then
|
|
./windows/arm64/smoke_test.bat
|
|
else
|
|
./windows/internal/smoke_test.bat
|
|
fi
|
|
|
|
popd
|