This is a collection of tutorials for MLflow 3.
You can install the project with uv, using the following command:
# Sync all dependency groups and download `uv`-managed Python
uv sync --managed-python --all-groupsNote
Running scripts
- Check
pyproject.tomlfor available scripts - Run them using
uv run <script_name>
All the information about running the individual projects can be found here.
Before running any projects, be sure to start the tracking server:
# Start the MLflow tracking server
uv run start_serverTip
You can run rm -rf .venv/ uv.lock after each project, and before running the next required uv sync command to cut down on the size of your .venv folder.
Important
Ensure you have run the initial uv sync command.
- Code:
first_model.py- Run:
uv run first_model- If you encounter an error that the experiment already exists:
- Run:
uv run remove_experiments
- Run:
- If you encounter an error that the experiment already exists:
- Run:
Important
Run:
uv sync --managed-python --all-groups --extra tensorflow --extra mlflow_extras
- Code:
tuning_deployment.py- Run:
uv run tuning_deployment - Serve:
uv run serve_wine_model
- Run:
Important
Run:
uv sync --managed-python --all-groups --extra pytorch
- Code:
deep_learning_quickstart.py- Run:
uv run deep_learning
- Run:
-
Work in progress