If I add pybind11_bazel to my WORKSPACE, the error becomes:
no such package 'tools/config': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package: /home/usr_name/projects/tools/config
It seems that bazel is trying to resolve dependency from my local workspace instead of pytorch’s remote workspace.