Skip to content

Commit 6a89a75

Browse files
authored
[RELEASE ONLY CHANGES] Apply release only changes Release 2.3 (pytorch#121813)
* [Release only changes] Release only changes #2 * common+lint
1 parent d69c421 commit 6a89a75

16 files changed

+104
-116
lines changed

.github/templates/common.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# NOTE: If testing pytorch/builder changes you can change this variable to change what pytorch/builder reference
99
# the binary builds will check out
1010
{%- set builder_repo = "pytorch/builder" -%}
11-
{%- set builder_branch = "main" -%}
11+
{%- set builder_branch = "release/2.3" -%}
1212

1313
{%- macro concurrency(build_environment) -%}
1414
concurrency:

.github/workflows/_binary-build-linux.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ jobs:
173173
- name: Checkout PyTorch to pytorch dir
174174
uses: malfet/checkout@silent-checkout
175175
with:
176-
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
177176
submodules: recursive
178177
path: pytorch
179178
quiet-checkout: true
@@ -187,7 +186,7 @@ jobs:
187186
- name: Checkout pytorch/builder to builder dir
188187
uses: malfet/checkout@silent-checkout
189188
with:
190-
ref: main
189+
ref: release/2.3
191190
submodules: recursive
192191
repository: pytorch/builder
193192
path: builder

.github/workflows/_binary-test-linux.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ jobs:
155155
- name: Checkout PyTorch to pytorch dir
156156
uses: malfet/checkout@silent-checkout
157157
with:
158-
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
159158
submodules: recursive
160159
path: pytorch
161160

@@ -168,7 +167,7 @@ jobs:
168167
- name: Checkout pytorch/builder to builder dir
169168
uses: malfet/checkout@silent-checkout
170169
with:
171-
ref: main
170+
ref: release/2.3
172171
submodules: recursive
173172
repository: pytorch/builder
174173
path: builder

.github/workflows/build-triton-wheel.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ jobs:
107107
BUILD_ROCM="--build-rocm"
108108
fi
109109
110-
RELEASE=""
111-
if [[ "${IS_RELEASE_TAG}" == true ]]; then
112-
RELEASE="--release"
113-
fi
114-
115110
docker exec -t "${container_name}" yum install -y zlib-devel zip
116111
docker exec -t "${container_name}" "${PYTHON_EXECUTABLE}" -m pip install -U setuptools==67.4.0
117112
docker exec -t "${container_name}" "${PYTHON_EXECUTABLE}" /pytorch/.github/scripts/build_triton_wheel.py $BUILD_ROCM
@@ -235,11 +230,6 @@ jobs:
235230
"${DOCKER_IMAGE}" \
236231
)
237232
238-
RELEASE=""
239-
if [[ "${IS_RELEASE_TAG}" == true ]]; then
240-
RELEASE="--release"
241-
fi
242-
243233
docker exec -t "${container_name}" yum install -y llvm11 llvm11-devel llvm11-static llvm11-libs zlib-devel
244234
docker exec -t "${container_name}" python /pytorch/.github/scripts/build_triton_wheel.py --build-conda --py-version="${PY_VERS}"
245235
docker exec -t "${container_name}" chown -R 1000.1000 /artifacts

.github/workflows/generated-linux-binary-libtorch-cxx11-abi-nightly.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/generated-linux-binary-libtorch-pre-cxx11-nightly.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/generated-linux-binary-manywheel-nightly.yml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/generated-macos-arm64-binary-conda-nightly.yml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/generated-macos-arm64-binary-libtorch-cxx11-abi-nightly.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/generated-macos-arm64-binary-wheel-nightly.yml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)