mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 13:44:15 +08:00
[CI] Limit libtorch builds to shared-with-deps
(#112452)
As that is the only variant that is being mentioned on https://pytorch.org/get-started/locally/ And for MacOS those three flavors were just building and uploading the same thing 3 times over, see [this](https://github.com/pytorch/pytorch/actions/runs/6689661275/job/18176516410) for example: ``` upload: ../../_temp/artifacts/libtorch-macos-2.2.0.dev20231030.zip to s3://pytorch/libtorch/nightly/cpu/libtorch-macos-2.2.0.dev20231030.zip ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/112452 Approved by: https://github.com/huydhn ghstack dependencies: #112451
This commit is contained in:
committed by
PyTorch MergeBot
parent
70b392ae02
commit
8d6b4322d0
20
.github/scripts/generate_ci_workflows.py
vendored
20
.github/scripts/generate_ci_workflows.py
vendored
@ -125,7 +125,9 @@ LINUX_BINARY_BUILD_WORFKLOWS = [
|
||||
package_type="libtorch",
|
||||
abi_version=generate_binary_build_matrix.CXX11_ABI,
|
||||
build_configs=generate_binary_build_matrix.generate_libtorch_matrix(
|
||||
OperatingSystem.LINUX, generate_binary_build_matrix.CXX11_ABI
|
||||
OperatingSystem.LINUX,
|
||||
generate_binary_build_matrix.CXX11_ABI,
|
||||
libtorch_variants=["shared-with-deps"],
|
||||
),
|
||||
ciflow_config=CIFlowConfig(
|
||||
labels={LABEL_CIFLOW_BINARIES, LABEL_CIFLOW_BINARIES_LIBTORCH},
|
||||
@ -137,7 +139,9 @@ LINUX_BINARY_BUILD_WORFKLOWS = [
|
||||
package_type="libtorch",
|
||||
abi_version=generate_binary_build_matrix.PRE_CXX11_ABI,
|
||||
build_configs=generate_binary_build_matrix.generate_libtorch_matrix(
|
||||
OperatingSystem.LINUX, generate_binary_build_matrix.PRE_CXX11_ABI
|
||||
OperatingSystem.LINUX,
|
||||
generate_binary_build_matrix.PRE_CXX11_ABI,
|
||||
libtorch_variants=["shared-with-deps"],
|
||||
),
|
||||
ciflow_config=CIFlowConfig(
|
||||
labels={LABEL_CIFLOW_BINARIES, LABEL_CIFLOW_BINARIES_LIBTORCH},
|
||||
@ -212,7 +216,9 @@ WINDOWS_BINARY_BUILD_WORKFLOWS = [
|
||||
package_type="libtorch",
|
||||
abi_version=generate_binary_build_matrix.RELEASE,
|
||||
build_configs=generate_binary_build_matrix.generate_libtorch_matrix(
|
||||
OperatingSystem.WINDOWS, generate_binary_build_matrix.RELEASE
|
||||
OperatingSystem.WINDOWS,
|
||||
generate_binary_build_matrix.RELEASE,
|
||||
libtorch_variants=["shared-with-deps"],
|
||||
),
|
||||
ciflow_config=CIFlowConfig(
|
||||
labels={LABEL_CIFLOW_BINARIES, LABEL_CIFLOW_BINARIES_LIBTORCH},
|
||||
@ -224,7 +230,9 @@ WINDOWS_BINARY_BUILD_WORKFLOWS = [
|
||||
package_type="libtorch",
|
||||
abi_version=generate_binary_build_matrix.DEBUG,
|
||||
build_configs=generate_binary_build_matrix.generate_libtorch_matrix(
|
||||
OperatingSystem.WINDOWS, generate_binary_build_matrix.DEBUG
|
||||
OperatingSystem.WINDOWS,
|
||||
generate_binary_build_matrix.DEBUG,
|
||||
libtorch_variants=["shared-with-deps"],
|
||||
),
|
||||
ciflow_config=CIFlowConfig(
|
||||
labels={LABEL_CIFLOW_BINARIES, LABEL_CIFLOW_BINARIES_LIBTORCH},
|
||||
@ -294,7 +302,9 @@ MACOS_BINARY_BUILD_WORKFLOWS = [
|
||||
package_type="libtorch",
|
||||
abi_version=generate_binary_build_matrix.CXX11_ABI,
|
||||
build_configs=generate_binary_build_matrix.generate_libtorch_matrix(
|
||||
OperatingSystem.MACOS, generate_binary_build_matrix.CXX11_ABI
|
||||
OperatingSystem.MACOS,
|
||||
generate_binary_build_matrix.CXX11_ABI,
|
||||
libtorch_variants=["shared-with-deps"],
|
||||
),
|
||||
ciflow_config=CIFlowConfig(
|
||||
labels={LABEL_CIFLOW_BINARIES, LABEL_CIFLOW_BINARIES_LIBTORCH},
|
||||
|
Reference in New Issue
Block a user