File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# Default values for local storage
4
4
DEFAULT_BACKEND_STORE_URI=" sqlite:///mlflow.db"
5
- DEFAULT_ARTIFACT_ROOT=" ./mlruns"
6
5
MLFLOW_PORT=5001
7
6
8
7
# Check for the presence of environment variables and set them if provided
14
13
15
14
if [ -n " $MLFLOW_ARTIFACT_ROOT " ]; then
16
15
ARTIFACT_ROOT=$MLFLOW_ARTIFACT_ROOT
16
+ mlflow server --backend-store-uri $BACKEND_STORE_URI --default-artifact-root $ARTIFACT_ROOT --host 0.0.0.0 --port $MLFLOW_PORT
17
17
else
18
- ARTIFACT_ROOT= $DEFAULT_ARTIFACT_ROOT
18
+ mlflow server --backend-store-uri $BACKEND_STORE_URI --host 0.0.0.0 --port $MLFLOW_PORT
19
19
fi
20
20
21
- # Run the MLflow server with the configured backend store URI and artifact root
22
- mlflow server --backend-store-uri $BACKEND_STORE_URI --default-artifact-root $ARTIFACT_ROOT --host 0.0.0.0 --port $MLFLOW_PORT
You can’t perform that action at this time.
0 commit comments