remove selective activation checkpointing ()

Co-authored-by: Srini Iyer <sviyer@meta.com>
This commit is contained in:
Srinivasan Iyer 2025-04-07 19:20:41 -07:00 committed by GitHub
parent 1e78a49bf0
commit 8c1b1a78bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -531,10 +531,6 @@ def parallelize_model(
for i in range(len(module.layers)):
module.layers[i] = checkpoint_wrapper(
module.layers[i],
context_fn=partial(
create_selective_checkpoint_contexts,
get_default_policy(no_recompute_ops),
),
)
if distributed_args.compile: