From e186d6f545483be6faea7217d1c92a2dae1d3efe Mon Sep 17 00:00:00 2001 From: Yingda Chen Date: Mon, 25 Nov 2024 16:11:34 +0800 Subject: [PATCH] fix typo --- modelscope/cli/llamafile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modelscope/cli/llamafile.py b/modelscope/cli/llamafile.py index 37b9ee65..fab7a193 100644 --- a/modelscope/cli/llamafile.py +++ b/modelscope/cli/llamafile.py @@ -145,7 +145,7 @@ class LlamafileCMD(CLICommand): # if torch is not available, we will just assume gpu cannot be used pass if has_gpu: - execute_cmd = f'{execute_cmd} --ngl 999' + execute_cmd = f'{execute_cmd} -ngl 999' os.system(execute_cmd) def _rename_extension(self, original_file_name):