shreekantkalwar commited on
Commit
0cde2a5
·
1 Parent(s): cf685ca
Files changed (1) hide show
  1. embedding_model_instance.py +3 -3
embedding_model_instance.py CHANGED
@@ -11,9 +11,9 @@ EMBEDDING_MODEL_LARGE = "BAAI/bge-large-en-v1.5"
11
 
12
  #EMBEDDING_MODEL = "all-MiniLM-L6-v2"
13
 
14
- print(torch.cuda.get_device_name(0))
15
- print("CUDA available:", torch.cuda.is_available())
16
- print("Current device:", torch.cuda.current_device())
17
 
18
  device = "cuda" if torch.cuda.is_available() else "cpu"
19
  print(f"Using device: {device}")
 
11
 
12
  #EMBEDDING_MODEL = "all-MiniLM-L6-v2"
13
 
14
+ # print(torch.cuda.get_device_name(0))
15
+ # print("CUDA available:", torch.cuda.is_available())
16
+ # print("Current device:", torch.cuda.current_device())
17
 
18
  device = "cuda" if torch.cuda.is_available() else "cpu"
19
  print(f"Using device: {device}")