MEOW commited on
Commit
06217aa
·
unverified ·
1 Parent(s): b928f6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,8 +32,8 @@ import torch #GPU setup environment start
32
  from transformers import AutoModel, AutoTokenizer
33
 
34
  # Check if CUDA is available and set the device
35
- device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
36
- print(f"Using device: {device}")
37
 
38
  # Load model and tokenizer
39
  model_name = "meta-llama/Llama-3.1-8B-Instruct"
 
32
  from transformers import AutoModel, AutoTokenizer
33
 
34
  # Check if CUDA is available and set the device
35
+ # device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
36
+ # print(f"Using device: {device}")
37
 
38
  # Load model and tokenizer
39
  model_name = "meta-llama/Llama-3.1-8B-Instruct"