feat: add LLM2QnnLoweringPass and update graph splitting logic #280
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Android NDK Compilation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "requirements.txt" | |
| - "task.py" | |
| - "tasks/build_android.yaml" | |
| - ".github/workflows/build-android-ndk.yml" | |
| - "mllm/**" | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "requirements.txt" | |
| - "task.py" | |
| - "tasks/build_android.yaml" | |
| - ".github/workflows/build-android-ndk.yml" | |
| - "mllm/**" | |
| jobs: | |
| build-android: | |
| if: github.repository == 'UbiquitousLearning/mllm' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Initialize and update submodules | |
| run: | | |
| git submodule init | |
| git submodule update --init --recursive | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.12" | |
| cache: "pip" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| wget \ | |
| unzip \ | |
| ninja-build | |
| - name: Install Android NDK | |
| run: | | |
| wget https://dl.google.com/android/repository/android-ndk-r28b-linux.zip | |
| unzip android-ndk-r28b-linux.zip | |
| sudo mkdir -p /opt/ndk | |
| sudo mv android-ndk-r28b /opt/ndk/ | |
| echo "ANDROID_NDK_PATH=/opt/ndk/android-ndk-r28b" >> $GITHUB_ENV | |
| - name: Execute Android build task | |
| run: | | |
| python task.py tasks/build_android.yaml |