Skip to content
Closed
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
201 changes: 0 additions & 201 deletions .ci/scripts/test_wheel_package_qnn.sh

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,6 @@ concurrency:
cancel-in-progress: true

jobs:
test-qnn-wheel-packages-linux:
name: test-qnn-wheel-packages-linux
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
with:
runner: linux.2xlarge
docker-image: ci-image:executorch-ubuntu-22.04-qnn-sdk
submodules: 'recursive'
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout: 180
script: |
# The generic Linux job chooses to use base env, not the one setup by the image
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
conda activate "${CONDA_ENV}"

# Create a clean env for each python version
conda create -y -n test_env_${{ matrix.python-version }} python=${{ matrix.python-version }}
conda activate test_env_${{ matrix.python-version }}

PYTHON_EXECUTABLE=python bash .ci/scripts/test_wheel_package_qnn.sh "${{ matrix.python-version }}"

test-setup-linux-gcc:
name: test-setup-linux-gcc
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ cmake-android-out/
cmake-ios-out/
cmake-out*
cmake-out-android/
build-android/
build-x86/
dist/
ethos-u-scratch/
executorch.egg-info
Expand Down
23 changes: 0 additions & 23 deletions backends/qualcomm/__init__.py

This file was deleted.

7 changes: 2 additions & 5 deletions backends/qualcomm/runtime/backends/QnnImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* LICENSE file in the root directory of this source tree.
*/
#include <executorch/backends/qualcomm/runtime/backends/QnnImplementation.h>

#include "QnnInterface.h"
namespace executorch {
namespace backends {
Expand Down Expand Up @@ -51,11 +52,7 @@ Error QnnImplementation::StartBackend(
const QnnSaver_Config_t** saver_config) {
Qnn_ErrorHandle_t error = QNN_SUCCESS;
void* lib_handle = nullptr;
// If the library is already loaded, return the handle.
lib_handle = dlopen(lib_path.c_str(), RTLD_NOW | RTLD_NOLOAD);
if (!lib_handle) {
lib_handle = dlopen(lib_path.c_str(), RTLD_NOW | RTLD_GLOBAL);
}
lib_handle = dlopen(lib_path.c_str(), RTLD_NOW | RTLD_GLOBAL);
if (lib_handle == nullptr) {
QNN_EXECUTORCH_LOG_ERROR(
"Cannot Open QNN library %s, with error: %s",
Expand Down
1 change: 0 additions & 1 deletion backends/qualcomm/scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env bash
# Copyright (c) Qualcomm Innovation Center, Inc.
# All rights reserved
#
Expand Down
Loading
Loading