robinhad commited on
Commit
69306c5
1 Parent(s): 285bf0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -9,7 +9,9 @@ if is_available():
9
  device_map="auto",
10
  )
11
  else:
12
- options = {}
 
 
13
 
14
  tokenizer = LlamaTokenizer.from_pretrained("openlm-research/open_llama_7b")
15
  model = LlamaForCausalLM.from_pretrained(
 
9
  device_map="auto",
10
  )
11
  else:
12
+ options = {
13
+ "low_cpu_mem_usage": True
14
+ }
15
 
16
  tokenizer = LlamaTokenizer.from_pretrained("openlm-research/open_llama_7b")
17
  model = LlamaForCausalLM.from_pretrained(