Pytorch-Correlation-extension icon indicating copy to clipboard operation
Pytorch-Correlation-extension copied to clipboard

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.

Open 22236 opened this issue 1 year ago • 4 comments
trafficstars

          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 https://github.com/ClementPinard/Pytorch-Correlation-extension/issues/108#issuecomment-2043052880

22236 avatar Apr 09 '24 06:04 22236

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

ClementPinard avatar Apr 09 '24 08:04 ClementPinard

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

22236 avatar Apr 09 '24 15:04 22236

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?

huangfeng95 avatar Apr 24 '24 02:04 huangfeng95

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

mahao18cm avatar May 20 '24 05:05 mahao18cm