From 62c75bc90855699cd255790f8c7abfa41b9b790d Mon Sep 17 00:00:00 2001 From: Jake VanderPlas Date: Wed, 6 Dec 2023 15:01:57 -0800 Subject: [PATCH] Replace references to deprecated jax array attributes device_buffer and device_buffers PiperOrigin-RevId: 588553845 --- t5x/trainer_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t5x/trainer_test.py b/t5x/trainer_test.py index 0cd576b0b..f1a048e8d 100644 --- a/t5x/trainer_test.py +++ b/t5x/trainer_test.py @@ -175,7 +175,7 @@ def test_timer_blocking_on_donated_buffer(self): mm._duration_timer._start_future.result() # Deleted/donated. - x.device_buffer.delete() + x.addressable_data(0).delete() mm.start_duration_timer(block_on=x) mm._duration_timer._start_future.result()