Skip to content

Conversation

@mergennachin
Copy link
Contributor

@mergennachin mergennachin commented Jan 15, 2025

Summary

From top-level requirements, move to devtools/install_requirement.sh instead.

ai-edge-model-explorer is too new and currently requires numpy<2 (https://github.com/google-ai-edge/model-explorer/blob/main/src/server/package/pyproject.toml#L26) which conflicts with our recent upgrade (#7599)

Let's not take core dependency on this tool yet.

Test Plan

python devtools/visualization/visualization_utils_test.py

make sure error is thrown

run sh devtools/install_requirement.sh

make sure the script is successfully run.

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 15, 2025

🔗 Helpful Links

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

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

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 15, 2025
@mergennachin mergennachin force-pushed the update_torchtune_pin branch 3 times, most recently from 3d394ba to a9e98d4 Compare January 15, 2025 20:12
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

# Conflict: this requires numpy<2 whereas ExecuTorch core requires numpy>=2
Copy link
Contributor

Choose a reason for hiding this comment

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

How does this will work, once ET moves to numpy>=2?
Does Google have a plan to upgrade to a newer numpy?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Summary:

From top-level requirements, move to devtools/install_requirement.sh instead.

ai-edge-model-explorer is too new and currently requires numpy<2 which conflicts with our recent upgrade.

Let's not take core dependency on this tool yet.
@mergennachin mergennachin merged commit fc6b83e into main Jan 16, 2025
40 checks passed
@mergennachin mergennachin deleted the update_torchtune_pin branch January 16, 2025 15:41
@per
Copy link
Collaborator

per commented Jan 22, 2025

FYI: @Erik-Lundell

YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
)

Summary:

From top-level requirements, move to devtools/install_requirement.sh instead.

ai-edge-model-explorer is too new and currently requires numpy<2 which conflicts with our recent upgrade.

Let's not take core dependency on this tool yet.
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. topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants