YuryS commited on
Commit
9d99d8b
·
1 Parent(s): 1e276f9

Torch logs added

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -11,6 +11,9 @@ def _init():
11
  if _model:
12
  return
13
 
 
 
 
14
  _bnb_config = BitsAndBytesConfig(
15
  load_in_4bit=True,
16
  bnb_4bit_use_double_quant=False,
 
11
  if _model:
12
  return
13
 
14
+ print(f"Is CUDA available: {torch.cuda.is_available()}")
15
+ print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
16
+
17
  _bnb_config = BitsAndBytesConfig(
18
  load_in_4bit=True,
19
  bnb_4bit_use_double_quant=False,