diff --git a/WORKSPACE b/WORKSPACE index 2edf2be524aa..f259c9741f4c 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,12 +42,6 @@ new_local_repository( path = PYTORCH_LOCAL_DIR, ) -new_local_repository( - name = "fmt", - build_file = "//bazel:fmt.BUILD", - path = PYTORCH_LOCAL_DIR + "/third_party/fmt", -) - ############################# OpenXLA Setup ############################### # To build PyTorch/XLA with a new revison of OpenXLA, update the xla_hash to diff --git a/bazel/fmt.BUILD b/bazel/fmt.BUILD deleted file mode 100644 index ea8c566b98a5..000000000000 --- a/bazel/fmt.BUILD +++ /dev/null @@ -1,9 +0,0 @@ -load("@rules_cc//cc:defs.bzl", "cc_library") - -cc_library( - name = "fmt", - hdrs = glob(["include/fmt/*.h",]), - defines = ["FMT_HEADER_ONLY=1"], - includes = ["include"], - visibility = ["//visibility:public"], -) diff --git a/bazel/torch.BUILD b/bazel/torch.BUILD index cfbd620e0777..afc6bb57af9e 100644 --- a/bazel/torch.BUILD +++ b/bazel/torch.BUILD @@ -10,9 +10,6 @@ cc_library( ["torch/include/**/*.h"], ["torch/include/google/protobuf/**/*.h"], ), - deps = [ - "@fmt", - ], strip_include_prefix = "torch/include", )