I have successfully installed pytorch from source using command git clone --recursive https://github.com/pytorch/pytorch.git
on my Windows 11 with CPU. But I cannot run the pretrained DL model. It gives error on line: from caffe2.python import workspace
. Even though I have workspace on pytorch/caffe2/python/workspace
. Please guide if there is anything else I need to do?
Asked
Active
Viewed 1,051 times
0

Igniter
- 565
- 1
- 4
- 13
1 Answers
0
Please enable BUILD_CAFFE2 while building PyTorch from source if not already done.

Deepali Chourasia
- 41
- 2
-
I've already built pytorch from source. How can I enable BUILD_CAFFE2 at this point?? – Igniter Oct 04 '22 at 14:51