Cuogeihong / CEASC

The official implementation of CEASC
Apache License 2.0
99 stars 12 forks source link

安装Sparse_conv模块报错 #21

Open b-yanchao opened 10 months ago

b-yanchao commented 10 months 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?

lzl200110 commented 9 months ago

我也遇到了这个问题,把pytorch版本改为Pytorch 1.10.1就解决了