-
Notifications
You must be signed in to change notification settings - Fork 685
Update CI for HF Optimum models #10820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10820
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
fac9438
to
49560eb
Compare
49560eb
to
fc92a31
Compare
1347341
to
4e99ae7
Compare
@huydhn Do you have any idea about this error when uploading artifacts to GitHub?
https://github.com/pytorch/executorch/actions/runs/14986846414/job/42102276419?pr=10820#step:21:115 |
0646517
to
90e7826
Compare
.github/workflows/trunk.yml
Outdated
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||
timeout: 90 | ||
upload-artifact: profiling-artifacts | ||
upload-artifact-to-s3: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upload to S3 can upload all artifacts from all jobs without name collision, however, it doesn't show me the URL to download. https://github.com/pytorch/executorch/actions/runs/15006249421/job/42165486798?pr=10820#step:22:119
Upload to GitHub will end up with name collision https://github.com/pytorch/executorch/actions/runs/15003586551/job/42156514855#step:21:116. There is only one artifact can be uploaded successfully with URL to download https://github.com/pytorch/executorch/actions/runs/15003586551/job/42156514884#step:21:123
cc: @huydhn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To unblock this PR, the workaround is to use job-index to make the upload-artifact
name unique
90e7826
to
808360b
Compare
Summary
Updated pinned
optimum-executorch
. Useoptimum-cli
to generate pte files with xnnpack+custom_sdpa+8da4w. Getting the CI ready to be profiling those ptes usingexecutor_runner
.Test plan
CI will export native HF models via
optimum-cli
and validate those models via python APIfrom_pretrained
.