mlflow / mlflow-export-import

Apache License 2.0
139 stars 87 forks source link

copy-run not copying the artifacts between local mlflow servers #177

Open vanguard478 opened 7 months ago

vanguard478 commented 7 months ago

Hi, I am trying to copy a existing run from from src_mlflow_uri to dst_mlflow_uri. Although the run was copied, the artifacts aren't available on the dst_mlflow_uri. I used the following command

$ export MLFLOW_TRACKING_URI=http://127.0.0.1:8080
$ copy-run  --run-id b312c57d53bd44dbb098994b07b56d08  --experiment-name CV_Experiment   --dst-mlflow-uri  http://127.0.0.5:8080   
--src-mlflow-uri http://127.0.0.1:8080

I get the following output

19-Apr-24 15:13:07 - INFO - Using default logging config without output log file
Options:
  run_id: b312c57d53bd44dbb098994b07b56d08
  experiment_name: CV_Experiment
  src_mlflow_uri: http://127.0.0.1:8080
  dst_mlflow_uri: http://127.0.0.5:8080
19-Apr-24 15:13:07 - INFO - Exporting run: {'run_id': 'b312c57d53bd44dbb098994b07b56d08', 'lifecycle_stage': 'active', 'experiment_id': '490042383432899671'}
Downloading artifacts: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 41/41 [00:12<00:00,  3.28it/s]
19-Apr-24 15:13:20 - WARNING - No notebooks to export for run 'b312c57d53bd44dbb098994b07b56d08' since tag 'mlflow.databricks.notebookPath' is not set.
19-Apr-24 15:13:20 - INFO - Importing run from '/tmp/tmpsy43kmvg'
19-Apr-24 15:13:20 - INFO - Calling Databricks: False
19-Apr-24 15:13:20 - INFO - Created experiment 'CV_Experiment' with location 'mlflow-artifacts:/339396229758726892'
19-Apr-24 15:13:25 - INFO - Imported run '9ac222e63af44888a565d45a94ccfa08' into experiment 'CV_Experiment'