Skip to content
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

Migrate v1 code under aimet_torch.v1 subpackage #3376

Merged
merged 5 commits into from
Oct 8, 2024

Conversation

quic-kyunggeu
Copy link
Contributor

@quic-kyunggeu quic-kyunggeu commented Oct 8, 2024

This is a preliminary PR to give the users a grace period with deprecation warnings before switching to v2 as default

Main Changes

  1. (300e312) Migrated v1-specific modules (quantsim.py, adaround/, seq_mse.py, ...) under aimet_torch.v1 subpackage.
  2. (6f9fbcc) Added import-time warning message for the modules migrated under aimet_torch.v1
>>> import aimet_torch.quantsim
<string>:1: DeprecationWarning: "aimet_torch.quantsim" will be replaced with "aimet_torch.v2.quantsim" soon in the later versions.
If you must keep using the v1 legacy API for backwards-compatibility, please import "aimet_torch.v1.quantsim" instead.

@quic-kyunggeu quic-kyunggeu changed the title V1 namespace Migrate v1 code under aimet_torch.v1 subpackage Oct 8, 2024
@quic-kyunggeu quic-kyunggeu merged commit 05711ea into quic:develop Oct 8, 2024
4 checks passed
@quic-kyunggeu quic-kyunggeu deleted the v1_namespace branch October 8, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants