Skip to content

Salt Requiring Comet API Key

While trying to debug an (unrelated) issue with ONNX export, I had updated my Salt submodule from commit hash 6207242ae33cc2ee5157d74da15acc03603ba10e to a291fbf4e73381ae3edfa04e1711ec40408870b7 (version comparison here in case it's helpful). Additionally, I updated my modules by running python -m pip install -e . once again in the same conda environment that had worked on the previous commit.

After this update, I had run a trial of my previously working training with salt fit --config salt-configs/ZllHinv-dense.yaml --trainer.fast_dev 2 (the config can be found here if helpful), which now produces the following error:

COMET ERROR: Failed to create Comet experiment, reason: ValueError('Comet.ml requires an API key. Please provide as the first argument to Experiment(api_key) or as an environment variable named COMET_API_KEY ')

I've attached the full output here as well as the result of echo $COMET_API_KEY to verify that it's empty, however I had not changed any behavior relevant to logging within my actual config, and would like to continue to save my training logs locally, but from my debugging so far it seems that providing an API key/using Comet is now treated as required in this more recent release.

api-error.log