Skip to content

Commit bfb07b0

Browse files
FightingZhenhustmf
authored andcommitted
Alter some blank lines for clean code
1 parent 883a6bc commit bfb07b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

verl/utils/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ def is_torch_npu_available(check_device=True) -> bool:
3030
try:
3131
if not hasattr(torch, "npu"):
3232
return False
33+
3334
if check_device:
3435
return torch.npu.is_available()
3536
else:
3637
return True
37-
3838
except ImportError:
3939
return False
4040

0 commit comments

Comments
 (0)