Edit on GitHub


Ways to set

MLEM uses .mlem.yaml file to load configuration from, but it can be overridden (or set) via corresponding env variable with MLEM_ prefix.

Also, mlem config allows you to manipulate config.


  • log_level - logging level to use. Default INFO
  • debug - whether to run MLEM in debug mode. Sets log_level to DEBUG. Default False
  • no_analytics - whether to stop collecting usage telemetry. Default False
  • default_storage - where to store saved artifacts by default. Should be serialized Storage instance. Default is LocalStorage, which means save artifacts locally.
  • default_external - whether to save objects as external by default. Default is False
  • emojis - whether to show 🖇️🦉🤩🇪🇲🅾️🇯ℹ️🇸🤩🦉🖇️ in CLI output. Default ✅
  • additional_extensions - comma-separated list of extension modules to force-load on MLEM import.
  • autoload_exts - turn on dynamic extension loading. Default True

Extension config

Different MLEM extensions can provide additional options that you also can set via .mlem.yaml file. Please refer to corresponding extension documentation.


🐛 Found an issue? Let us know! Or fix it:

Edit on GitHub

Have a question? Join our chat, we will help you:

Discord Chat