Skip to content

ERROR: missing input file '@@+_repo_rules3+torch-mlir//:include/torch-mlir-dialects/Dialect/TMTensor/Transforms/PassDetail.h #4392

@ceruleangu

Description

@ceruleangu

When running bazel build on the latest commit on main, I am hitting file not found error:
missing input file '@@+_repo_rules3+torch-mlir//:include/torch-mlir-dialects/Dialect/TMTensor/Transforms/PassDetail.h'
full log:

$ bazel build @torch-mlir//:TorchMLIRInitAll --incompatible_disallow_empty_glob=False
...
ERROR: /scratch/zijingg/bazel-cache/53723a73a08f82573494b023062610fb/external/+_repo_rules3+torch-mlir/BUILD.bazel:804:11: Symlinking virtual headers for @@+_repo_rules3+torch-mlir//:TorchMLIRTMTensorPasses failed: missing input file '@@+_repo_rules3+torch-mlir//:include/torch-mlir-dialects/Dialect/TMTensor/Transforms/PassDetail.h'
ERROR: /scratch/zijingg/bazel-cache/53723a73a08f82573494b023062610fb/external/+_repo_rules3+torch-mlir/BUILD.bazel:804:11: Symlinking virtual headers for @@+_repo_rules3+torch-mlir//:TorchMLIRTMTensorPasses failed: 1 input file(s) do not exist
Target @@+_repo_rules3+torch-mlir//:TorchMLIRInitAll failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /scratch/zijingg/bazel-cache/53723a73a08f82573494b023062610fb/external/+_repo_rules3+torch-mlir/BUILD.bazel:804:11 Symlinking virtual headers for @@+_repo_rules3+torch-mlir//:TorchMLIRTMTensorPasses failed: 1 input file(s) do not exist
INFO: Elapsed time: 24.387s, Critical Path: 0.89s
INFO: 152 processes: 326 action cache hit, 152 internal.
ERROR: Build did NOT complete successfully

Looks like this commit removed the PassDetail.h. Maybe @hanhanW could you please help take a look? What could be wrong with my set up? Thanks!

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