artificialguybr commited on
Commit
a57bb7e
·
1 Parent(s): 2c1bcda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import copy
9
  import secrets
10
  from pathlib import Path
11
 
12
- tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen-VL-Chat-Int4")
13
  config = AutoConfig.from_pretrained("Qwen/Qwen-VL-Chat-Int4", trust_remote_code=True, torch_dtype=torch.float16)
14
  #config.quantization_config["use_exllama"] = True
15
  config.quantization_config["disable_exllama"] = False
 
9
  import secrets
10
  from pathlib import Path
11
 
12
+ tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen-VL-Chat-Int4", trust_remote_code=True)
13
  config = AutoConfig.from_pretrained("Qwen/Qwen-VL-Chat-Int4", trust_remote_code=True, torch_dtype=torch.float16)
14
  #config.quantization_config["use_exllama"] = True
15
  config.quantization_config["disable_exllama"] = False