Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

conv_operator CPU support

Open yu239-zz opened this issue 9 years ago • 5 comments

Is there any possibility of supporting conv_operator on CPU? Currently, the constructor of ConvBaseOperator always CHECK(useGpu).

yu239-zz avatar Aug 11 '17 15:08 yu239-zz

It seems from the Git history that this layer was contributed by @wangyang59 , who might be the best one to give suggestions on the CPU-version of this layer.

wangkuiyi avatar Aug 11 '17 21:08 wangkuiyi

@wangyang59 told me that the code was separated from ConvOperator.cpp as shown in above history. The history of ConvOperator.cpp shows that it was created before the open source of PaddlePaddle -- which means we cannot trace the original author.

I noticed that @luotao1 had made many changes to ConvOperator.cpp. Could @luotao1 please have to look at this issue and see if we can add CPU-version of this layer? Thanks!

wangkuiyi avatar Aug 11 '17 21:08 wangkuiyi

The ConvOperator used the cuDNN to calculate, so it only supports GPU now. We can support CPU later. @yu239

qingqing01 avatar Aug 12 '17 03:08 qingqing01

@qingqing01 Do you have an estimate on when the CPU support will be implemented?

yu239-zz avatar Aug 18 '17 04:08 yu239-zz

ConvOperator supports CPU in fluid now.

luotao1 avatar Apr 08 '18 03:04 luotao1