Skip to content

Conversation

@robell
Copy link
Collaborator

@robell robell commented Oct 17, 2024

  • Update to_edge_transform_and_lower rather than export_to_edge
  • fix channel last on some models

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 17, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 8e0412b with merge base 6b858f2 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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 Oct 17, 2024
@robell robell force-pushed the aot_export_update branch from 3027be6 to 891d73a Compare October 17, 2024 16:08
- Update to_edge_transform_and_lower rather than export_to_edge
- fix channel last on some models

Signed-off-by: Rob Elliott <Robert.Elliott@arm.com>
Change-Id: I0f8e9206aa1ff3004a746955010c7bf01c896347
@robell robell force-pushed the aot_export_update branch from 891d73a to 8e0412b Compare October 17, 2024 16:22
@zingo zingo added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk labels Oct 17, 2024
Copy link
Contributor

@digantdesai digantdesai left a comment

Choose a reason for hiding this comment

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

LGTM. Left a nit. Stamping

# Wrap quantized model back into an exported_program
exported_program = torch.export.export_for_training(model, example_inputs)

if args.delegate:
Copy link
Contributor

Choose a reason for hiding this comment

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

refactor this as

my_partitioner = this or []
edge = to_edge_transoform_and_lower(..., partitioner=my_partitioner)

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@digantdesai merged this pull request in 1e9ebdf.

@robell robell deleted the aot_export_update branch May 6, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants