Skip to content

Commit 3b93e45

Browse files
andyl7anThe Meridian Authors
authored andcommitted
Update TensorFlow Probability dependency to tfp-nightly.
PiperOrigin-RevId: 875794368
1 parent ce806e9 commit 3b93e45

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

meridian/schema/processors/reach_frequency_optimization_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def _create_frequency_outcome_grid(
447447
aggregated_reach = backend.einsum(
448448
f"{input_tensor_dims}->...{output_tensor_dims}", filtered_reach
449449
)
450-
reach = aggregated_reach.numpy()[-1]
450+
reach = np.asarray(aggregated_reach)[-1]
451451

452452
metric_data_array = optimal_frequency_dataset[constants.ROI].sel(
453453
frequency=frequency, rf_channel=channel

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies = [
3535
"scipy >= 1.13.1, < 2",
3636
"statsmodels >= 0.14.5",
3737
"tensorflow >= 2.18, < 2.21",
38-
"tensorflow-probability >= 0.25, < 0.26",
38+
"tfp-nightly == 0.26.0.dev20260130",
3939
"tf-keras >= 2.18, < 2.21",
4040
"xarray",
4141
]
@@ -74,9 +74,9 @@ mlflow = ["mlflow"]
7474
# JAX backend dependencies.
7575
# Installed through `pip install -e .[jax]`
7676
jax = [
77-
"jax==0.5.3",
78-
"jaxlib==0.5.3",
79-
"tensorflow-probability[substrates-jax]==0.25.0",
77+
"jax >= 0.6.2, <= 0.7.2",
78+
"jaxlib >= 0.6.2, <= 0.7.2",
79+
"tfp-nightly[substrates-jax]==0.26.0.dev20260130",
8080
]
8181
# MMM proto schema.
8282
schema = [

0 commit comments

Comments
 (0)