Medial Code Documentation
|
Data Structures | |
class | ExSocket |
class | RabitTracker |
class | WorkerEntry |
Functions | |
str | get_some_ip (str host) |
int | get_family (str addr) |
str | get_host_ip (Optional[str] host_ip=None) |
None | start_rabit_tracker (argparse.Namespace args) |
None | main () |
Variables | |
_RingMap = Dict[int, Tuple[int, int]] | |
_TreeMap = Dict[int, List[int]] | |
int | MAGIC_NUM = 0xFF99 |
This script is a variant of dmlc-core/dmlc_tracker/tracker.py, which is a specialized version for xgboost tasks.
int xgboost.tracker.get_family | ( | str | addr | ) |
Get network family from address.
str xgboost.tracker.get_host_ip | ( | Optional[str] | host_ip = None | ) |
Get the IP address of current host. If `host_ip` is not none then it will be returned as it's
str xgboost.tracker.get_some_ip | ( | str | host | ) |
Get ip from host
None xgboost.tracker.main | ( | void | ) |
Main function if tracker is executed in standalone mode.
None xgboost.tracker.start_rabit_tracker | ( | argparse.Namespace | args | ) |
Standalone function to start rabit tracker. Parameters ---------- args: arguments to start the rabit tracker.