mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-29 19:09:32 +01: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