mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-11 05:49:55 +00:00
add ci (#2641)
This commit is contained in:
@@ -539,6 +539,8 @@ if __name__ == "__main__":
|
||||
raise ValueError("-n/--name and -r/--resume cannot be specified both."
|
||||
"If you want to resume training in a new log folder, "
|
||||
"use -n/--name in combination with --resume_from_checkpoint")
|
||||
|
||||
ckpt = None
|
||||
if opt.resume:
|
||||
rank_zero_info("Resuming from {}".format(opt.resume))
|
||||
if not os.path.exists(opt.resume):
|
||||
|
Reference in New Issue
Block a user