Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/android-build-test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,21 +108,23 @@ jobs:
project_id: mobile-app-build-290400
- name: Download Samsung libraries
env:
SAMSUNG_LIB: samsung_libs_v5.0_20250906
SAMSUNG_LIB: samsung_libs_v5.0.1_20251217
run: |
gsutil cp gs://mobile-app-build-290400_github-actions/lib/v5.0/${SAMSUNG_LIB}.zip /tmp/ && \
gsutil cp gs://mobile-app-build-290400_github-actions/lib/v5.0.1/${SAMSUNG_LIB}.zip /tmp/ && \
unzip /tmp/${SAMSUNG_LIB}.zip -d /tmp/${SAMSUNG_LIB} && \
rm /tmp/${SAMSUNG_LIB}.zip && \
mkdir -p mobile_back_samsung/samsung/lib/internal && \
mv /tmp/${SAMSUNG_LIB}/* mobile_back_samsung/samsung/lib/internal/
ls mobile_back_samsung/samsung/lib/internal/*
- name: Download QTI SDK
env:
QTI_SDK: qairt-2.29.0.241129-linux
QTI_SDK: qairt-v2.40.0.251030-linux
run: |
gsutil cp gs://mobile-app-build-290400_github-actions/lib/v5.0/${QTI_SDK}.zip /tmp/ && \
unzip /tmp/${QTI_SDK}.zip -d /tmp/${QTI_SDK} && \
rm /tmp/${QTI_SDK}.zip && \
mv /tmp/${QTI_SDK}/* mobile_back_qti/
ls mobile_back_qti/*
- name: Download QTI libraries
env:
QTI_LIB: StableDiffusionShared.0.1.1.250124
Expand All @@ -131,6 +133,7 @@ jobs:
unzip /tmp/${QTI_LIB}.zip -d /tmp/${QTI_LIB} && \
rm /tmp/${QTI_LIB}.zip && \
mv /tmp/${QTI_LIB}/* mobile_back_qti/cpp/backend_qti/StableDiffusionShared/
ls mobile_back_qti/cpp/backend_qti/StableDiffusionShared/*
- name: Cache bazel
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
with:
Expand Down Expand Up @@ -271,7 +274,9 @@ jobs:

test-android-apk-unified:
name: ${{ matrix.backend }}-${{ matrix.device }} (unified)
needs: [ build-android-apk, computed ]
needs:
- computed
- build-android-apk
if: github.event_name != 'workflow_dispatch'
runs-on: ubuntu-22.04
timeout-minutes: 60
Expand Down Expand Up @@ -351,9 +356,9 @@ jobs:
test-android-apk-unified-extended:
name: ${{ matrix.backend }}-${{ matrix.device }} (unified-extended)
needs:
- computed
- build-android-apk
- test-android-apk-unified
- computed
if: github.ref == 'refs/heads/master' || vars.EXTENDED_TESTS_ON_PR == 'true'
runs-on: ubuntu-22.04
timeout-minutes: 60
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
sonar:
if: ${{ github.event.repository.name == 'mobile_app_open' }}
name: SonarScanner
runs-on: ubuntu-22.04
timeout-minutes: 120
Expand Down Expand Up @@ -87,6 +88,7 @@ jobs:
run: make docker/scanner/scan

codeql:
if: ${{ github.event.repository.name == 'mobile_app_open' }}
name: CodeQL
runs-on: ubuntu-latest
permissions:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
/output_logs
/datasets/output
/datasets/downloads
/mobile_back_qti/snpe-*
/mobile_back_qti/qaisw-*
*.so
* .apk
* .tflite
Expand Down
2 changes: 1 addition & 1 deletion datasets/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN unzip /tmp/protoc-3.6.1-linux-x86_64.zip -d protoc3 && \
RUN echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
RUN curl --proto '=https' https://bazel.build/bazel-release.pub.gpg | apt-key add -
RUN apt-get update && \
apt-get install -y -no-install-recommends --allow-unauthenticated bazel-3.7.2
apt-get install -y --no-install-recommends --allow-unauthenticated bazel-3.7.2
RUN apt-get clean

# Set timezone to UTC by default
Expand Down
2 changes: 1 addition & 1 deletion flutter/android/android-docker.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020-2024 The MLPerf Authors. All Rights Reserved.
# Copyright 2020-2025 The MLPerf Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Empty file modified flutter/android/android.mk
100644 → 100755
Empty file.
6 changes: 6 additions & 0 deletions flutter/assets/text/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,17 @@ The Qualcomm Neural Processing SDK (SNPE) is a software accelerated runtime and

The MLPerf Application uses the SNPE Hexagon Processor runtimes on the following families:

* Snapdragon 8 Elite Gen 5
* Snapdragon 8 Elite
* Snapdragon 8 Gen 5
* Snapdragon 8 Gen 3
* Snapdragon 8s Gen 4
* Snapdragon 8s Gen 3
* Snapdragon 8 Gen 2
* Snapdragon 7 Gen 4
* Snapdragon 7 Gen 3
* Snapdragon 7s Gen 3
* Snapdragon 6 Gen 4
* Snapdragon 4 Gen 2
* Default fallback for all other Snapdragon mobile platforms

Expand All @@ -61,6 +66,7 @@ Official website URL: [https://developer.samsung.com/neural/overview.html](https

The MLPerf Mobile Benchmarking App uses the Exynos Neural Network SDK on the following families of Exynos processors [https://semiconductor.samsung.com/processor/](https://semiconductor.samsung.com/processor/):

* Exynos 2600
* Exynos 2500
* Exynos 2400
* Exynos 2300
Expand Down
4 changes: 2 additions & 2 deletions flutter/cpp/binary/cmdline.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The MLPerf Authors. All Rights Reserved.
# Copyright 2023-2025 The MLPerf Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -92,4 +92,4 @@ cmdline/windows/prepare-dlls:
.PHONY: cmdline/windows/copy-dlls
cmdline/windows/copy-dlls:
currentDir=$$(pwd) && cd "${msvc_arm_dlls_path}" && \
cp --target-directory $$currentDir/${windows_cmdline_folder} ${msvc_arm_dlls_list}
cp --target-directory $$currentDir/${windows_cmdline_folder} ${msvc_arm_dlls_list}
2 changes: 1 addition & 1 deletion flutter/lib/backend/list.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ part of 'list.dart';

// Always add new tags before TFLITE_TAG, otherwise your backend will never be used
const _backendsList = [
'SAMSUNG_TAG',
'MEDIATEK_TAG',
'PIXEL_TAG',
'QTI_TAG',
'SAMSUNG_TAG',
'APPLE_TAG',
'TFLITE_TAG',
];
2 changes: 1 addition & 1 deletion flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# version format: <semantic_app_version>+<build_number>.
# Note: build_number will be set by CI using the CLI option --build-number
version: 5.0.3+1
version: 5.0.4+1

environment:
sdk: ^3.3.4 # Dart SDK version
Expand Down
15 changes: 9 additions & 6 deletions mobile_back_qti/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,23 @@ cc_library(
name = "snpe_deps",
srcs = [
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libhta.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libSnpeHtpV81Stub.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libSnpeHtpV79Stub.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libSnpeHtpV75Stub.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libSnpeHtpV73Stub.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libSnpeHtpV69Stub.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libSnpeHtpV68Stub.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libSNPE.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libSnpeHtpPrepare.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v68/unsigned/libSnpeHtpV68Skel.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v69/unsigned/libSnpeHtpV69Skel.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v73/unsigned/libSnpeHtpV73Skel.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v75/unsigned/libSnpeHtpV75Skel.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libQnnHtpV73Stub.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v75/unsigned/libSnpeHtpV79Skel.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v79/unsigned/libSnpeHtpV75Skel.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v81/unsigned/libSnpeHtpV81Skel.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libQnnHtpV81Stub.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libQnnHtp.so",
"qairt/" + SNPE_VERSION + "/lib/aarch64-android/libQnnHtpPrepare.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v73/unsigned/libQnnHtpV73Skel.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v75/unsigned/libQnnHtpV75Skel.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v79/unsigned/libQnnHtpV79Skel.so",
"qairt/" + SNPE_VERSION + "/lib/hexagon-v81/unsigned/libQnnHtpV81Skel.so",
],
)

Expand Down
Loading
Loading