Skip to content

chamfer distance #60

@ProgNm

Description

@ProgNm

when running this command
cd ./extensions/chamfer_dist && python setup.py install --user

i am getting this issue
UserWarning: The detected CUDA version (11.5) has a minor version mismatch with the version that was used to compile PyTorch (11.7). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
building 'chamfer' extension
creating build/temp.linux-x86_64-cpython-39
/usr/bin/nvcc -I/home/nasir/miniconda/envs/pointmamba_env/lib/python3.9/site-packages/torch/include -I/home/nasir/miniconda/envs/pointmamba_env/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/nasir/miniconda/envs/pointmamba_env/lib/python3.9/site-packages/torch/include/TH -I/home/nasir/miniconda/envs/pointmamba_env/lib/python3.9/site-packages/torch/include/THC -I/home/nasir/miniconda/envs/pointmamba_env/include/python3.9 -c chamfer.cu -o build/temp.linux-x86_64-cpython-39/chamfer.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=chamfer -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
435 | function(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
530 | operator=(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’
error: command '/usr/bin/nvcc' failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions