torch在windows VC2022下的编译
只是需要其中的几个文件,所以只想简单编译,简单编译也不好配置。下载源码:git clone https://github.com/pytorch/pytorch
git checkout v2.6.0-rc9
git submodule update --init --recursive
编译源码:可以用cmake gui打开,但是编译错误会比较多。这里使用python命令。python s...
2025-03-10