mirror of https://github.com/hpcaitech/ColossalAI
fix CheckpointIndexFile is not defined (#4109)
parent
09fe9dc704
commit
7e46bc87b6
|
@ -11,6 +11,7 @@ import torch.nn as nn
|
|||
from torch.optim import Optimizer
|
||||
|
||||
from colossalai.tensor.d_tensor.d_tensor import DTensor
|
||||
from .index_file import CheckpointIndexFile
|
||||
|
||||
SAFE_WEIGHTS_NAME = "model.safetensors"
|
||||
WEIGHTS_NAME = "pytorch_model.bin"
|
||||
|
|
Loading…
Reference in New Issue