This commit is contained in:
hiyouga
2023-08-14 00:23:56 +08:00
parent d69b1388e6
commit 2f2fd55d81
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 != "":