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

Hello, my error has not been completely resolved. On the latest version of vscode, once I referenced this package, I couldn't use the debug feature and had to run it directly. But sometimes running it directly throws an error. #111

Open
22236 opened this issue Apr 9, 2024 · 4 comments

Comments

@22236
Copy link

22236 commented Apr 9, 2024

          Hello, my error has not been completely resolved. On the latest version of vscode, once I referenced this package, I couldn't use the debug feature and had to run it directly. But sometimes running it directly throws an error.

Now I'm using cuda11.8, installing pytorch2.1.0, spatial_correlation_sampler0.5.0, still getting errors:
微信截图_20240408232612

Originally posted by @22236 in #108 (comment)

@ClementPinard
Copy link
Owner

What command did you use exactly to install it ?
Did you try without isolation ?

@22236
Copy link
Author

22236 commented Apr 9, 2024

Usepip install --no-build-isolation spatial-correlation-sampler, the default installation is spatial_correlation_sampler 0.5.0.

  1. cuda11.8 install torch1.8 Download the fix_1.7 project from github and install spatial_correlation_sampler 0.3.0 with pip setup.py install. Error: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv
  2. Install gcc version 11.3 with --with-default-libstdcxx-abi=gcc4-compatible, still error
  3. cuda11.8 install torch2.1.0 Download the master project from github and install spatial_correlation_sampler 0.5.0 with pip setup.py install, error: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv

@huangfeng95
Copy link

Usepip install --no-build-isolation spatial-correlation-sampler, the default installation is spatial_correlation_sampler 0.5.0.

  1. cuda11.8 install torch1.8 Download the fix_1.7 project from github and install spatial_correlation_sampler 0.3.0 with pip setup.py install. Error: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv
  2. Install gcc version 11.3 with --with-default-libstdcxx-abi=gcc4-compatible, still error
  3. cuda11.8 install torch2.1.0 Download the master project from github and install spatial_correlation_sampler 0.5.0 with pip setup.py install, error: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv

Hello, I have encountered similar issues on other projects. Have you found a solution yet?

@mahao18cm
Copy link

ImportError: /root/miniconda3/lib/python3.10/site-packages/spatial_correlation_sampler_backend.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops10zeros_like4callERKNS_6TensorESt8optionalIN3c1010ScalarTypeEES5_INS6_6LayoutEES5_INS6_6DeviceEES5_IbES5_INS6_12MemoryFormatEE

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

4 participants