Fix no-mmap bug

This commit is contained in:
oobabooga 2023-05-16 17:35:49 -03:00
parent 89e37626ab
commit 5cd6dd4287
2 changed files with 2 additions and 2 deletions

View file

@ -369,7 +369,7 @@ def create_model_menus():
shared.gradio['n_gpu_layers'] = gr.Slider(label="n-gpu-layers", minimum=0, maximum=128, value=shared.args.n_gpu_layers)
with gr.Column():
shared.gradio['no-mmap'] = gr.Checkbox(label="no-mmap", value=shared.args.no_mmap)
shared.gradio['no_mmap'] = gr.Checkbox(label="no-mmap", value=shared.args.no_mmap)
shared.gradio['mlock'] = gr.Checkbox(label="mlock", value=shared.args.mlock)
with gr.Row():