Skip to content

Commit 4a8987d

Browse files
committed
up
1 parent 5d89e57 commit 4a8987d

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

.github/workflows/trunk.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -593,19 +593,23 @@ jobs:
593593
contents: read
594594
strategy:
595595
matrix:
596-
model: [qwen3_4b, phi_4_mini]
597-
runner: [linux.2xlarge]
598-
docker-image: [executorch-ubuntu-22.04-clang12]
599-
backend: [xnnpack]
600596
include:
601597
- model: qwen3_4b
598+
backend: xnnpack
599+
runner: linux.2xlarge
600+
docker-image: executorch-ubuntu-22.04-clang12
601+
- model: phi_4_mini
602+
backend: xnnpack
603+
runner: linux.2xlarge
604+
docker-image: executorch-ubuntu-22.04-clang12
605+
- model: qwen3_4b
606+
backend: torchao
602607
runner: linux.arm64.2xlarge
603608
docker-image: executorch-ubuntu-22.04-gcc11-aarch64
604-
backend: torchao
605609
- model: phi_4_mini
610+
backend: torchao
606611
runner: linux.arm64.2xlarge
607612
docker-image: executorch-ubuntu-22.04-gcc11-aarch64
608-
backend: torchao
609613
fail-fast: false
610614
with:
611615
runner: ${{ matrix.runner }}
@@ -618,17 +622,11 @@ jobs:
618622
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
619623
conda activate "${CONDA_ENV}"
620624
625+
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool cmake
626+
621627
if [[ "${{ matrix.backend }}" == "torchao" ]]; then
622-
PYTHON_EXECUTABLE=python \
623-
BUILD_TORCHAO_EXPERIMENTAL=1 \
624-
TORCHAO_BUILD_CPU_AARCH64=1 \
625-
TORCHAO_ENABLE_ARM_NEON_DOT=1 \
626-
TORCHAO_BUILD_KLEIDIAI=1 \
627-
bash .ci/scripts/setup-linux.sh --build-tool cmake
628+
BUILD_TORCHAO_EXPERIMENTAL=1 TORCHAO_BUILD_CPU_AARCH64=1 TORCHAO_BUILD_KLEIDIAI=1 TORCHAO_ENABLE_ARM_NEON_DOT=1 pip install third-party/ao
628629
else
629-
PYTHON_EXECUTABLE=python \
630-
bash .ci/scripts/setup-linux.sh --build-tool cmake
631-
fi
632630
633631
pip install -U "huggingface_hub[cli]"
634632

0 commit comments

Comments
 (0)