MVPilgrim commited on
Commit
f3367d6
·
1 Parent(s): f3dd597
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -44,10 +44,10 @@ try:
44
 
45
  logger.info("###################### Program Entry ############################")
46
 
47
- logger.info("CUDA available:", torch.cuda.is_available())
48
- logger.info("CUDA device count:", torch.cuda.device_count())
49
  if torch.cuda.is_available():
50
- logger.info("CUDA device name:", torch.cuda.get_device_name(0))
51
 
52
  ##########################################################################
53
  # Asynchonously run startup.sh which run text2vec-transformers #
 
44
 
45
  logger.info("###################### Program Entry ############################")
46
 
47
+ logger.info(f"CUDA available: {torch.cuda.is_available(){")
48
+ logger.info(f"CUDA device count: {torch.cuda.device_count()}")
49
  if torch.cuda.is_available():
50
+ logger.info(f"CUDA device name: {torch.cuda.get_device_name(0)}")
51
 
52
  ##########################################################################
53
  # Asynchonously run startup.sh which run text2vec-transformers #