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

from .._CUDA import (linear_a8_w8_b32_o32, ImportError: attempted relative import with no known parent package #21

Open
ICE2LAN opened this issue Oct 8, 2023 · 5 comments

Comments

@ICE2LAN
Copy link

ICE2LAN commented Oct 8, 2023

请问源码中是少了_CUDA的包吗

@Jenny20000129
Copy link

I have the same question as yours.Have you solved this problem?

@ICE2LAN
Copy link
Author

ICE2LAN commented Oct 27, 2023

No, I think the author hid this part of the source code by sharing only the.so file.
image

@msz12345
Copy link

msz12345 commented Jan 6, 2024

请问源码中是少了_CUDA的包吗

不是,这个是一个包里面的隐藏文件,也许你需要访问这个目录:/home/yourname/anaconda3/envs/smoothquant/lib/python3.8/site-packages/torch_int-0.0.0-py3.8-linux-x86_64.egg/torch_int/

@isdongping
Copy link

同样找不到--CUDA位置,无法成功导入,求大神指教

@SameedAhmedKhan
Copy link

If you're getting an error like this:
ModuleNotFoundError: No module named 'torch_int._CUDA'
Try:
pip install -e .
It might help solve the problem :)

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

5 participants