Skip to content

Commit a26f4cb

Browse files
AdamHilliertensorflower-gardener
authored andcommitted
Strip tensorflow_no_contrib from Jax substrate deps.
PiperOrigin-RevId: 814328384
1 parent 9579145 commit a26f4cb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tensorflow_probability/python/build_defs.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ def multi_substrate_py_library(
216216
remove_deps = [
217217
"//third_party/py/tensorflow",
218218
"//third_party/py/tensorflow:tensorflow",
219+
"//third_party/py/tensorflow:tensorflow_no_contrib",
219220
"//tensorflow_probability/python/internal:tf_keras",
220221
]
221222

@@ -342,6 +343,7 @@ def multi_substrate_py_test(
342343
remove_deps = [
343344
"//third_party/py/tensorflow",
344345
"//third_party/py/tensorflow:tensorflow",
346+
"//third_party/py/tensorflow:tensorflow_no_contrib",
345347
"//tensorflow_probability/python/internal:tf_keras",
346348
]
347349

tensorflow_probability/substrates/meta/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ py_test(
3232
srcs = ["numpy_integration_test.py"],
3333
tags = ["tfp_numpy"],
3434
deps = [
35+
# absl/testing:absltest dep,
3536
"//tensorflow_probability/substrates:numpy",
3637
],
3738
)
@@ -41,6 +42,7 @@ py_test(
4142
srcs = ["jax_integration_test.py"],
4243
tags = ["tfp_jax"],
4344
deps = [
45+
# absl/testing:absltest dep,
4446
# jax dep,
4547
"//tensorflow_probability/substrates:jax",
4648
],

0 commit comments

Comments
 (0)