remove selective activation checkpointing

This commit is contained in:
Srini Iyer 2025-04-08 00:32:48 +00:00
parent 1e78a49bf0
commit 76fbba72b2

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: