mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Add back low_cpu_mem_usage=True
Removing it didn't help with anything, so I am adding it bad on a purely superstiticious basis.
This commit is contained in:
parent
d4a0b377ab
commit
119be56390
@ -88,7 +88,7 @@ def load_model(model_name):
|
|||||||
# Custom
|
# Custom
|
||||||
else:
|
else:
|
||||||
command = "AutoModelForCausalLM.from_pretrained"
|
command = "AutoModelForCausalLM.from_pretrained"
|
||||||
settings = []
|
settings = ["low_cpu_mem_usage=True"]
|
||||||
|
|
||||||
if args.cpu:
|
if args.cpu:
|
||||||
settings.append("low_cpu_mem_usage=True")
|
settings.append("low_cpu_mem_usage=True")
|
||||||
|
Loading…
Reference in New Issue
Block a user