Skip to content

Commit

Permalink
Fix formatting issue in warning message.
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Moon <[email protected]>
Signed-off-by: Alp Dener <[email protected]>
  • Loading branch information
denera and timmoon10 authored Sep 18, 2024
1 parent 6f0076d commit 8199c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transformer_engine/pytorch/module/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def initialize_ub(
s.close()
else:
ifname_warning = (
"'%s' is not a valid network interface! `te.initialize_ub()` will attempt to "
f"'{ifname}' is not a valid network interface! `te.initialize_ub()` will attempt to "
+ "detect ranks on the same node by matching 'socket.gethostname()', which is "
+ "known to fail on virtual clusters like Kubernetes. If Userbuffers "
+ "initialization fails, please set the 'NVTE_UB_SOCKET_IFNAME' variable in "
Expand Down

0 comments on commit 8199c45

Please sign in to comment.