TP3 Partie 1 : log_model + Model Registry + promotion par alias

This commit is contained in:
Johan LEROY
2026-07-22 11:22:50 +02:00
parent e6a05fbbc7
commit 9a52395c91
6 changed files with 127 additions and 0 deletions

View File

@@ -11,5 +11,12 @@ MLFLOW_EXPERIMENT_NAME=tp02_electricity_consumption
REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
AWS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
# --- S3 Garage : artefacts MLflow (TP03) ---
# Necessaire pour log_model (upload de l'artefact) ET pour le chargement du modele
# par l'API (download depuis s3://mlflow-artifacts). Cle S3 "mlflow" (RWO sur le bucket).
AWS_ACCESS_KEY_ID=GKxxxxxxxxxxxxxxxxxxxxxxxx
AWS_SECRET_ACCESS_KEY=change-me
MLFLOW_S3_ENDPOINT_URL=https://garage.192-168-122-143.nip.io
# --- Import du package lab ---
PYTHONPATH=/home/user/tp