Skip to content

Add custom AAR support to llm-android workflow#176

Merged
kirklandsign merged 4 commits into
mainfrom
copilot/add-custom-aar-field
Jan 27, 2026
Merged

Add custom AAR support to llm-android workflow#176
kirklandsign merged 4 commits into
mainfrom
copilot/add-custom-aar-field

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 23, 2026

Adds local_aar input field to llm-android.yml workflow for custom AAR files, matching the existing capability in android-build.yml.

Changes

  • Workflow input: Added optional local_aar parameter accepting URL to custom AAR file
  • Download step: Downloads AAR to app/libs/executorch.aar when URL provided
  • Build integration: Passes -PuseLocalAar=true to Gradle when custom AAR specified
  • Test script: Extended run-ci-tests.sh to accept and forward use_local_aar flag

Usage

workflow_dispatch:
  inputs:
    local_aar: 'https://example.com/path/to/executorch.aar'
    model_preset: 'llama'

When local_aar is set, the workflow downloads the AAR and builds against it instead of the Maven dependency org.pytorch:executorch-android:1.0.1.

Original prompt

For llm-android.yml can you add a field for custom AAR for apk build, similar to android-build.yml?


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 23, 2026
Copilot AI and others added 3 commits January 23, 2026 03:26
Co-authored-by: kirklandsign <107070759+kirklandsign@users.noreply.github.com>
Co-authored-by: kirklandsign <107070759+kirklandsign@users.noreply.github.com>
Co-authored-by: kirklandsign <107070759+kirklandsign@users.noreply.github.com>
Copilot AI changed the title [WIP] Add field for custom AAR in apk build Add custom AAR support to llm-android workflow Jan 23, 2026
Copilot AI requested a review from kirklandsign January 23, 2026 03:30
@kirklandsign kirklandsign marked this pull request as ready for review January 23, 2026 03:38
@kirklandsign kirklandsign merged commit a54f8c8 into main Jan 27, 2026
2 checks passed
@kirklandsign kirklandsign deleted the copilot/add-custom-aar-field branch January 27, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants