Skip to content

Conversation

kirklandsign
Copy link
Contributor

No description provided.

Copy link

pytorch-bot bot commented Sep 24, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5588

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 307a6e9 with merge base 8660faf (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 24, 2024
@kirklandsign kirklandsign added ciflow/android/release and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Sep 24, 2024
Copy link

pytorch-bot bot commented Sep 24, 2024

Warning: Unknown label ciflow/android/release.
Currently recognized labels are

  • ciflow/android
  • ciflow/apple
  • ciflow/nightly
  • ciflow/trunk
  • ciflow/binaries
  • ciflow/binaries/all
  • ciflow/periodic

Please add the new label to .github/pytorch-probot.yml

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 24, 2024
@kirklandsign kirklandsign added the ciflow/android Trigger Android CI label Sep 24, 2024
# The schema is from https://github.com/pytorch/pytorch/blob/main/.github/pytorch-probot.yml
ciflow_push_tags:
- ciflow/android
- ciflow/android/release
Copy link
Contributor

@huydhn huydhn Sep 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes more sense to not use ciflow/android/release as it's a hack. The ciflow tag is for PR. If you want to keep the current implementation, you could name it something else I guess to avoid confusion, i.e. push/to/this/tag/to/release/android. Also, no need to include that here in the list of ciflow labels

jobs:
build-llm-demo:
name: build-llm-demo
build-aar:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to refactor build-arr and upload-release-aar to a separate dispatchable workflow that:

  1. android.yml can call
  2. and we can manually dispatch it to build/upload Android release artifacts

However, that could come in a later PR if you prefer

@kirklandsign kirklandsign removed the ciflow/android Trigger Android CI label Sep 24, 2024
@facebook-github-bot
Copy link
Contributor

@kirklandsign has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

upload-release-aar:
name: upload-release-aar
needs: build-aar
if: ${{ startsWith(github.ref, 'refs/tags/android/release') }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note that if you use workflow_dispatch, you could run this step when the workflow event_type is workflow_dispatch. Let me find a concrete example

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, it's ${{ github.event_name == 'workflow_dispatch' }}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Huy!

I am trying with #5606 for that path

@kirklandsign kirklandsign deleted the android-upload-artifact branch October 16, 2024 03:13
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants