~/.config/zenml
~/Library/Application Support/ZenML
C:\Users\%USERNAME%\AppData\Local\ZenML
ZENML_CONFIG_PATH
environment variable to a custom value. The current location of the Global Config Directory used on a system can be retrieved by running the following command:zenml analytics
- manage the analytics settingszenml profile
- manage configuration Profileszenml stack
- manage Stackszenml <stack-component>
- manage Stack Componentszenml clean
- to be used only in case of emergency, to bring the ZenML configuration back to its default factory stateglobal.yaml
file stores the global configuration settings: the unique ZenML user ID, the active Profile, the analytics related options and a list of all configured Profiles, along with their configuration attributes, such as the active Stack set for each Profile. This is an example of the global.yaml
file contents immediately after initialization:local_stores
directory is where some "local" flavors of Stack Components, such as the local
Artifact Store, the sqlite
Metadata Store or the local
Secrets Manager persist data locally. Every local Stack Component will have its own subdirectory here named after the Stack Component's unique UUID. One notable example is the local
Artifact Store flavor that, when part of the active Stack, stores all the artifacts generated by Pipeline runs in the designated local directory.profiles
directory is used as a default root path location where ZenML stores information about the Stacks, Stack Components, custom Stack Component flavors etc. that are configured under each Profile. Every Profile will have its own subdirectory here, unless the Profile is explicitly created with a custom configuration path. (See the zenml profile
command and the section on ZenML Profiles for more information about Profiles.)zenml_examples
- used as a local cache by the zenml example
command, where the pulled ZenML examples are stored.kubeflow
- this is where the Kubeflow orchestrators that are part of a Stack store some of their configuration and logs.zenml init
command from that folder or passing its location as an argument to that same command, e.g.:.zen
directory located in the root folder. The .zen
directory contains a single config.yaml
file that stores the local settings:zenml init
command to initialize a ZenML Repository in the same location of your custom Python source tree where you would normally point PYTHONPATH, especially if your Python code relies on a hierarchy of modules spread out across multiple sub-folders..zen
subdirectory in that folder.zenml.config.global_config.GlobalConfiguration
singleton, while the zenml.repository.Repository
singleton acts as the central point of management for Stacks, Stack Components, Stack Component flavors and other associated ZenML concepts. The following are examples of how to use these singletons to perform various operations:GlobalConfiguration
and Repository
singletons, please consult the API docs sections on GlobalConfiguration and Repository.