Split LlamaDemo Android workflow with configurable model URLs#146
Merged
Conversation
Move LlamaDemo build and instrumentation tests to llm-android.yml with pull_request trigger. Keep android-build.yml for nightly builds of both LlamaDemo and DeepLabV3Demo on schedule only.
The build is already handled by android-build.yml on schedule. This workflow now only runs connectedCheck for PR validation.
- Add pte_url and tokenizer_url workflow_dispatch inputs with stories model defaults - Download and rename files to model.pte and tokenizer.model - Update SanityCheck.java and UIWorkflowTest.java to use model.pte - Add skipModelDownload gradle flag to skip automatic download when CI pushes models directly
lucylq
approved these changes
Jan 15, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
llm-android.ymlworkflow for LlamaDemo instrumentation testspull_request(with path filters forllm/android/**) andworkflow_dispatchandroid-build.yml(now only nightly builds)pte_urlandtokenizer_urlinputs to allow testing with different modelsmodel.pteandtokenizer.modelTest plan
llm/android/**