Skip to content

Commit

Permalink
Fix linting (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
mawong-amd authored Jun 25, 2024
1 parent 3e7b0b6 commit 3200953
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vllm/distributed/device_communicators/custom_all_reduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ def _is_full_nvlink(device_ids: List[int], world_size) -> bool:
if link_type["hops"] != 1 or link_type["type"] != 2:
return False
except AmdSmiException as error:
logger.error(
"AMD link detection failed.",
exc_info=error)
logger.error("AMD link detection failed.",
exc_info=error)
return False
else:
handles = [pynvml.nvmlDeviceGetHandleByIndex(i) for i in device_ids]
Expand Down

0 comments on commit 3200953

Please sign in to comment.