Skip to content

Commit 62ec225

Browse files
committed
pre-commit
1 parent 99cbe15 commit 62ec225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastvideo/v1/distributed/parallel_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ def get_dp_rank() -> int:
904904
return get_dp_group().rank_in_group
905905

906906

907-
def get_torch_device() -> torch.device:
907+
def get_local_torch_device() -> torch.device:
908908
"""Return the torch device for the current rank."""
909909
return torch.device(f"cuda:{envs.LOCAL_RANK}")
910910

0 commit comments

Comments
 (0)