Skip to content

Commit

Permalink
XinyuWuu [MNT] remove ptf install from example notebook (#7165)
Browse files Browse the repository at this point in the history
Split part of #6628, removes
`pytorch-forecasting` install from jupyter notebook, instead moves it to
the CI.
  • Loading branch information
fkiraly authored Sep 26, 2024
1 parent 01318f8 commit d98cd34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[all_extras,binder,dev,mlflow]
python -m pip install .[all_extras,binder,dev,mlflow,dl]
- name: Run example notebooks
run: build_tools/run_examples.sh
shell: bash
Expand Down
8 changes: 1 addition & 7 deletions examples/01c_forecasting_hierarchical_global.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@
"%%capture\n",
"import warnings\n",
"\n",
"warnings.filterwarnings(\"ignore\")\n",
"\n",
"import sys\n",
"\n",
"py_exe = sys.executable\n",
"\n",
"!{py_exe} -m pip install pytorch-forecasting==1.0.0"
"warnings.filterwarnings(\"ignore\")"
]
},
{
Expand Down

0 comments on commit d98cd34

Please sign in to comment.