Skip to content

Conversation

@Erik-Lundell
Copy link
Collaborator

  • Add ai-edge-model-explorer as development requirement
  • Add lightweight wrapper around model-explorer in devtools
  • Use it in .visualize() call in XNNPack tester
  • Add tests. The actual call to model-explorer is mocked, since getting it to run in ci did not work out. However, asserting that the model actually loads properly needs visual inspection anyways. Instead, visualization_utils_test.py can be run locally.
  • Add two context managers for starting model-explorer servers, currently only used for testing but might be useful.

See discussion here #6750

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 8, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 54dfe31 with merge base a10eabd (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 Jan 8, 2025
@Erik-Lundell Erik-Lundell added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm module: devtools Issues related to developer tools and code under devtools/ topic: not user facing labels Jan 8, 2025
- Add ai-edge-model-explorer as development requirement
- Add lightweight wrapper around model-explorer in devtools
- Use it in .visualize() call in XNNPack tester
- Add tests. The actual call to model-explorer is mocked, since
  getting it to run in ci did not work out. However, asserting
  that the model actually loads properly needs visual inspection anyways.
  Instead, visualization_utils_test.py can be run locally.
- Add two context managers for starting model-explorer servers,
  currently only used for testing but might be useful.

Signed-off-by: Erik Lundell <[email protected]>
Change-Id: I3fc0efb3a2012b038f699f7737c4d97c5039df40
@freddan80 freddan80 merged commit 8870fae into pytorch:main Jan 14, 2025
44 checks passed
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
- Add ai-edge-model-explorer as development requirement
- Add lightweight wrapper around model-explorer in devtools
- Use it in .visualize() call in XNNPack tester
- Add tests. The actual call to model-explorer is mocked, since
  getting it to run in ci did not work out. However, asserting
  that the model actually loads properly needs visual inspection anyways.
  Instead, visualization_utils_test.py can be run locally.
- Add two context managers for starting model-explorer servers,
  currently only used for testing but might be useful.

Signed-off-by: Erik Lundell <[email protected]>
@Erik-Lundell Erik-Lundell deleted the visualization branch July 31, 2025 07:50
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. module: devtools Issues related to developer tools and code under devtools/ partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants