Open b-yanchao opened 1 year ago
error: invalid initialization of reference of type ‘const c10::TensorOptions&’ from expression of type ‘const c10::nullopt_t’
CAFFE2_API Tensor empty_like(const Tensor & self, const TensorOptions & options={}, c10::optional memory_format=c10::nullopt); ^~~~~~ error: command '/usr/bin/gcc' failed with exit code 1
Excuse me, what is the reason for this error when installing Sparse_conv?
我也遇到了这个问题,把pytorch版本改为Pytorch 1.10.1就解决了
error: invalid initialization of reference of type ‘const c10::TensorOptions&’ from expression of type ‘const c10::nullopt_t’
CAFFE2_API Tensor empty_like(const Tensor & self, const TensorOptions & options={}, c10::optional memory_format=c10::nullopt);
^
~~~~~ error: command '/usr/bin/gcc' failed with exit code 1Excuse me, what is the reason for this error when installing Sparse_conv?