How is the logger for MLFlow working without registering? #11300
-
I have seen the code for logging to MLFlow in the github and I see there is no code to register. But in the here in the doc its mentioned that we need to add this line - Can someone explain how this works? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The decorator is registering an "entry point" - it's an easy to understand and simple way to do that, but there are actually a couple of other ways you could do it. In official spaCy packages we sometimes specify entry points via https://github.com/explosion/spacy-loggers/blob/main/setup.cfg |
Beta Was this translation helpful? Give feedback.
-
Currently spacy-logger loggging in mlflow doesn't support tracking server, however, mlflow is mostly used in a collaborative enviornment, it would be good, if we add the ability to provide tracking server uri from the config file. |
Beta Was this translation helpful? Give feedback.
The decorator is registering an "entry point" - it's an easy to understand and simple way to do that, but there are actually a couple of other ways you could do it. In official spaCy packages we sometimes specify entry points via
setup.cfg
instead, which is what we do forspacy-loggers
. You can see the source here:https://github.com/explosion/spacy-loggers/blob/main/setup.cfg