facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.81k stars 1.32k forks source link

Linux install problem #1743

Closed Doreeeeen closed 8 months ago

Doreeeeen commented 8 months ago

hi, i use cuda 11.6 pytorch 1.13.0 and install pytorch3d from local clone in Ubutun . It failed with this:

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(750): warning #12-D: parsing restarts here after previous syntax error

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(751): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(753): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(754): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(779): warning #12-D: parsing restarts here after previous syntax error

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(780): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(781): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(783): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(784): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(809): warning #12-D: parsing restarts here after previous syntax error

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(810): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(811): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(812): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(814): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(815): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(970): warning #12-D: parsing restarts here after previous syntax error

/home/jiaod/miniconda3/envs/pytorch3d/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(972): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(140): warning #12-D: parsing restarts here after previous syntax error

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(143): error: this declaration has no storage class or type specifier

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(143): error: expected a ";"

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(146): error: this declaration has no storage class or type specifier

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(146): error: variable "agent" has already been defined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(146): error: expected a ";"

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(151): warning #12-D: parsing restarts here after previous syntax error

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(154): error: this declaration has no storage class or type specifier

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(154): error: variable "agent" has already been defined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(154): error: expected a ";"

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(156): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(221): warning #12-D: parsing restarts here after previous syntax error

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(223): error: identifier "WrappedLevelIteratorT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(223): error: identifier "d_levels" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(225): error: identifier "num_output_levels" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(226): error: expected a declaration

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(233): warning #12-D: parsing restarts here after previous syntax error

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(240): error: identifier "LevelT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(241): error: identifier "LevelT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(242): error: identifier "LevelT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(285): error: identifier "CacheLoadModifier" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(295): error: identifier "CacheLoadModifier" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(305): error: identifier "CacheLoadModifier" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(320): error: identifier "CacheLoadModifier" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(339): error: identifier "SampleT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(340): error: identifier "NUM_ACTIVE_CHANNELS" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(349): error: AgentHistogramPolicy is not a template

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(351): error: identifier "NUM_CHANNELS" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(352): error: identifier "BLOCK_LOAD_DIRECT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(353): error: identifier "LOAD_DEFAULT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(355): error: identifier "GMEM" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(364): error: AgentHistogramPolicy is not a template

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(365): error: identifier "NUM_CHANNELS" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(367): error: identifier "BLOCK_LOAD_DIRECT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(367): error: identifier "BLOCK_LOAD_WARP_TRANSPOSE" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(368): error: identifier "LOAD_DEFAULT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(370): error: identifier "SMEM" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(379): error: AgentHistogramPolicy is not a template

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(381): error: identifier "NUM_CHANNELS" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(382): error: identifier "BLOCK_LOAD_DIRECT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(383): error: identifier "LOAD_DEFAULT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(385): error: identifier "GMEM" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(394): error: AgentHistogramPolicy is not a template

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(397): error: identifier "BLOCK_LOAD_DIRECT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(398): error: identifier "LOAD_LDG" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(400): error: identifier "BLEND" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(409): error: AgentHistogramPolicy is not a template

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(412): error: identifier "BLOCK_LOAD_DIRECT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(413): error: identifier "LOAD_LDG" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(415): error: identifier "SMEM" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(444): error: class "Policy500" has no member class "HistogramSweepPolicy"

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(534): error: identifier "SampleIteratorT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(535): error: identifier "CounterT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(535): error: identifier "NUM_ACTIVE_CHANNELS" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(541): error: identifier "OffsetT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(542): error: identifier "OffsetT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(543): error: identifier "OffsetT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(716): error: identifier "SampleIteratorT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(717): error: identifier "CounterT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(717): error: identifier "NUM_ACTIVE_CHANNELS" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(719): error: identifier "LevelT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(720): error: identifier "OffsetT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(721): error: identifier "OffsetT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(722): error: identifier "OffsetT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(725): error: Int2Type is not a template

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(732): error: identifier "PtxVersion" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(740): error: SearchTransform is not a template

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(740): error: identifier "LevelT" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(740): error: expected an expression

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(758): error: identifier "MAX_PRIVATIZED_SMEM_BINS" is undefined

/home/jiaod/miniconda3/envs/pytorch3d/include/cub/device/dispatch/dispatch_histogram.cuh(763): error: identifier "DeviceHistogramInitKernel" is undefined

Error limit reached. 100 errors detected in the compilation of "/home/jiaod/miniconda3/envs/occnerf/OccNeRF-main/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.backward.gpu.cu". Compilation terminated. error: command '/home/jiaod/miniconda3/envs/pytorch3d/bin/nvcc' failed with exit code 1

what should i do plz!