Skip to content

Commit 1703c56

Browse files
Merge branch 'main' into toupstream/sub_scalar
2 parents aa4369f + 4d7f9ca commit 1703c56

File tree

47 files changed

+1724
-871
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1724
-871
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.ci/docker/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77

88
set -exu
99

10-
IMAGE_NAME="$1"
10+
FULL_IMAGE_NAME="$1"
1111
shift
1212

13+
IMAGE_NAME=$(echo "${FULL_IMAGE_NAME}" | sed 's/ci-image://')
14+
1315
echo "Building ${IMAGE_NAME} Docker image"
1416

1517
OS=ubuntu

.ci/scripts/setup-emscripten.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the BSD-style license found in the
6+
# LICENSE file in the root directory of this source tree.
17

28
set -ex
39

.github/workflows/_android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
contents: read
1414
with:
1515
runner: linux.2xlarge
16-
docker-image: executorch-ubuntu-22.04-clang12-android
16+
docker-image: ci-image:executorch-ubuntu-22.04-clang12-android
1717
submodules: 'recursive'
1818
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
1919
timeout: 90

.github/workflows/_link_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
1212
with:
1313
runner: linux.2xlarge
14-
docker-image: executorch-ubuntu-22.04-linter
14+
docker-image: ci-image:executorch-ubuntu-22.04-linter
1515
submodules: false
1616
fetch-depth: 0
1717
ref: ${{ inputs.ref }}
@@ -36,7 +36,7 @@ jobs:
3636
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
3737
with:
3838
runner: linux.2xlarge
39-
docker-image: executorch-ubuntu-22.04-linter
39+
docker-image: ci-image:executorch-ubuntu-22.04-linter
4040
submodules: false
4141
fetch-depth: 0
4242
ref: ${{ inputs.ref }}

.github/workflows/android-perf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
fail-fast: false
169169
with:
170170
runner: linux.2xlarge.memory
171-
docker-image: executorch-ubuntu-22.04-qnn-sdk
171+
docker-image: ci-image:executorch-ubuntu-22.04-qnn-sdk
172172
submodules: 'recursive'
173173
timeout: 60
174174
upload-artifact: android-models
@@ -409,7 +409,7 @@ jobs:
409409
needs: set-parameters
410410
with:
411411
runner: linux.2xlarge
412-
docker-image: executorch-ubuntu-22.04-clang12-android
412+
docker-image: ci-image:executorch-ubuntu-22.04-clang12-android
413413
submodules: 'recursive'
414414
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
415415
timeout: 90

.github/workflows/android-release-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
contents: read
5555
with:
5656
secrets-env: EXECUTORCH_MAVEN_SIGNING_KEYID EXECUTORCH_MAVEN_SIGNING_PASSWORD EXECUTORCH_MAVEN_CENTRAL_PASSWORD EXECUTORCH_MAVEN_CENTRAL_USERNAME EXECUTORCH_MAVEN_SIGNING_GPG_KEY_CONTENTS
57-
docker-image: executorch-ubuntu-22.04-clang12-android
57+
docker-image: ci-image:executorch-ubuntu-22.04-clang12-android
5858
submodules: 'recursive'
5959
ref: ${{ github.sha }}
6060
timeout: 90

.github/workflows/apple.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ jobs:
149149
VERSION="${{ needs.set-version.outputs.version }}"
150150
FRAMEWORKS=(
151151
"executorch"
152+
"executorch_llm"
152153
"backend_coreml"
153154
"backend_mps"
154155
"backend_xnnpack"

.github/workflows/build-presets.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
job-name: build
4545
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
4646
runner: linux.2xlarge
47-
docker-image: executorch-ubuntu-22.04-arm-sdk
47+
docker-image: ci-image:executorch-ubuntu-22.04-arm-sdk
4848
submodules: recursive
4949
timeout: 90
5050
script: |
@@ -63,7 +63,7 @@ jobs:
6363
# Verify download
6464
echo "93128be0235cf5cf5f1ee561aa6eac5f ${toolchain_dir}.tar.xz" > arm-zephyr-eabi.md5
6565
md5sum -c --strict arm-zephyr-eabi.md5
66-
66+
6767
# Extract and install to PATH
6868
tar xf "${toolchain_dir}.tar.xz"
6969
rm -f "${toolchain_dir}.tar.xz"
@@ -93,7 +93,7 @@ jobs:
9393
job-name: build
9494
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
9595
runner: ${{ matrix.runner }}
96-
docker-image: ${{ matrix.docker-image }}
96+
docker-image: ci-image:${{ matrix.docker-image }}
9797
submodules: recursive
9898
timeout: 90
9999
script: |

0 commit comments

Comments
 (0)