pytorch / extension-cpp

C++ extensions in PyTorch
1.02k stars 214 forks source link

[feature request] Instruction on how to setup compile-env for Windows #93

Open litaws opened 6 months ago

litaws commented 6 months ago

Hi

I have been working with extensions successfully on Linux (shipping as whl) An end-user has asked me to provide a windows version of an extension, and I have to admit that it was not as simple as the documentation suggested here.

Can you please provide a minimal explanation or example on how to setup the compile env for this repo? I don't mind if it is based on setuptools or cmake, as long as it does not include a non-free tool like VS-pro here


Here are some general frame of work that will help: