Skip to content

Commit

Permalink
forgot the gpu only deco
Browse files Browse the repository at this point in the history
  • Loading branch information
janeyx99 committed Nov 1, 2024
1 parent 0702ef3 commit 6f1d03f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/torchtune/training/test_activation_offloading.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def fwd(t):
loss_c.backward()


@gpu_test(gpu_count=1)
def test_offloading_works_with_view_ac_cached_buffers() -> None:
"""
Similar to test_offloading_works_with_view_outputs, but for when AC stashes
Expand Down

0 comments on commit 6f1d03f

Please sign in to comment.