Skip to content

Commit 635b0d3

Browse files
author
David Thrower
committed
Remove stale env var.
1 parent fe53d33 commit 635b0d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

train_a_generative_llm_docker.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,10 @@
567567
# Handle the case where the experiment doesn't exist, e.g., create it
568568
experiment_id = mlflow.create_experiment(MLFLOW_EXPERIMENT_NAME)
569569

570+
print(f"Attempting to start run in Experiment ID: {experiment_id}")
571+
print(f"Current Tracking URI: {mlflow.get_tracking_uri()}")
572+
os.environ.pop("MLFLOW_RUN_ID", None) # The fix
573+
570574
with mlflow.start_run(experiment_id=experiment_id):
571575
mlflow.log_params(PARAMS)
572576
cerebros_t0 = time.time()

0 commit comments

Comments
 (0)