mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-03 18:19:58 +00:00
[bug] fix get_default_parser in examples (#4764)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import colossalai
|
||||
import argparse
|
||||
|
||||
__all__ = ["parse_args"]
|
||||
|
||||
|
||||
def parse_args():
|
||||
parser = colossalai.get_default_parser()
|
||||
parser = argparse.ArgumentParser()
|
||||
|
||||
parser.add_argument(
|
||||
"--distplan",
|
||||
|
Reference in New Issue
Block a user