TensorPlay
API symbolsutils
Copy
View MarkdownDownload .md

tensorplay.utils.checkpoint.checkpoint_sequential

tensorplay.utils.checkpoint.checkpoint_sequential(function: Callable[[...], Any], chunks: int, *args: Any, **kwargs: Any) Any[source]

torch.utils.checkpoint.checkpoint_sequential compatibility.

With chunks segments the sequential would be evaluated in chunks with recomputation; TensorPlay runs it as one eager segment.

Ask DeepWiki