0x7o commited on
Commit
4becd74
1 Parent(s): 82665ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_id)
10
  model = AutoModelForCausalLM.from_pretrained(
11
  model_id,
12
  device_map="auto",
13
- torch_dtype=torch.bfloat16,
14
  )
15
 
16
  @spaces.GPU
 
10
  model = AutoModelForCausalLM.from_pretrained(
11
  model_id,
12
  device_map="auto",
13
+ load_in_8bit=True
14
  )
15
 
16
  @spaces.GPU