Skip to content

Commit 7933b29

Browse files
committed
Debugging
1 parent 67b664f commit 7933b29

File tree

4 files changed

+87
-88
lines changed

4 files changed

+87
-88
lines changed

.ci/scripts/test_backend_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if [[ "$FLOW" == *qnn* ]]; then
3131
# cleaned up.
3232
echo "---------------wk----------"
3333
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool cmake
34-
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-qnn-deps.sh
34+
PYTHON_EXECUTABLE=python source "$(dirname "${BASH_SOURCE[0]}")/../../backends/qualcomm/scripts/install_qnn_sdk.sh"
3535
PYTHON_EXECUTABLE=python bash .ci/scripts/build-qnn-sdk.sh
3636
QNN_X86_LIB_DIR=`realpath build-x86/lib/`
3737
export LD_LIBRARY_PATH"=$QNN_X86_LIB_DIR:$QNN_SDK_ROOT/lib/x86_64-linux-clang/:${LD_LIBRARY_PATH:-}"

.ci/scripts/test_qnn_static_llama.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ source "$(dirname "${BASH_SOURCE[0]}")/utils.sh"
1313
source "$(dirname "${BASH_SOURCE[0]}")/../../backends/qualcomm/scripts/qnn_config.sh"
1414
# Download QNN_SDK. If already downloaded, export environment path
1515
source "$(dirname "${BASH_SOURCE[0]}")/../../backends/qualcomm/scripts/install_qnn_sdk.sh"
16-
install_qnn
1716
echo "WK checking LIBC=${CPLUS_INCLUDE_PATH}"
1817

1918
export EXECUTORCH_ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"

.github/workflows/pull.yml

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -82,58 +82,58 @@ jobs:
8282
# Build and test ExecuTorch
8383
PYTHON_EXECUTABLE=python bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}"
8484
85-
test-models-linux:
86-
name: test-models-linux
87-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
88-
permissions:
89-
id-token: write
90-
contents: read
91-
strategy:
92-
matrix:
93-
model: [linear, add, add_mul, ic3, mv2, resnet18, resnet50, mobilebert, emformer_transcribe]
94-
backend: [portable, xnnpack-quantization-delegation]
95-
runner: [linux.2xlarge]
96-
include:
97-
- model: ic4
98-
backend: portable
99-
runner: linux.4xlarge.memory
100-
- model: ic4
101-
backend: xnnpack-quantization-delegation
102-
runner: linux.4xlarge.memory
103-
- model: emformer_join
104-
backend: portable
105-
runner: linux.4xlarge.memory
106-
- model: emformer_join
107-
backend: xnnpack-quantization-delegation
108-
runner: linux.4xlarge.memory
109-
- model: phi_4_mini
110-
backend: portable
111-
runner: linux.4xlarge.memory
112-
- model: llama3_2_vision_encoder
113-
backend: portable
114-
runner: linux.4xlarge.memory
115-
- model: w2l
116-
backend: portable
117-
runner: linux.4xlarge.memory
118-
fail-fast: false
119-
with:
120-
runner: ${{ matrix.runner }}
121-
docker-image: ci-image:executorch-ubuntu-22.04-clang12
122-
submodules: 'recursive'
123-
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
124-
timeout: 90
125-
script: |
126-
# The generic Linux job chooses to use base env, not the one setup by the image
127-
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
128-
conda activate "${CONDA_ENV}"
85+
# test-models-linux:
86+
# name: test-models-linux
87+
# uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
88+
# permissions:
89+
# id-token: write
90+
# contents: read
91+
# strategy:
92+
# matrix:
93+
# model: [linear, add, add_mul, ic3, mv2, resnet18, resnet50, mobilebert, emformer_transcribe]
94+
# backend: [portable, xnnpack-quantization-delegation]
95+
# runner: [linux.2xlarge]
96+
# include:
97+
# - model: ic4
98+
# backend: portable
99+
# runner: linux.4xlarge.memory
100+
# - model: ic4
101+
# backend: xnnpack-quantization-delegation
102+
# runner: linux.4xlarge.memory
103+
# - model: emformer_join
104+
# backend: portable
105+
# runner: linux.4xlarge.memory
106+
# - model: emformer_join
107+
# backend: xnnpack-quantization-delegation
108+
# runner: linux.4xlarge.memory
109+
# - model: phi_4_mini
110+
# backend: portable
111+
# runner: linux.4xlarge.memory
112+
# - model: llama3_2_vision_encoder
113+
# backend: portable
114+
# runner: linux.4xlarge.memory
115+
# - model: w2l
116+
# backend: portable
117+
# runner: linux.4xlarge.memory
118+
# fail-fast: false
119+
# with:
120+
# runner: ${{ matrix.runner }}
121+
# docker-image: ci-image:executorch-ubuntu-22.04-clang12
122+
# submodules: 'recursive'
123+
# ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
124+
# timeout: 90
125+
# script: |
126+
# # The generic Linux job chooses to use base env, not the one setup by the image
127+
# CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
128+
# conda activate "${CONDA_ENV}"
129129

