Skip to content

Commit 0dd8ba7

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

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ dependencies = [
3434
"pandas >= 2.2.2, < 3",
3535
"scipy >= 1.13.1, < 2",
3636
"statsmodels >= 0.14.5",
37-
"tensorflow >= 2.18, < 2.21",
38-
"tensorflow-probability >= 0.25, < 0.26",
37+
"tensorflow >= 2.19.0, < 2.21",
38+
"tfp-nightly == 0.26.0.dev20260130",
3939
"tf-keras >= 2.18, < 2.21",
4040
"xarray",
4141
]
@@ -66,17 +66,17 @@ colab = [
6666
# GPU deps
6767
# Installed through `pip install -e .[and-cuda]`
6868
and-cuda = [
69-
"tensorflow[and-cuda] >= 2.18, < 2.21",
69+
"tensorflow[and-cuda] >= 2.19.0, < 2.21",
7070
]
7171
# MLflow deps
7272
# Installed through `pip install -e .[mlflow]`
7373
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.7.2",
78+
"jaxlib==0.7.2",
79+
"tfp-nightly[jax]==0.26.0.dev20260130",
8080
]
8181
# MMM proto schema.
8282
schema = [

0 commit comments

Comments
 (0)