google / nccl-fastsocket

NCCL Fast Socket is a transport layer plugin to improve NCCL collective communication performance on Google Cloud.
Other
109 stars 13 forks source link

Build error with bazel #3

Open kwen2501 opened 1 year ago

kwen2501 commented 1 year ago

Dear developers, can you please help with the following errors please? Thank you!

$ git clone https://github.com/google/nccl-fastsocket.git
$ cd nccl-fastsocket
$ bazel build :all
WARNING: Output base '/home/user/.cache/bazel/_bazel_user/1340a46a9e7502c5cf03e1a0a087e4f3' is on NFS. This may lead to surprising failures and undetermined behavior.
Starting local Bazel server and connecting to it...
ERROR: Traceback (most recent call last):
    File "/home/user/nccl/ext-net/google-fastsocket/nccl-fastsocket/BUILD", line 104, column 8, in <toplevel>
        pkg_tar(
    File "/home/user/.cache/bazel/_bazel_user/1340a46a9e7502c5cf03e1a0a087e4f3/external/rules_pkg/pkg/private/tar/tar.bzl", line 318, column 38, in pkg_tar
        private_stamp_detect = select({
Error in select: select: got Label for dict key, want a label string
ERROR: error loading package '': Package '' contains errors
INFO: Elapsed time: 3.352s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)