MCPcopy Create free account
hub / github.com/ml-explore/mlx / log

Function log

python/mlx/_distributed_utils/common.py:121–125  ·  view source on GitHub ↗
(verbose, *args, **kwargs)

Source from the content-addressed store, hash-verified

119
120
121def log(verbose, *args, **kwargs):
122 if not verbose:
123 return
124 kwargs["file"] = sys.stderr
125 print("\033[32m[INFO]", *args, "\033[0m", **kwargs)
126
127
128def log_warning(*args, **kwargs):

Callers 15

add_ipsFunction · 0.70
check_rdmaFunction · 0.70
setupMethod · 0.70
extract_connectivityFunction · 0.70
configure_ringFunction · 0.70
configure_jacclFunction · 0.70
configure_jaccl_ringFunction · 0.70
prepare_tb_hostfileFunction · 0.70
mainFunction · 0.70
_thread_fnFunction · 0.70
launch_ringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected