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

Remove deprecated constraints and dynamic dim support. #145

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

stellaraccident
Copy link
Collaborator

The backing APIs have been deprecated for a year and were removed from PyTorch 2.6 nightlies, causing import errors.

torch.export and torch-mlir have long since provided a supported way for exporting dynamic dims.

The backing APIs have been deprecated for a year and were removed from PyTorch 2.6 nightlies, causing import errors.

torch.export and torch-mlir have long since provided a supported way for exporting dynamic dims.

Signed-off-by: Stella Laurenzo <[email protected]>
Hardcode84 added a commit that referenced this pull request Sep 17, 2024
Recent torch 2.5 versions failing with `ImportError: cannot import name
'dynamic_dim' from 'torch.export'`, pin torch version `<2.5.0` for now,
until proper fix is ready
#145

---------

Signed-off-by: Ivan Butygin <[email protected]>
IanNod pushed a commit to IanNod/iree-turbine that referenced this pull request Sep 30, 2024
Recent torch 2.5 versions failing with `ImportError: cannot import name
'dynamic_dim' from 'torch.export'`, pin torch version `<2.5.0` for now,
until proper fix is ready
iree-org#145

---------

Signed-off-by: Ivan Butygin <[email protected]>
IanNod pushed a commit to IanNod/iree-turbine that referenced this pull request Sep 30, 2024
Recent torch 2.5 versions failing with `ImportError: cannot import name
'dynamic_dim' from 'torch.export'`, pin torch version `<2.5.0` for now,
until proper fix is ready
iree-org#145

---------

Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ian <[email protected]>
IanNod pushed a commit to IanNod/iree-turbine that referenced this pull request Sep 30, 2024
Recent torch 2.5 versions failing with `ImportError: cannot import name
'dynamic_dim' from 'torch.export'`, pin torch version `<2.5.0` for now,
until proper fix is ready
iree-org#145

---------

Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: Ian <[email protected]>
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.

1 participant