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

Changed !pip to %pip #963

Merged
merged 2 commits into from
Jan 15, 2023
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 @@ -78,7 +78,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\""
"%pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"outputs": [],
"source": [
"# Install feathr from the latest codes in the repo. You may use `pip install feathr[notebook]` as well.\n",
"!pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\""
"%pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -U transformers torch --extra-index-url https://download.pytorch.org/whl/cu116"
"%pip install -U transformers torch --extra-index-url https://download.pytorch.org/whl/cu116"
]
},
{
Expand Down Expand Up @@ -1222,7 +1222,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "feathr",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -1236,11 +1236,11 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.15"
"version": "3.10.9 (main, Dec 15 2022, 18:18:30) [Clang 14.0.0 (clang-1400.0.29.202)]"
},
"vscode": {
"interpreter": {
"hash": "e34a1a57d2e174682770a82d94a178aa36d3ccfaa21227c5d2308e319b7ae532"
"hash": "aee8b7b246df8f9039afb4144a1f6fd8d2ca17a180786b69acc140d282b71a49"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions docs/samples/feature_embedding.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"outputs": [],
"source": [
"# Install feathr from the latest codes in the repo. You may use `pip install feathr[notebook]` as well.\n",
"# !pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\""
"# %pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\""
]
},
{
Expand Down Expand Up @@ -822,7 +822,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5 (default, Jan 27 2021, 15:41:15) \n[GCC 9.3.0]"
"version": "3.9.6 (default, Oct 18 2022, 12:41:40) \n[Clang 14.0.0 (clang-1400.0.29.202)]"
},
"vscode": {
"interpreter": {
Expand Down
8 changes: 4 additions & 4 deletions docs/samples/fraud_detection_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"outputs": [],
"source": [
"# Install feathr from the latest codes in the repo. You may use `pip install feathr[notebook]` as well.\n",
"# !pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\" "
"# %pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\" "
]
},
{
Expand Down Expand Up @@ -1265,7 +1265,7 @@
"widgets": {}
},
"kernelspec": {
"display_name": "feathr",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -1279,11 +1279,11 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0 (default, Nov 6 2019, 21:49:08) \n[GCC 7.3.0]"
"version": "3.10.9 (main, Dec 15 2022, 18:18:30) [Clang 14.0.0 (clang-1400.0.29.202)]"
},
"vscode": {
"interpreter": {
"hash": "ddb0e38f168d5afaa0b8ab4851ddd8c14364f1d087c15de6ff2ee5a559aec1f2"
"hash": "aee8b7b246df8f9039afb4144a1f6fd8d2ca17a180786b69acc140d282b71a49"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions docs/samples/nyc_taxi_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
"outputs": [],
"source": [
"# To install feathr from the latest codes in the repo:\n",
"# !pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\" \n",
"# %pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\" \n",
"\n",
"# To install the latest release:\n",
"# !pip install feathr[notebook] "
"# %pip install feathr[notebook] "
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions docs/samples/product_recommendation_demo_advanced.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"outputs": [],
"source": [
"# Uncomment and run this cell to install feathr from the latest codes in the repo. You may use `pip install feathr[notebook]` as well.\n",
"# !pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\" "
"# %pip install \"git+https://github.com/feathr-ai/feathr.git#subdirectory=feathr_project&egg=feathr[notebook]\" "
]
},
{
Expand All @@ -119,7 +119,7 @@
"outputs": [],
"source": [
"# We also install InterpretML package for model explainability\n",
"!pip install interpret"
"%pip install interpret"
]
},
{
Expand Down