130-
MODEL_NAME=${{ matrix.model }}
131-
BUILD_TOOL=cmake
132-
BACKEND=${{ matrix.backend }}
130+
# MODEL_NAME=${{ matrix.model }}
131+
# BUILD_TOOL=cmake
132+
# BACKEND=${{ matrix.backend }}
133133

134-
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "${BUILD_TOOL}"
135-
# Build and test ExecuTorch
136-
PYTHON_EXECUTABLE=python bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}"
134+
# PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "${BUILD_TOOL}"
135+
# # Build and test ExecuTorch
136+
# PYTHON_EXECUTABLE=python bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}"
137137

138138
test-llama-runner-linux:
139139
# Test Both linux x86 and linux aarch64

.github/workflows/trunk.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -273,47 +273,47 @@ jobs:
273273
# Test selective build
274274
PYTHON_EXECUTABLE=python bash examples/portable/scripts/test_demo_backend_delegation.sh "${BUILD_TOOL}"
275275
276-
test-arm-backend:
277-
name: test-arm-backend
278-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
279-
permissions:
280-
id-token: write
281-
contents: read
282-
strategy:
283-
matrix:
284-
include:
285-
- test_arm_baremetal: test_pytest_ops_ethosu_fvp
286-
- test_arm_baremetal: test_pytest_models_ethosu_fvp
287-
- test_arm_baremetal: test_run_ethosu_fvp
288-
- test_arm_baremetal: test_models_tosa
289-
- test_arm_baremetal: test_models_ethos-u55
290-
- test_arm_baremetal: test_models_ethos-u85
291-
- test_arm_baremetal: test_smaller_stories_llama
292-
fail-fast: false
293-
with:
294-
runner: linux.2xlarge.memory
295-
docker-image: ci-image:executorch-ubuntu-22.04-arm-sdk
296-
submodules: 'recursive'
297-
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
298-
timeout: 120
299-
script: |
300-
# The generic Linux job chooses to use base env, not the one setup by the image
301-
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
302-
conda activate "${CONDA_ENV}"
276+
# test-arm-backend:
277+
# name: test-arm-backend
278+
# uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
279+
# permissions:
280+
# id-token: write
281+
# contents: read
282+
# strategy:
283+
# matrix:
284+
# include:
285+
# - test_arm_baremetal: test_pytest_ops_ethosu_fvp
286+
# - test_arm_baremetal: test_pytest_models_ethosu_fvp
287+
# - test_arm_baremetal: test_run_ethosu_fvp
288+
# - test_arm_baremetal: test_models_tosa
289+
# - test_arm_baremetal: test_models_ethos-u55
290+
# - test_arm_baremetal: test_models_ethos-u85
291+
# - test_arm_baremetal: test_smaller_stories_llama
292+
# fail-fast: false
293+
# with:
294+
# runner: linux.2xlarge.memory
295+
# docker-image: ci-image:executorch-ubuntu-22.04-arm-sdk
296+
# submodules: 'recursive'
297+
# ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
298+
# timeout: 120
299+
# script: |
300+
# # The generic Linux job chooses to use base env, not the one setup by the image
301+
# CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
302+
# conda activate "${CONDA_ENV}"
303303

304-
source .ci/scripts/utils.sh
305-
install_executorch "--use-pt-pinned-commit"
304+
# source .ci/scripts/utils.sh
305+
# install_executorch "--use-pt-pinned-commit"
306306

307-
.ci/scripts/setup-arm-baremetal-tools.sh
307+
# .ci/scripts/setup-arm-baremetal-tools.sh
308308

309-
# Increase number of files user can monitor to bypass buck failures.
310-
# Hopefully this is high enough for this setup.
311-
sudo sysctl fs.inotify.max_user_watches=1048576 # 1024 * 1024
309+
# # Increase number of files user can monitor to bypass buck failures.
310+
# # Hopefully this is high enough for this setup.
311+
# sudo sysctl fs.inotify.max_user_watches=1048576 # 1024 * 1024
312312

313-
ARM_TEST=${{ matrix.test_arm_baremetal }}
313+
# ARM_TEST=${{ matrix.test_arm_baremetal }}
314314

315-
# Test test_arm_baremetal.sh with test
316-
backends/arm/test/test_arm_baremetal.sh "${ARM_TEST}"
315+
# # Test test_arm_baremetal.sh with test
316+
# backends/arm/test/test_arm_baremetal.sh "${ARM_TEST}"
317317

318318
test-arm-cortex-m-size-test:
319319
name: test-arm-cortex-m-size-test

0 commit comments

Comments
 (0)