Skip to content

fatal error: pybind11/pybind11.h: No such file or directory #155

Closed
@C24IO

Description

@C24IO
[ 82%] Building CXX object third_party/torch_ccl/third_party/oneCCL/examples/cpu/CMakeFiles/datatype.dir/datatype.cpp.o
[ 82%] Building CXX object third_party/torch_ccl/src/CMakeFiles/torch_ccl.dir/dispatch_stub.cpp.o
[ 82%] Building CXX object third_party/torch_ccl/src/CMakeFiles/torch_ccl.dir/utils.cpp.o
[ 82%] Building CXX object third_party/torch_ccl/third_party/oneCCL/examples/cpu/CMakeFiles/priority_allreduce.dir/priority_allreduce.cpp.o
Scanning dependencies of target allreduce_custom_test
In file included from /tmp/pip-req-build-ra14_dqo/third_party/torch_ccl/src/init.cpp:32:
/tmp/pip-req-build-ra14_dqo/third_party/torch_ccl/src/./init.h:34:10: fatal error: pybind11/pybind11.h: No such file or directory
   34 | #include <pybind11/pybind11.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Scanning dependencies of target allgatherv_test
make[2]: *** [third_party/torch_ccl/src/CMakeFiles/torch_ccl.dir/build.make:63: third_party/torch_ccl/src/CMakeFiles/torch_ccl.dir/init.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 82%] Building CXX object third_party/torch_ccl/third_party/oneCCL/tests/functional/CMakeFiles/allreduce_custom_test.dir/allreduce_custom_test.cpp.o
Scanning dependencies of target allreduce_test
[ 82%] Building CXX object third_party/torch_ccl/third_party/oneCCL/tests/functional/CMakeFiles/allgatherv_test.dir/allgatherv_test.cpp.o
Scanning dependencies of target alltoallv_test
Scanning dependencies of target bcast_test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions