Skip to content

Commit

Permalink
Replace references to deprecated jax array attributes device_buffer a…
Browse files Browse the repository at this point in the history
…nd device_buffers

PiperOrigin-RevId: 588553845
  • Loading branch information
Jake VanderPlas authored and t5-copybara committed Dec 6, 2023
1 parent 1bfd2f1 commit 62c75bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t5x/trainer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 62c75bc

Please sign in to comment.