Home
last modified time | relevance | path

Searched refs:with_checkpoint (Results 1 – 1 of 1) sorted by relevance

/external/pytorch/test/distributed/fsdp/
Dtest_fsdp_memory.py40 def __init__(self, hidden_dim, with_fsdp=False, with_checkpoint=False): argument
84 self.with_checkpoint = with_checkpoint
87 if self.with_checkpoint:
93 def create_model(with_fsdp, with_checkpoint, model_hidden_dim): argument
95 model = Model(model_hidden_dim, with_fsdp, with_checkpoint)
109 def _dist_train(self, with_checkpoint, expected, model_hidden_dim, iterations): argument
117 with_checkpoint=with_checkpoint,
168 with_fsdp=False, with_checkpoint=False, model_hidden_dim=model_hidden_dim