mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-21 17:40:33 +00:00
[example] fix redundant note (#3065)
This commit is contained in:
@@ -178,8 +178,6 @@ def main():
|
|||||||
|
|
||||||
# build model
|
# build model
|
||||||
if args.model_name_or_path is None:
|
if args.model_name_or_path is None:
|
||||||
# currently, there has a bug in pretrained opt-13b
|
|
||||||
# we can not import it until huggingface fix it
|
|
||||||
logger.info("Train a new model from scratch", ranks=[0])
|
logger.info("Train a new model from scratch", ranks=[0])
|
||||||
with ColoInitContext(device=init_dev, dtype=torch.half,
|
with ColoInitContext(device=init_dev, dtype=torch.half,
|
||||||
default_dist_spec=default_dist_spec,
|
default_dist_spec=default_dist_spec,
|
||||||
|
Reference in New Issue
Block a user