mirror of
https://github.com/facebookresearch/blt.git
synced 2025-09-01 10:09:06 +00:00
remove selective activation checkpointing
This commit is contained in:
parent
1e78a49bf0
commit
76fbba72b2
1 changed files with 0 additions and 4 deletions
|
@ -531,10 +531,6 @@ def parallelize_model(
|
||||||
for i in range(len(module.layers)):
|
for i in range(len(module.layers)):
|
||||||
module.layers[i] = checkpoint_wrapper(
|
module.layers[i] = checkpoint_wrapper(
|
||||||
module.layers[i],
|
module.layers[i],
|
||||||
context_fn=partial(
|
|
||||||
create_selective_checkpoint_contexts,
|
|
||||||
get_default_policy(no_recompute_ops),
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if distributed_args.compile:
|
if distributed_args.compile:
|
||||||
|
|
Loading…
Add table
Reference in a new issue