Unverified Commit 4ab5617b authored by Stas Bekman's avatar Stas Bekman Committed by GitHub
Browse files

comet_ml temporary fix(#8410)

parent e6d9cdaa
...@@ -14,7 +14,7 @@ try: ...@@ -14,7 +14,7 @@ try:
# Comet needs to be imported before any ML frameworks # Comet needs to be imported before any ML frameworks
import comet_ml # noqa: F401 import comet_ml # noqa: F401
if comet_ml.config.get_config("comet.api_key"): if hasattr(comet_ml, "config") and comet_ml.config.get_config("comet.api_key"):
_has_comet = True _has_comet = True
else: else:
if os.getenv("COMET_MODE", "").upper() != "DISABLED": if os.getenv("COMET_MODE", "").upper() != "DISABLED":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment