executorch icon indicating copy to clipboard operation
executorch copied to clipboard

Adding model stats to aot_arm_compiler

Open tom-arm opened this issue 1 year ago • 1 comments

  • Adds GenericModelEvaluator, which gathers metrics applicable to all models
  • Adds --evaluate option to enable gathering quantization metrics

Signed-off-by: Tom Allsop [email protected]

Change-Id: Ia9b591841f188870fa5e62d0568169498301393d

tom-arm avatar Oct 02 '24 12:10 tom-arm

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5816

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

:x: 1 New Failure

As of commit c50af6daee87a27cccb440c8f1dd2f0e317eec12 with merge base da1d2ca3d647b744e516dd8b62c4e2aa0d884e0a (image):

NEW FAILURE - The following job has failed:

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

pytorch-bot[bot] avatar Oct 02 '24 12:10 pytorch-bot[bot]

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

facebook-github-bot avatar Oct 08 '24 15:10 facebook-github-bot

Stamping to unblock, COMPRESSION_RATIO_TEST generation seems inefficient let's fix it in the future?

Also once matures move it out to backends/

Thanks Digant! Yep this could be more efficient, I'll make sure this is addressed in the next patch for this feature

tom-arm avatar Oct 08 '24 16:10 tom-arm

rebase please? Landing a bunch of stuff tonight, so probably tomorrow? :)

digantdesai avatar Oct 08 '24 22:10 digantdesai

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

facebook-github-bot avatar Oct 09 '24 15:10 facebook-github-bot

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

facebook-github-bot avatar Oct 15 '24 20:10 facebook-github-bot

@digantdesai merged this pull request in pytorch/executorch@e91357d0b426cc5cca64d71e1d8e053deacbb2be.

facebook-github-bot avatar Oct 15 '24 22:10 facebook-github-bot