Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,8 @@ def tensor_need_offloading_checker(self, tensor):
# Respect tensor's offload preference if specified
if hasattr(tensor, "offloading_activation") and not tensor.offloading_activation:
return False
if getattr(tensor, "_TE_do_not_offload", False):
return False
return True

def bulk_offload_group(self):
Expand Down
Loading