Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/AgentTuning
/ print_rank_0
Function
print_rank_0
AgentBench.old/src/utils.py:52–54 ·
view source on GitHub ↗
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
50
51
52
def
print_rank_0(*args, **kwargs):
53
# if torch.distributed.get_rank() == 0:
54
print(*args, **kwargs)
Callers
1
main
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected