Srikesh commited on
Commit
0983622
·
verified ·
1 Parent(s): cc6595c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -41,6 +41,7 @@ def initialize_models():
41
  model = AutoModelForCausalLM.from_pretrained(
42
  model_name,
43
  torch_dtype=torch.float32,
 
44
  trust_remote_code=True
45
  )
46
 
 
41
  model = AutoModelForCausalLM.from_pretrained(
42
  model_name,
43
  torch_dtype=torch.float32,
44
+ low_cpu_mem_usage=True,
45
  trust_remote_code=True
46
  )
47