We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
online
1 parent e882468 commit 3bb1fbcCopy full SHA for 3bb1fbc
src/lightning/pytorch/loggers/comet.py
@@ -270,7 +270,10 @@ def __init__(
270
271
import comet_ml
272
273
- self._comet_config = comet_ml.ExperimentConfig(**self._kwargs)
+ config_kwargs = self._kwargs.copy()
274
+ if online is False:
275
+ config_kwargs["disabled"] = True
276
+ self._comet_config = comet_ml.ExperimentConfig(**config_kwargs)
277
278
# create real experiment only on main node/process (when strategy=auto/ddp)
279
if _get_rank() is not None and _get_rank() != 0:
0 commit comments