diff --git a/.ci/scripts/test.sh b/.ci/scripts/test.sh index 1dbf4a8ce9e..04398c5a483 100755 --- a/.ci/scripts/test.sh +++ b/.ci/scripts/test.sh @@ -175,7 +175,10 @@ test_model_with_qnn() { EXPORTED_MODEL_NAME=vit_qnn.pte fi - "${PYTHON_EXECUTABLE}" -m examples.qualcomm.scripts.${EXPORT_SCRIPT} -b ${CMAKE_OUTPUT_DIR} -m SM8550 --compile_only + # Use SM8450 for S22, SM8550 for S23, and SM8560 for S24 + QNN_CHIPSET=SM8450 + + "${PYTHON_EXECUTABLE}" -m examples.qualcomm.scripts.${EXPORT_SCRIPT} -b ${CMAKE_OUTPUT_DIR} -m ${QNN_CHIPSET} --compile_only EXPORTED_MODEL=./${EXPORT_SCRIPT}/${EXPORTED_MODEL_NAME} } diff --git a/.github/workflows/android-perf.yml b/.github/workflows/android-perf.yml index a23f9487157..473dad08c14 100644 --- a/.github/workflows/android-perf.yml +++ b/.github/workflows/android-perf.yml @@ -15,7 +15,7 @@ on: description: Target devices to run benchmark required: false type: string - default: samsung_galaxy_s2x + default: samsung_galaxy_s22 delegates: description: Backend delegates required: false @@ -45,7 +45,7 @@ on: description: Target devices to run benchmark required: false type: string - default: samsung_galaxy_s2x + default: samsung_galaxy_s22 delegates: description: Backend delegates required: false @@ -85,7 +85,7 @@ jobs: # during scheduled runs and to provide flexibility for different defaults between # on-demand and periodic benchmarking. CRON_DEFAULT_MODELS: "stories110M,dl3,mv3,mv2,ic4,ic3,vit" - CRON_DEFAULT_DEVICES: "samsung_galaxy_s2x" + CRON_DEFAULT_DEVICES: "samsung_galaxy_s22" CRON_DEFAULT_DELEGATES: "xnnpack,qnn" run: | set -ex @@ -104,7 +104,7 @@ jobs: # Mapping devices to their corresponding device-pool-arn declare -A DEVICE_POOL_ARNS - DEVICE_POOL_ARNS[samsung_galaxy_s2x]="arn:aws:devicefarm:us-west-2:308535385114:devicepool:02a2cf0f-6d9b-45ee-ba1a-a086587469e6/e59f866a-30aa-4aa1-87b7-4510e5820dfa" + DEVICE_POOL_ARNS[samsung_galaxy_s22]="arn:aws:devicefarm:us-west-2:308535385114:devicepool:02a2cf0f-6d9b-45ee-ba1a-a086587469e6/e59f866a-30aa-4aa1-87b7-4510e5820dfa" # Resolve device names with their corresponding ARNs if [[ ! $(echo "$DEVICES" | jq empty 2>/dev/null) ]]; then diff --git a/extension/llm/export/partitioner_lib.py b/extension/llm/export/partitioner_lib.py index e75d5bef3fb..0d9f7c6cfd9 100644 --- a/extension/llm/export/partitioner_lib.py +++ b/extension/llm/export/partitioner_lib.py @@ -140,7 +140,7 @@ def get_qnn_partitioner( return QnnPartitioner( # pyre-fixme[16] generate_qnn_executorch_compiler_spec( # pyre-fixme[16] - soc_model=QcomChipset.SM8650, # default to SM8650 # pyre-fixme[16] + soc_model=QcomChipset.SM8450, # default to SM8450 # pyre-fixme[16] # pyre-fixme[16] backend_options=generate_htp_compiler_spec( use_fp16=use_fp16,