K446 commited on
Commit
8cdf625
·
1 Parent(s): 7299ddc

fix: total_memory attribute name

Browse files
Files changed (1) hide show
  1. run_training.py +1 -1
run_training.py CHANGED
@@ -24,7 +24,7 @@ def run_grpo_training():
24
 
25
  if torch.cuda.is_available():
26
  print(f"GPU: {torch.cuda.get_device_name(0)}")
27
- print(f"VRAM: {torch.cuda.get_device_properties(0).total_mem / 1e9:.1f} GB")
28
  else:
29
  print("WARNING: No GPU detected — training will be very slow!")
30
 
 
24
 
25
  if torch.cuda.is_available():
26
  print(f"GPU: {torch.cuda.get_device_name(0)}")
27
+ print(f"VRAM: {torch.cuda.get_device_properties(0).total_memory / 1e9:.1f} GB")
28
  else:
29
  print("WARNING: No GPU detected — training will be very slow!")
30