Skip to content

Commit 6a60bfb

Browse files
csutertensorflower-gardener
authored andcommitted
Disable 'strict_deps' BUILD flag on export (unsupported by old bazel)
PiperOrigin-RevId: 862342297
1 parent 01a52b9 commit 6a60bfb

File tree

42 files changed

+216
-216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+216
-216
lines changed

discussion/neutra/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ package(default_applicable_licenses = ["//tensorflow_probability:license"])
2525
py_library(
2626
name = "neutra",
2727
srcs = ["__init__.py"],
28-
strict_deps = False,
28+
# strict_deps = False, # DisableOnExport
2929
deps = [
3030
":neutra_kernel",
3131
],
@@ -34,7 +34,7 @@ py_library(
3434
py_library(
3535
name = "neutra_kernel",
3636
srcs = ["neutra_kernel.py"],
37-
strict_deps = False,
37+
# strict_deps = False, # DisableOnExport
3838
deps = [
3939
# numpy dep,
4040
# tensorflow dep,

discussion/turnkey_inference_candidate/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ package(default_applicable_licenses = ["//tensorflow_probability:license"])
2525
py_library(
2626
name = "turnkey_inference_candidate",
2727
srcs = ["__init__.py"],
28-
strict_deps = False,
28+
# strict_deps = False, # DisableOnExport
2929
deps = [
3030
":window_tune_nuts_sampling",
3131
],
@@ -34,7 +34,7 @@ py_library(
3434
py_library(
3535
name = "window_tune_nuts_sampling",
3636
srcs = ["window_tune_nuts_sampling.py"],
37-
strict_deps = False,
37+
# strict_deps = False, # DisableOnExport
3838
deps = [
3939
# numpy dep,
4040
# tensorflow dep,

spinoffs/autobnn/autobnn/BUILD

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ package(
2727
py_library(
2828
name = "autobnn.jax",
2929
srcs = ["__init__.py"],
30-
strict_deps = False,
30+
# strict_deps = False, # DisableOnExport
3131
deps = [
3232
":bnn",
3333
":bnn_tree",
@@ -45,7 +45,7 @@ py_library(
4545
py_library(
4646
name = "bnn",
4747
srcs = ["bnn.py"],
48-
strict_deps = False,
48+
# strict_deps = False, # DisableOnExport
4949
deps = [
5050
":likelihoods",
5151
# flax:core dep,
@@ -72,7 +72,7 @@ py_test(
7272
py_library(
7373
name = "bnn_tree",
7474
srcs = ["bnn_tree.py"],
75-
strict_deps = False,
75+
# strict_deps = False, # DisableOnExport
7676
deps = [
7777
":bnn",
7878
":kernels",
@@ -102,7 +102,7 @@ py_test(
102102
py_library(
103103
name = "estimators",
104104
srcs = ["estimators.py"],
105-
strict_deps = False,
105+
# strict_deps = False, # DisableOnExport
106106
deps = [
107107
":bnn",
108108
":likelihoods",
@@ -130,7 +130,7 @@ py_test(
130130
py_library(
131131
name = "kernels",
132132
srcs = ["kernels.py"],
133-
strict_deps = False,
133+
# strict_deps = False, # DisableOnExport
134134
deps = [
135135
":bnn",
136136
# flax dep,
@@ -160,7 +160,7 @@ py_test(
160160
py_library(
161161
name = "likelihoods",
162162
srcs = ["likelihoods.py"],
163-
strict_deps = False,
163+
# strict_deps = False, # DisableOnExport
164164
deps = [
165165
# flax:core dep,
166166
# jax dep,
@@ -190,7 +190,7 @@ py_test(
190190
py_library(
191191
name = "models",
192192
srcs = ["models.py"],
193-
strict_deps = False,
193+
# strict_deps = False, # DisableOnExport
194194
deps = [
195195
":bnn",
196196
":bnn_tree",
@@ -219,7 +219,7 @@ py_test(
219219
py_library(
220220
name = "operators",
221221
srcs = ["operators.py"],
222-
strict_deps = False,
222+
# strict_deps = False, # DisableOnExport
223223
deps = [
224224
":bnn",
225225
":likelihoods",
@@ -258,7 +258,7 @@ py_test(
258258
py_library(
259259
name = "training_util",
260260
srcs = ["training_util.py"],
261-
strict_deps = False,
261+
# strict_deps = False, # DisableOnExport
262262
deps = [
263263
":bnn",
264264
":util",
@@ -292,7 +292,7 @@ py_test(
292292
py_library(
293293
name = "util",
294294
srcs = ["util.py"],
295-
strict_deps = False,
295+
# strict_deps = False, # DisableOnExport
296296
deps = [
297297
":bnn",
298298
# jax dep,

spinoffs/fun_mc/fun_mc/dynamic/backend_jax/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ package(
2626
py_library(
2727
name = "backend_jax",
2828
srcs = ["__init__.py"],
29-
strict_deps = False,
29+
# strict_deps = False, # DisableOnExport
3030
)
3131

3232
py_library(
3333
name = "util",
3434
srcs = ["util.py"],
35-
strict_deps = False,
35+
# strict_deps = False, # DisableOnExport
3636
deps = [
3737
# jaxtyping dep,
3838
# numpy dep,
@@ -42,7 +42,7 @@ py_library(
4242
py_library(
4343
name = "backend",
4444
srcs = ["backend.py"],
45-
strict_deps = False,
45+
# strict_deps = False, # DisableOnExport
4646
deps = [
4747
":util",
4848
],

spinoffs/fun_mc/fun_mc/dynamic/backend_tensorflow/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ package(
2626
py_library(
2727
name = "util",
2828
srcs = ["util.py"],
29-
strict_deps = False,
29+
# strict_deps = False, # DisableOnExport
3030
deps = [
3131
# numpy dep,
3232
],
@@ -35,7 +35,7 @@ py_library(
3535
py_library(
3636
name = "backend",
3737
srcs = ["backend.py"],
38-
strict_deps = False,
38+
# strict_deps = False, # DisableOnExport
3939
deps = [
4040
":util",
4141
],

spinoffs/inference_gym/inference_gym/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ py_library(
4242
py_library(
4343
name = "using_numpy",
4444
srcs = ["using_numpy.py"],
45-
strict_deps = False,
45+
# strict_deps = False, # DisableOnExport
4646
visibility = ["//visibility:public"],
4747
deps = [
4848
":backend_numpy",
@@ -55,7 +55,7 @@ py_library(
5555
py_library(
5656
name = "using_jax",
5757
srcs = ["using_jax.py"],
58-
strict_deps = False,
58+
# strict_deps = False, # DisableOnExport
5959
visibility = ["//visibility:public"],
6060
deps = [
6161
":backend_jax",
@@ -69,7 +69,7 @@ py_library(
6969
py_library(
7070
name = "using_tensorflow",
7171
srcs = ["using_tensorflow.py"],
72-
strict_deps = False,
72+
# strict_deps = False, # DisableOnExport
7373
visibility = ["//visibility:public"],
7474
deps = [
7575
":backend_tensorflow",

spinoffs/inference_gym/inference_gym/internal/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ py_test(
6161
py_library(
6262
name = "data",
6363
srcs = ["data.py"],
64-
strict_deps = False,
64+
# strict_deps = False, # DisableOnExport
6565
deps = [
6666
# numpy dep,
6767
"//inference_gym/internal/datasets",

spinoffs/inference_gym/inference_gym/targets/BUILD

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ py_library(
6262
py_library(
6363
name = "banana",
6464
srcs = ["banana.py"],
65-
strict_deps = False,
65+
# strict_deps = False, # DisableOnExport
6666
deps = [
6767
":model",
6868
# absl/testing:parameterized dep,
@@ -86,7 +86,7 @@ py_test(
8686
py_library(
8787
name = "bayesian_model",
8888
srcs = ["bayesian_model.py"],
89-
strict_deps = False,
89+
# strict_deps = False, # DisableOnExport
9090
deps = [
9191
":model",
9292
"//inference_gym/internal:ground_truth_encoding",
@@ -110,7 +110,7 @@ py_test(
110110
py_library(
111111
name = "brownian_motion",
112112
srcs = ["brownian_motion.py"],
113-
strict_deps = False,
113+
# strict_deps = False, # DisableOnExport
114114
deps = [
115115
":bayesian_model",
116116
":model",
@@ -139,7 +139,7 @@ py_test(
139139
py_library(
140140
name = "dirichlet",
141141
srcs = ["dirichlet.py"],
142-
strict_deps = False,
142+
# strict_deps = False, # DisableOnExport
143143
deps = [
144144
":model",
145145
"//tensorflow_probability:numpy",
@@ -163,7 +163,7 @@ py_test(
163163
py_library(
164164
name = "eight_schools",
165165
srcs = ["eight_schools.py"],
166-
strict_deps = False,
166+
# strict_deps = False, # DisableOnExport
167167
deps = [
168168
":model",
169169
# numpy dep,
@@ -187,7 +187,7 @@ py_test(
187187
py_library(
188188
name = "ill_conditioned_gaussian",
189189
srcs = ["ill_conditioned_gaussian.py"],
190-
strict_deps = False,
190+
# strict_deps = False, # DisableOnExport
191191
deps = [
192192
":model",
193193
# numpy dep,
@@ -210,7 +210,7 @@ py_test(
210210
py_library(
211211
name = "item_response_theory",
212212
srcs = ["item_response_theory.py"],
213-
strict_deps = False,
213+
# strict_deps = False, # DisableOnExport
214214
deps = [
215215
":bayesian_model",
216216
":model",
@@ -238,7 +238,7 @@ py_test(
238238
py_library(
239239
name = "log_gaussian_cox_process",
240240
srcs = ["log_gaussian_cox_process.py"],
241-
strict_deps = False,
241+
# strict_deps = False, # DisableOnExport
242242
deps = [
243243
":bayesian_model",
244244
":model",
@@ -267,7 +267,7 @@ py_test(
267267
py_library(
268268
name = "logistic_regression",
269269
srcs = ["logistic_regression.py"],
270-
strict_deps = False,
270+
# strict_deps = False, # DisableOnExport
271271
deps = [
272272
":bayesian_model",
273273
":model",
@@ -295,7 +295,7 @@ py_test(
295295
py_library(
296296
name = "lorenz_system",
297297
srcs = ["lorenz_system.py"],
298-
strict_deps = False,
298+
# strict_deps = False, # DisableOnExport
299299
deps = [
300300
":bayesian_model",
301301
":model",
@@ -325,7 +325,7 @@ py_test(
325325
py_library(
326326
name = "model",
327327
srcs = ["model.py"],
328-
strict_deps = False,
328+
# strict_deps = False, # DisableOnExport
329329
deps = [
330330
"//inference_gym/internal:ground_truth_encoding",
331331
],
@@ -348,7 +348,7 @@ py_test(
348348
py_library(
349349
name = "neals_funnel",
350350
srcs = ["neals_funnel.py"],
351-
strict_deps = False,
351+
# strict_deps = False, # DisableOnExport
352352
deps = [
353353
":model",
354354
# numpy dep,
@@ -371,7 +371,7 @@ py_test(
371371
py_library(
372372
name = "non_identifiable_quartic",
373373
srcs = ["non_identifiable_quartic.py"],
374-
strict_deps = False,
374+
# strict_deps = False, # DisableOnExport
375375
deps = [
376376
":bayesian_model",
377377
":model",
@@ -394,7 +394,7 @@ py_test(
394394
py_library(
395395
name = "plasma_spectroscopy",
396396
srcs = ["plasma_spectroscopy.py"],
397-
strict_deps = False,
397+
# strict_deps = False, # DisableOnExport
398398
deps = [
399399
":bayesian_model",
400400
":model",
@@ -420,7 +420,7 @@ py_test(
420420
py_library(
421421
name = "probit_regression",
422422
srcs = ["probit_regression.py"],
423-
strict_deps = False,
423+
# strict_deps = False, # DisableOnExport
424424
deps = [
425425
":bayesian_model",
426426
":model",
@@ -448,7 +448,7 @@ py_test(
448448
py_library(
449449
name = "radon_contextual_effects",
450450
srcs = ["radon_contextual_effects.py"],
451-
strict_deps = False,
451+
# strict_deps = False, # DisableOnExport
452452
deps = [
453453
":bayesian_model",
454454
":model",
@@ -479,7 +479,7 @@ py_test(
479479
py_library(
480480
name = "sparse_logistic_regression",
481481
srcs = ["sparse_logistic_regression.py"],
482-
strict_deps = False,
482+
# strict_deps = False, # DisableOnExport
483483
deps = [
484484
":bayesian_model",
485485
":model",
@@ -507,7 +507,7 @@ py_test(
507507
py_library(
508508
name = "stochastic_volatility",
509509
srcs = ["stochastic_volatility.py"],
510-
strict_deps = False,
510+
# strict_deps = False, # DisableOnExport
511511
deps = [
512512
":bayesian_model",
513513
":model",
@@ -536,7 +536,7 @@ py_test(
536536
py_library(
537537
name = "vector_model",
538538
srcs = ["vector_model.py"],
539-
strict_deps = False,
539+
# strict_deps = False, # DisableOnExport
540540
deps = [
541541
":model",
542542
],
@@ -560,7 +560,7 @@ py_test(
560560
py_library(
561561
name = "vectorized_stochastic_volatility",
562562
srcs = ["vectorized_stochastic_volatility.py"],
563-
strict_deps = False,
563+
# strict_deps = False, # DisableOnExport
564564
deps = [
565565
":bayesian_model",
566566
":model",

0 commit comments

Comments
 (0)