H A D | test_activation_checkpointing.py | 204 def gn(x, y): function 209 gn, torch.sin(x), y, use_reentrant=True 224 def gn(x, y): function 229 return checkpoint(gn, torch.sin(x), y, use_reentrant=True) 243 def gn(x, y): function 248 gn, torch.sin(x), y, use_reentrant=True, preserve_rng_state=False 263 def gn(x): function 271 x = torch.utils.checkpoint.checkpoint(gn, x) 272 x = torch.utils.checkpoint.checkpoint(gn, x) 288 def gn(x, y): function [all …]
|