mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-10 13:30:19 +00:00
[hotfix] fix typo s/get_defualt_parser /get_default_parser (#5548)
This commit is contained in:
@@ -3,7 +3,7 @@ import time
|
||||
import torch
|
||||
from grok1_policy import Grok1ForCausalLMPolicy
|
||||
from transformers import AutoModelForCausalLM, AutoTokenizer
|
||||
from utils import get_defualt_parser, inference, print_output
|
||||
from utils import get_default_parser, inference, print_output
|
||||
|
||||
import colossalai
|
||||
from colossalai.booster import Booster
|
||||
@@ -13,7 +13,7 @@ from colossalai.lazy import LazyInitContext
|
||||
from colossalai.utils import get_current_device
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = get_defualt_parser()
|
||||
parser = get_default_parser()
|
||||
args = parser.parse_args()
|
||||
start = time.time()
|
||||
colossalai.launch_from_torch({})
|
||||
|
Reference in New Issue
Block a user