Creating file /Users/mikekg/pytext/pytext/docs/source/modules/modules.rst.
WARNING:root:This caffe2 python run failed to load cuda module:No module named 'caffe2.python.caffe2_pybind11_state_gpu',and AMD hip module:No module named 'caffe2.python.caffe2_pybind11_state_hip'.Will run in CPU only mode.
Install apex from https://github.com/NVIDIA/apex/.
Exception occurred:
File "/Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/init.py", line 10, in
from torchcsprng._C import *
ImportError: dlopen(/Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/_C.cpython-37m-darwin.so, 2): Symbol not found: __ZN3c104impl23ExcludeDispatchKeyGuardC1ENS_11DispatchKeyE
Referenced from: /Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/_C.cpython-37m-darwin.so
Expected in: /Users/mikekg/Library/Python/3.7/lib/python/site-packages/caffe2/python/../../torch/lib/libc10.dylib
in /Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/_C.cpython-37m-darwin.so
The full traceback has been saved in /var/folders/_4/5prdm06n7_xcqvmrxj4gt69m0000gn/T/sphinx-err-kx0fy1j6.log, if you want to report the issue to the developers.
I've been following the instructions for building pytext documentation with Python3.7 (and 3.8) on a Mac (Catalina 10.15.6) at https://pytext.readthedocs.io/en/master/hacking_pytext.html#creating-documentation and I'm running into the following error during "make html"
Creating file /Users/mikekg/pytext/pytext/docs/source/modules/modules.rst. WARNING:root:This caffe2 python run failed to load cuda module:No module named 'caffe2.python.caffe2_pybind11_state_gpu',and AMD hip module:No module named 'caffe2.python.caffe2_pybind11_state_hip'.Will run in CPU only mode. Install apex from https://github.com/NVIDIA/apex/.
Exception occurred: File "/Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/init.py", line 10, in
from torchcsprng._C import *
ImportError: dlopen(/Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/_C.cpython-37m-darwin.so, 2): Symbol not found: __ZN3c104impl23ExcludeDispatchKeyGuardC1ENS_11DispatchKeyE
Referenced from: /Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/_C.cpython-37m-darwin.so
Expected in: /Users/mikekg/Library/Python/3.7/lib/python/site-packages/caffe2/python/../../torch/lib/libc10.dylib
in /Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/_C.cpython-37m-darwin.so
The full traceback has been saved in /var/folders/_4/5prdm06n7_xcqvmrxj4gt69m0000gn/T/sphinx-err-kx0fy1j6.log, if you want to report the issue to the developers.