File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ python -c "import torch; print(torch.__version__); print(torch.cuda.is_available
8080python -c " import lightning.pytorch as pl; print(pl.__version__)"
8181python -c " from assets.cuda.mmcv import Voxelization, DynamicScatter;print('successfully import on our lite mmcv package')"
8282python -c " from assets.cuda.chamfer3D import nnChamferDis;print('successfully import on our chamfer3D package')"
83+ python -c " from av2.utils.io import read_feather; print('av2 package ok')"
8384```
8485
8586
Original file line number Diff line number Diff line change 11from setuptools import setup
22from torch .utils .cpp_extension import BuildExtension , CUDAExtension
33
4+ extra_compile_args = {
5+ 'cxx' : ['-DCCCL_IGNORE_DEPRECATED_CUDA_BELOW_12' ],
6+ 'nvcc' : ['-DCCCL_IGNORE_DEPRECATED_CUDA_BELOW_12' ],
7+ }
8+
49setup (
510 name = 'chamfer3D' ,
611 ext_modules = [
7- CUDAExtension ('chamfer3D' , [
8- "/" .join (__file__ .split ('/' )[:- 1 ] + ['chamfer3D_cuda.cpp' ]), # must named as xxx_cuda.cpp
9- "/" .join (__file__ .split ('/' )[:- 1 ] + ['chamfer3D.cu' ]),
10- ]),
12+ CUDAExtension (
13+ name = 'chamfer3D' ,
14+ sources = [
15+ "/" .join (__file__ .split ('/' )[:- 1 ] + ['chamfer3D_cuda.cpp' ]), # must named as xxx_cuda.cpp
16+ "/" .join (__file__ .split ('/' )[:- 1 ] + ['chamfer3D.cu' ]),
17+ ],
18+ extra_compile_args = extra_compile_args
19+ ),
1120 ],
1221 cmdclass = {
1322 'build_ext' : BuildExtension
1423 },
15- version = '1.0.1' )
24+ version = '1.0.2'
25+ )
Original file line number Diff line number Diff line change 33from setuptools import find_packages , setup
44from torch .utils .cpp_extension import BuildExtension , CUDAExtension
55
6+ extra_compile_args = {
7+ 'cxx' : ['-DCCCL_IGNORE_DEPRECATED_CUDA_BELOW_12' ],
8+ 'nvcc' : ['-DCCCL_IGNORE_DEPRECATED_CUDA_BELOW_12' ],
9+ }
10+
11+
612setup (
713 name = 'mmcv' ,
8- version = '1.0.1 ' ,
14+ version = '1.0.2 ' ,
915 ext_modules = [
1016 CUDAExtension (
1117 name = 'mmcv' ,
1824 "/" .join (__file__ .split ("/" )[:- 1 ] + ["pybind.cpp" ]),
1925
2026 ],
21- # extra_compile_args={
22- # 'cxx': ['-std=c++17'],
23- # 'nvcc': ['-std=c++17',
24- # '-D__CUDA_NO_HALF_OPERATORS__',
25- # '-D__CUDA_NO_HALF_CONVERSIONS__',
26- # '-D__CUDA_NO_HALF2_OPERATORS__',
27- # ],}
28- ),
27+ extra_compile_args = extra_compile_args
28+ ),
2929 ],
3030 cmdclass = {'build_ext' : BuildExtension },
3131
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ dependencies:
3434 - assets/cuda/chamfer3D
3535 - assets/cuda/mmcv
3636 - open3d==0.18.0
37+ # - opencv-python-headless==4.9.0.80 # for av2 if there is any on cv2....
38+ - av==14.0.1 # need to specific this one otherwise av2 will have error
3739 - av2==0.3.1
3840 - spconv-cu118==2.3.6
3941 - numpy==1.26.4
You can’t perform that action at this time.
0 commit comments