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

Misleading import error message for torchao #2369

Open
bogdansalyp opened this issue Feb 9, 2025 · 0 comments · May be fixed by #2368
Open

Misleading import error message for torchao #2369

bogdansalyp opened this issue Feb 9, 2025 · 0 comments · May be fixed by #2368

Comments

@bogdansalyp
Copy link
Contributor

torch, torchao, and torchvision are not a part of pyproject.toml. According to docs, it's done because "it is not currently possible to properly support both nightly and stable installs of PyTorch + torchao in pyproject.toml."

Small issue is that if torchao is installed and torch is not, the error still says torchao is not installed. May waste some time for developers who encounter with this issue.

Also, there's no check for the third package, torchvision.

@bogdansalyp bogdansalyp linked a pull request Feb 9, 2025 that will close this issue
13 tasks
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 a pull request may close this issue.

1 participant