Skip to content

Commit 3bc7570

Browse files
authored
Fix TorchCodec PyPI upload (#8141)
The `.github/workflows/release-stage-pypi.yml` script was processing both CUDA and CPU wheels for `manylinux_2_28_x86_64`, in that order, which caused the CPU wheels to override the CUDA wheels, and the CPU wheels being uploaded on PyPI instead of the CPU wheels.
1 parent 79470e9 commit 3bc7570

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/release-stage-pypi.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ jobs:
112112
# shellcheck disable=SC2086
113113
PLATFORM="manylinux_2_28_x86_64" VERSION_SUFFIX="${LINUX_VERSION_SUFFIX}" ARCH="${CUDA_ARCH}" upload_pypi_to_staging ${PACKAGE} "${!version}"
114114
# shellcheck disable=SC2086
115-
PLATFORM="manylinux_2_28_x86_64" VERSION_SUFFIX="${CPU_VERSION_SUFFIX}" upload_pypi_to_staging ${PACKAGE} "${!version}"
116-
# shellcheck disable=SC2086
117115
PLATFORM="manylinux_2_28_aarch64" VERSION_SUFFIX="${LINUX_VERSION_SUFFIX}" ARCH="${CUDA_ARCH}" upload_pypi_to_staging ${PACKAGE} "${!version}"
118116
# shellcheck disable=SC2086
119117
PLATFORM="${MACOS_ARM64}" VERSION_SUFFIX="" upload_pypi_to_staging ${PACKAGE} "${!version}"

0 commit comments

Comments
 (0)