Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[devops] make linters almost happy #1641

Merged
merged 3 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,6 @@
"source": [
"try:\n",
" # it already installed dependencies\n",
" from torchsummary import summary\n",
" from torchviz import make_dot\n",
"except:\n",
" # install graphviz on system\n",
Expand All @@ -768,7 +767,6 @@
" !pip install torchviz\n",
" !pip install graphviz\n",
" # import\n",
" from torchsummary import summary\n",
" from torchviz import make_dot"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,6 @@
"source": [
"try:\n",
" # it already installed dependencies\n",
" from torchsummary import summary\n",
" from torchviz import make_dot\n",
"except:\n",
" # install graphviz on system\n",
Expand All @@ -1326,7 +1325,6 @@
" !pip install torchviz\n",
" !pip install graphviz\n",
" # import\n",
" from torchsummary import summary\n",
" from torchviz import make_dot"
]
},
Expand Down
4 changes: 2 additions & 2 deletions docs/source/how-to-guides/feature-guides/mlflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
},
{
"cell_type": "markdown",
"id": "7fb27b941602401d91542211134fc71a",
"metadata": {},
"source": [
"## Advanced Example \n",
Expand All @@ -246,6 +247,7 @@
{
"cell_type": "code",
"execution_count": 7,
"id": "acae54e37e7d407bbb7b55eff062a284",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -254,7 +256,6 @@
"# Copy and paste url from command line to web browser\n",
"\n",
"import mlflow\n",
"import torchmetrics\n",
"from mlflow.data.pandas_dataset import PandasDataset\n",
"\n",
"if local:\n",
Expand All @@ -272,7 +273,6 @@
" )\n",
"\n",
" import mlflow.pytorch\n",
" from mlflow.client import MlflowClient\n",
"\n",
" model_name = \"NeuralProphet\"\n",
"\n",
Expand Down
Loading
Loading