MCPcopy Create free account
hub / github.com/MiniMax-AI/VTP / get_rank

Function get_rank

tools/test_linear_probing_hf.py:79–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77
78
79def get_rank() -> int:
80 return dist.get_rank() if dist.is_initialized() else 0
81
82
83# ============================================================================

Callers 2

setup_linear_classifiersFunction · 0.85
test_linear_probingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected