Disclaimer: I am new to source builds of pytorch.
I was able to build and install pytorch successfully, following https://pytorch.org/get-started/locally/#windows-from-source against a miniconda environment. Two questions remain for me:


torchvision: Is this part of the package? I couldn’t found any egg/whl. Any knobs, I am not aware yet?


Out-of-Source builds gives me the following error:


Building wheel torch-1.1.0a0
-- Building version 1.1.0a0
[0/1] cmd.exe /C "cd /D V:\src\git\pytorch\build\build && C:\Users\micha\Miniconda3\Library\bin\cmake.exe -P cmake_install.cmake"
-- Install configuration: "Release"
Traceback (most recent call last):
  File "..\src\pytorch\setup.py", line 734, in <module>
    build_deps()
  File "..\src\pytorch\setup.py", line 299, in build_deps
    build_dir='build')
  File "v:\src\git\pytorch\src\pytorch\tools\build_pytorch_libs.py", line 325, in build_caffe2
    shutil.copyfile(proto_file, "caffe2/proto/" + os.path.basename(proto_file))
  File "C:\Users\micha\Miniconda3\lib\shutil.py", line 121, in copyfile
    with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'caffe2/proto/caffe2_legacy_pb2.py'

I am not very well-versed in python’s setup.py framework, so it is easily possible that I make very simple errors here. My call to setup.py comes from my intended build directory for cmake and has the form:
python ..\src\pytorch\setup.py install

Are there any options, providing setup.py with the correct build directory in order to transfer this information to cmake? (The mentioned caffe2/proto/caffe2_legacy_pb2.py was copied to this build directory - but the leading path seems to be missing).
Unrelated: Would a ‘build’ category possible for this forum (similar to ‘deployment’)?
Michael