MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / check_comet_availability

Function check_comet_availability

deepspeed/monitor/utils.py:29–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28
29def check_comet_availability():
30 try:
31 import comet_ml
32 comet_version = pkg_version.parse(comet_ml.__version__)
33 if comet_version < pkg_version.Version("3.41.0"):
34 raise ImportError("`comet_ml` must have at least version 3.41.0")
35 except ImportError:
36 print('If you want to use comet logging, please `pip install "comet_ml>=3.41.0"`')
37 raise

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected