Skip to content

Commit

Permalink
Remove trident.mlflow APIs. (#1687)
Browse files Browse the repository at this point in the history
Co-authored-by: Li Jiang <lijiang1@microsoft.com>
  • Loading branch information
thinkall and thinkall authored Oct 26, 2022
1 parent f4af33f commit 448f6b7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1250,11 +1250,7 @@
"source": [
"# setup mlflow\n",
"import mlflow\n",
"import trident.mlflow\n",
"from trident.mlflow import get_sds_url\n",
"\n",
"mlflow.set_tracking_uri(get_sds_url())\n",
"mlflow.set_registry_uri(get_sds_url())\n",
"mlflow.set_experiment(EXPERIMENT_NAME)"
]
},
Expand Down Expand Up @@ -1452,7 +1448,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.12"
},
"notebook_environment": {},
"save_output": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -853,11 +853,7 @@
"source": [
"# setup mlflow\n",
"import mlflow\n",
"import trident.mlflow\n",
"from trident.mlflow import get_sds_url\n",
"\n",
"mlflow.set_tracking_uri(get_sds_url())\n",
"mlflow.set_registry_uri(get_sds_url())\n",
"mlflow.set_experiment(EXPERIMENT_NAME)"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,13 +412,9 @@
"source": [
"# setup mlflow\n",
"import mlflow\n",
"import trident.mlflow\n",
"from trident.mlflow import get_sds_url\n",
"\n",
"EXPERIMENT_NAME = \"aisample-timeseries\"\n",
"\n",
"mlflow.set_tracking_uri(get_sds_url())\n",
"mlflow.set_registry_uri(get_sds_url())\n",
"mlflow.set_experiment(EXPERIMENT_NAME)"
]
},
Expand Down Expand Up @@ -451,7 +447,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.13",
"display_name": "Python 3.8.13 ('gpu_env')",
"language": "python",
"name": "python3"
},
Expand All @@ -462,7 +458,7 @@
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "0c3c2e25a81c246d04d78d3cc407085024aed97ce8aa6c9f7fe4d74e99285c0c"
"hash": "8cebba326b76ca708172f0a6a24a89689a3b64f83dbd9353b827f2f4b33d3f80"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@
"from synapse.ml.stages import ClassBalancer\n",
"from synapse.ml.train import ComputeModelStatistics\n",
"\n",
"import mlflow\n",
"import trident.mlflow\n",
"from trident.mlflow import get_sds_url"
"import mlflow"
]
},
{
Expand Down Expand Up @@ -812,8 +810,6 @@
"outputs": [],
"source": [
"# setup mlflow\n",
"mlflow.set_tracking_uri(get_sds_url())\n",
"mlflow.set_registry_uri(get_sds_url())\n",
"mlflow.set_experiment(EXPERIMENT_NAME)"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@
"import os\n",
"import gzip\n",
"\n",
"import mlflow\n",
"import trident.mlflow\n",
"from trident.mlflow import get_sds_url"
"import mlflow"
]
},
{
Expand Down Expand Up @@ -817,8 +815,6 @@
"outputs": [],
"source": [
"# setup mlflow\n",
"mlflow.set_tracking_uri(get_sds_url())\n",
"mlflow.set_registry_uri(get_sds_url())\n",
"mlflow.set_experiment(EXPERIMENT_NAME)"
]
},
Expand Down

0 comments on commit 448f6b7

Please sign in to comment.