[checkpoint] add ColoOptimizer checkpointing (#1316)

This commit is contained in:
Jiarui Fang
2022-07-15 09:52:55 +08:00
committed by GitHub
parent 7c2634f4b3
commit 9e4c6449b0
3 changed files with 74 additions and 15 deletions

View File

@@ -1,6 +1,3 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
import torch
import torch.nn as nn
from torch import Tensor