This commit is contained in:
嘉渊 2023-04-25 01:12:15 +08:00
parent b9d1425028
commit c33dc9585c

View File

@ -241,6 +241,12 @@ def get_parser():
default=False,
help="Enable resuming if checkpoint is existing",
)
parser.add_argument(
"--train_dtype",
default="float32",
choices=["float16", "float32", "float64"],
help="Data type for training.",
)
parser.add_argument(
"--use_amp",
type=str2bool,