Skip to content

Commit 1224531

Browse files
committed
Revert "implement XLAHooks and register it to PyTorch when loaded."
This reverts commit 79d4b42.
1 parent 914d708 commit 1224531

File tree

3 files changed

+0
-158
lines changed

3 files changed

+0
-158
lines changed

torch_xla/csrc/BUILD

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ ptxla_cc_library(
270270
":status",
271271
":tensor",
272272
":version",
273-
":xla_hooks",
274273
"//torch_xla/csrc/runtime",
275274
"//torch_xla/csrc/runtime:pjrt_computation_client",
276275
"//torch_xla/csrc/runtime:metrics",
@@ -375,21 +374,3 @@ cc_library(
375374
"@com_google_absl//absl/status:statusor",
376375
],
377376
)
378-
379-
ptxla_cc_library(
380-
name = "xla_hooks",
381-
srcs = [
382-
"xla_hooks.cpp",
383-
],
384-
hdrs = [
385-
"xla_hooks.h",
386-
],
387-
deps = [
388-
"//torch_xla/csrc:device",
389-
"//torch_xla/csrc:tensor",
390-
"//torch_xla/csrc/runtime:computation_client",
391-
"//torch_xla/csrc/runtime",
392-
"//torch_xla/csrc/runtime:xla_util",
393-
],
394-
)
395-

torch_xla/csrc/xla_hooks.cpp

Lines changed: 0 additions & 99 deletions
This file was deleted.

torch_xla/csrc/xla_hooks.h

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)