File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ if [[ ${MATRIX_PACKAGE_TYPE} == "libtorch" ]]; then
3
3
unzip libtorch.zip
4
4
else
5
5
# special case for Python 3.11
6
- if [ $MATRIX_PYTHON_VERSION == ' 3.11' ]; then
6
+ if [ $MATRIX_PYTHON_VERSION == ' 3.11' && ${TARGET_OS} != ' windows ' ]; then
7
7
export CPYTHON_VERSIONS=3.11.0
8
8
sudo yum -y install openssl-devel libssl-dev bzip2-devel libffi-devel
9
9
sudo yum -y groupinstall " Development Tools"
15
15
eval ${PYTHON_PATH} /python --version
16
16
eval ${PIP_INSTALLATION}
17
17
eval ${PYTHON_PATH} /python ./test/smoke_test/smoke_test.py --package torchonly
18
+ # special case for Python 3.11
19
+ elif [ $MATRIX_PYTHON_VERSION == ' 3.11' && ${TARGET_OS} == ' windows' ]; then
20
+ conda create -y -n ${ENV_NAME} python=${MATRIX_PYTHON_VERSION}
21
+ conda activate ${ENV_NAME}
22
+ eval $MATRIX_INSTALLATION
23
+ eval ${PYTHON_PATH} /python ./test/smoke_test/smoke_test.py --package torchonly
18
24
else
19
25
20
26
# Special case Pypi installation package, only applicable to linux nightly CUDA 11.7 builds, wheel package
You can’t perform that action at this time.
0 commit comments