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

【Deno error】ImportError: cannot import name 'torchscript' from 'torch_mlir' (unknown location) #3059

Open
Knight-9 opened this issue Mar 26, 2024 · 2 comments

Comments

@Knight-9
Copy link

When I run python projects/pt1/examples/torchscript_resnet18.py , I got an error that:
Traceback (most recent call last):
File "/root/xxx/torch_mlir/torch-mlir/projects/pt1/examples/torchscript_resnet18.py", line 15, in
from torch_mlir import torchscript
ImportError: cannot import name 'torchscript' from 'torch_mlir' (unknown location)

What can I do about it? thanks!

@stellaraccident
Copy link
Collaborator

idk. We should delete those pt1 examples. Pretty much everything in pt1 or related to torchscript is barely supported by current contributors.

@Knight-9
Copy link
Author

idk. We should delete those pt1 examples. Pretty much everything in pt1 or related to torchscript is barely supported by current contributors.

Thanks! I found out , the snapshots source code different from the current version of the code

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

No branches or pull requests

2 participants