简体   繁体   中英

How to set mlflow version field

I just started to work with mlflow ( 1.24.0 )

How can I set (update) the version field ?

在此处输入图像描述

The version field is "Commit hash of the executed code, if in a git repository." If you want to set it, you need to set System tags mlflow.source.git.commit to version you want when you start a run eg with mlflow.start_run(tags={"mlflow.source.git.commit": <version>}) . Unfortunately the version column in MLflow UI display only strings with maximum 6 signs, longer string are cutting to lengths of six. If you want to set another value than commit hash you should use tags with your own name eg with mlflow.start_run(tags={"version": <version>}) , that show you in column Tags.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM