pytorch-cpp icon indicating copy to clipboard operation
pytorch-cpp copied to clipboard

About deploy

Open Strand2013 opened this issue 6 years ago • 3 comments

Hi, thank you first, I want to use C++ api to call the deep learning model of pytorch. but I not sure the project is easy to deploy in centos 6.5 or 7.0. I try tensorflow cpp api before but it's too difficult to deploy the environment , so do you have some advice ?

Strand2013 avatar May 15 '18 03:05 Strand2013

Hi @RaceSu -- if you have cuda installed on your computer, just follow the steps on the front page of our library, it's easy.

warmspringwinds avatar May 16 '18 06:05 warmspringwinds

I have no cuda, so we should I do if I want deploy the C++ api just for inference.

Strand2013 avatar May 17 '18 02:05 Strand2013

You can run it without gpu -- it will be rather slow but it will work :)

warmspringwinds avatar May 17 '18 21:05 warmspringwinds