CPU support for LibTorch

Could someone provide a minimal code to use LibTorch on a machine that does not have CUDA? I was running into errors trying the same.

it is already supported with CPU in libtorch. You simply needs convert your tensor to device CPU

Okay I realized that there is a different download option on the website for that. Thanks :slight_smile:
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-latest.zip