Former-commit-id: ec15ca8fffacba2c34e1849c5ce90ca9989d66a2
This commit is contained in:
hiyouga
2023-08-14 00:23:56 +08:00
parent cdd959aeab
commit 0366115d29
2 changed files with 10 additions and 7 deletions

View File

@@ -63,6 +63,7 @@ def can_quantize(finetuning_type: str) -> Dict[str, Any]:
def gen_cmd(args: Dict[str, Any]) -> str:
args["plot_loss"] = True
cmd_lines = ["CUDA_VISIBLE_DEVICES=0 python "]
for k, v in args.items():
if v is not None and v != "":