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

An import error #220

Open
fsted opened this issue Mar 3, 2022 · 5 comments
Open

An import error #220

fsted opened this issue Mar 3, 2022 · 5 comments

Comments

@fsted
Copy link

fsted commented Mar 3, 2022

hello, i got an import error:
When
import inplace_abn
It tells :
Traceback (most recent call last):
File "", line 1, in
File "/home/lib/python3.7/site-packages/inplace_abn/init.py", line 1, in
from .abn import ABN, InPlaceABN, InPlaceABNSync
File "/home/lib/python3.7/site-packages/inplace_abn/abn.py", line 8, in
from .functions import inplace_abn, inplace_abn_sync
File "/home/lib/python3.7/site-packages/inplace_abn/functions.py", line 8, in
from . import _backend
ImportError: /home/lib/python3.7/site-packages/inplace_abn/_backend.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN2at4cuda6detail20canUse32BitIndexMathERKNS_6TensorEl

This confuses me, what to do with it,Thanks

@JackyLin7414
Copy link

JackyLin7414 commented Mar 14, 2022

I also have same problem
My pytorch version is 1.7.0

@inphantasm
Copy link

I have a similar one:
File "D:\Anaconda\lib\site-packages\inplace_abn_init_.py", line 1, in
from .abn import ABN, InPlaceABN, InPlaceABNSync
File "D:\Anaconda\lib\site-packages\inplace_abn\abn.py", line 8, in
from .functions import inplace_abn, inplace_abn_sync
File "D:\Anaconda\lib\site-packages\inplace_abn\functions.py", line 8, in
from . import _backend
ImportError: DLL load failed: 找不到指定的程序。

@zkaiWu
Copy link

zkaiWu commented Aug 28, 2022

I also have this problem
/site-packages/inplace_abn/_backend.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN3c1015SmallVectorBaseIjE8grow_podEPvmm

@walking-shadow
Copy link

hello, i got an import error: When import inplace_abn It tells : Traceback (most recent call last): File "", line 1, in File "/home/lib/python3.7/site-packages/inplace_abn/init.py", line 1, in from .abn import ABN, InPlaceABN, InPlaceABNSync File "/home/lib/python3.7/site-packages/inplace_abn/abn.py", line 8, in from .functions import inplace_abn, inplace_abn_sync File "/home/lib/python3.7/site-packages/inplace_abn/functions.py", line 8, in from . import _backend ImportError: /home/lib/python3.7/site-packages/inplace_abn/_backend.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN2at4cuda6detail20canUse32BitIndexMathERKNS_6TensorEl

This confuses me, what to do with it,Thanks

You can refer to Requirement Note 2, which says NOTE 2: we are only able to provide support for Linux platforms and CUDA versions >= 10.0, so it won't work in windows platform.

@xiaohulihutu
Copy link

hello, i got an import error: When import inplace_abn It tells : Traceback (most recent call last): File "", line 1, in File "/home/lib/python3.7/site-packages/inplace_abn/init.py", line 1, in from .abn import ABN, InPlaceABN, InPlaceABNSync File "/home/lib/python3.7/site-packages/inplace_abn/abn.py", line 8, in from .functions import inplace_abn, inplace_abn_sync File "/home/lib/python3.7/site-packages/inplace_abn/functions.py", line 8, in from . import _backend ImportError: /home/lib/python3.7/site-packages/inplace_abn/_backend.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN2at4cuda6detail20canUse32BitIndexMathERKNS_6TensorEl
This confuses me, what to do with it,Thanks

You can refer to Requirement Note 2, which says NOTE 2: we are only able to provide support for Linux platforms and CUDA versions >= 10.0, so it won't work in windows platform.

Thats very interesting because when i run in windows, i dont have this error, but when i run in WSL this error poped up. And i m totally confuse now

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

6 participants