packaging pipeline produces -cpu- named packages due to a logical error (#8665)

This commit is contained in:
liqun Fu 2021-08-09 16:49:59 -07:00 committed by GitHub
parent cadb43a715
commit 1a2b41dbbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -327,7 +327,7 @@ if enable_training:
+ 'cu' + cuda_version.replace('.', '')
else:
local_version = '+cu' + cuda_version.replace('.', '')
if rocm_version:
elif rocm_version:
# removing '.' to make Cuda version number in the same form as Pytorch.
rocm_version = rocm_version.replace('.', '')
if torch_version: