warmspringwinds / pytorch-cpp

Pytorch C++ Library
369 stars 68 forks source link

About deploy #11

Open mxsurui opened 6 years ago

mxsurui commented 6 years ago

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 ?

warmspringwinds commented 6 years ago

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

mxsurui commented 6 years ago

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

warmspringwinds commented 6 years ago

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