Akjava commited on
Commit
3f30de8
·
verified ·
1 Parent(s): 2c6942f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def init():
18
  model_id = "Qwen/Qwen2-0.5B-Instruct"
19
 
20
  device = "auto" # torch.device("cuda" if torch.cuda.is_available() else "cpu")
21
- device = "cuda"
22
  dtype = torch.bfloat16
23
 
24
  tokenizer = AutoTokenizer.from_pretrained(model_id, token=huggingface_token)
 
18
  model_id = "Qwen/Qwen2-0.5B-Instruct"
19
 
20
  device = "auto" # torch.device("cuda" if torch.cuda.is_available() else "cpu")
21
+ #device = "cuda"
22
  dtype = torch.bfloat16
23
 
24
  tokenizer = AutoTokenizer.from_pretrained(model_id, token=huggingface_token)