File tree Expand file tree Collapse file tree 3 files changed +22
-9
lines changed Expand file tree Collapse file tree 3 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ case "${IMAGE_NAME}" in
29
29
LINTRUNNER=" "
30
30
CLANG_VERSION=12
31
31
;;
32
+ executorch-ubuntu-22.04-gcc11-aarch64)
33
+ LINTRUNNER=" "
34
+ GCC_VERSION=11
35
+ ;;
32
36
executorch-ubuntu-22.04-linter)
33
37
LINTRUNNER=yes
34
38
CLANG_VERSION=12
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ source "$(dirname "${BASH_SOURCE[0]}")/utils.sh"
13
13
install_miniconda () {
14
14
BASE_URL=" https://repo.anaconda.com/miniconda"
15
15
CONDA_FILE=" Miniconda3-py${PYTHON_VERSION// ./ } _${MINICONDA_VERSION} -Linux-x86_64.sh"
16
+ if [[ $( uname -m) == " aarch64" ]]; then
17
+ CONDA_FILE=" Miniconda3-py${PYTHON_VERSION// ./ } _${MINICONDA_VERSION} -Linux-aarch64.sh"
18
+ fi
16
19
17
20
mkdir -p /opt/conda
18
21
chown ci-user:ci-user /opt/conda
@@ -36,7 +39,7 @@ install_python() {
36
39
37
40
# From https://github.com/pytorch/pytorch/blob/main/.ci/docker/common/install_conda.sh
38
41
if [[ $( uname -m) == " aarch64" ]]; then
39
- conda_install " openblas==0.3.28 =*openmp*"
42
+ conda_install " openblas==0.3.29 =*openmp*" -c conda-forge
40
43
else
41
44
conda_install mkl=2022.1.0 mkl-include=2022.1.0
42
45
fi
Original file line number Diff line number Diff line change 27
27
28
28
jobs :
29
29
docker-build :
30
- runs-on : [self-hosted, linux.2xlarge]
31
30
timeout-minutes : 240
32
31
strategy :
33
32
fail-fast : false
34
33
matrix :
34
+ runner : [linux.2xlarge]
35
+ docker-image-name : [
36
+ executorch-ubuntu-22.04-gcc9,
37
+ executorch-ubuntu-22.04-clang12,
38
+ executorch-ubuntu-22.04-linter,
39
+ executorch-ubuntu-22.04-arm-sdk,
40
+ executorch-ubuntu-22.04-qnn-sdk,
41
+ executorch-ubuntu-22.04-mediatek-sdk,
42
+ executorch-ubuntu-22.04-clang12-android
43
+ ]
35
44
include :
36
- - docker-image-name : executorch-ubuntu-22.04-gcc9
37
- - docker-image-name : executorch-ubuntu-22.04-clang12
38
- - docker-image-name : executorch-ubuntu-22.04-linter
39
- - docker-image-name : executorch-ubuntu-22.04-arm-sdk
40
- - docker-image-name : executorch-ubuntu-22.04-qnn-sdk
41
- - docker-image-name : executorch-ubuntu-22.04-mediatek-sdk
42
- - docker-image-name : executorch-ubuntu-22.04-clang12-android
45
+ - docker-image-name : executorch-ubuntu-22.04-gcc11-aarch64
46
+ runner : linux.arm64.2xlarge
47
+
48
+ runs-on : [self-hosted, "${{ matrix.runner }}"]
43
49
env :
44
50
DOCKER_IMAGE : 308535385114.dkr.ecr.us-east-1.amazonaws.com/executorch/${{ matrix.docker-image-name }}
45
51
steps :
You can’t perform that action at this time.
0 commit comments