pyakhurel commited on
Commit
6721da1
·
1 Parent(s): 1f94b56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ model_name = "bn22/Mistral-7B-Instruct-v0.1-sharded"
10
  device = "cuda"
11
 
12
  bnb_config = transformers.BitsAndBytesConfig(
13
- load_in_4bit=True,
14
  bnb_4bit_use_double_quant=True,
15
  bnb_4bit_quant_type="nf4",
16
  bnb_4bit_compute_dtype=torch.bfloat16
 
10
  device = "cuda"
11
 
12
  bnb_config = transformers.BitsAndBytesConfig(
13
+ load_in_8bit=True
14
  bnb_4bit_use_double_quant=True,
15
  bnb_4bit_quant_type="nf4",
16
  bnb_4bit_compute_dtype=torch.bfloat16