We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1576f32 commit fbd4949Copy full SHA for fbd4949
.ci/scripts/utils.sh
@@ -64,7 +64,7 @@ install_pytorch_and_domains() {
64
65
SYSTEM_NAME=$(uname)
66
# The platform version needs to match MACOSX_DEPLOYMENT_TARGET used to build the wheel
67
- PLATFORM=$(python -c 'import sysconfig; platform=sysconfig.get_platform(); platform[1]="14_0"; print("_".join(platform))')
+ PLATFORM=$(python -c 'import sysconfig; platform=sysconfig.get_platform().split("-"); platform[1]="14_0"; print("_".join(platform))')
68
PYTHON_VERSION=$(python -c 'import platform; v=platform.python_version_tuple(); print(f"{v[0]}{v[1]}")')
69
TORCH_RELEASE=$(cat version.txt)
70
TORCH_SHORT_HASH=${TORCH_VERSION:0:7}
0 commit comments