Build libtorch on Windows using VS

I’m relatively new to C++ libraries stuff and I’m here to ask two naive questions :stuck_out_tongue_closed_eyes:.

First. I built pytorch CPU version on windows using VS and miniconda by following the instructions in README. All went well. But I can’t find the libtorch library I just built. Can somebody tell me where to find those files just like the pre-built libraries?

Second. If I want to use libtorch in debug mode, what configurations should I do when building pytorch?

Thanks in advance.

  1. [PYTHONROOT]\Lib\site-packages\torch\lib
  2. set DEBUG=1