[TF:TensorRT] Avoid generating TensorRT tests with XLA enabled.
PiperOrigin-RevId: 294762060 Change-Id: I4d76813645422c2b5ae342dee3ce9bcb9ce7ce90
This commit is contained in:
parent
d2c0a8f130
commit
5d6a883849
@ -6,6 +6,10 @@
|
||||
load("//tensorflow:tensorflow.bzl", "cuda_py_test")
|
||||
load("//tensorflow:tensorflow.bzl", "cuda_py_tests")
|
||||
|
||||
# cuda_py_test and cuda_py_tests enable XLA tests by default. We can't
|
||||
# combine XLA with TensorRT currently and should set
|
||||
# xla_enable_strict_auto_jit to False to disable XLA tests.
|
||||
|
||||
package(
|
||||
default_visibility = ["//visibility:public"],
|
||||
licenses = ["notice"], # Apache 2.0
|
||||
@ -93,6 +97,7 @@ cuda_py_test(
|
||||
"no_windows",
|
||||
"nomac",
|
||||
],
|
||||
xla_enable_strict_auto_jit = False,
|
||||
deps = [
|
||||
":trt_convert_py",
|
||||
"//tensorflow/python:client_testlib",
|
||||
@ -142,6 +147,7 @@ cuda_py_tests(
|
||||
"no_windows",
|
||||
"nomac",
|
||||
],
|
||||
xla_enable_strict_auto_jit = False,
|
||||
deps = [
|
||||
":tf_trt_integration_test_base",
|
||||
"//tensorflow/python:client_testlib",
|
||||
@ -162,6 +168,7 @@ cuda_py_tests(
|
||||
"nomac",
|
||||
"notap", # b/140261407
|
||||
],
|
||||
xla_enable_strict_auto_jit = False,
|
||||
deps = [
|
||||
":tf_trt_integration_test_base",
|
||||
"//tensorflow/python:client_testlib",
|
||||
@ -187,6 +194,7 @@ cuda_py_test(
|
||||
"no_windows",
|
||||
"nomac",
|
||||
],
|
||||
xla_enable_strict_auto_jit = False,
|
||||
deps = [
|
||||
":tf_trt_integration_test_base",
|
||||
"//tensorflow/python:client_testlib",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user