From f54256e34892535ff1662f7947be3a8168559167 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 3 May 2023 09:50:31 -0300 Subject: [PATCH] Rename no_mmap to no-mmap --- modules/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shared.py b/modules/shared.py index 6ee82385..ef96368f 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -122,7 +122,7 @@ parser.add_argument('--trust-remote-code', action='store_true', help="Set trust_ # llama.cpp parser.add_argument('--threads', type=int, default=0, help='Number of threads to use.') parser.add_argument('--n_batch', type=int, default=512, help='Maximum number of prompt tokens to batch together when calling llama_eval.') -parser.add_argument('--no_mmap', action='store_true', help='Prevent mmap from being used.') +parser.add_argument('--no-mmap', action='store_true', help='Prevent mmap from being used.') parser.add_argument('--mlock', action='store_true', help='Force the system to keep the model in RAM.') # GPTQ