[TFRT] Register OpHandler for all CPU devices.

This enables EagerOpHandlerSelector to select the correct requested CPU device, example:

with ops.device('CPU:1')
  some_op()

disable a test for TFRT which is falsely passing before.

PiperOrigin-RevId: 356854011
Change-Id: I5e8d7b98570b9ef00ab51644744b567a62ed1e84
This commit is contained in:
Chuanhao Zhuge 2021-02-10 16:27:17 -08:00 committed by TensorFlower Gardener
parent d99168f592
commit 84f074f68d

View File

@ -146,6 +146,9 @@ tf_py_test(
size = "medium",
srcs = ["autocast_variable_test.py"],
python_version = "PY3",
tags = [
"no_tfrt", # TODO(b/179863362)
],
deps = [
":autocast_variable",
"//tensorflow/python:client_testlib",