Replaced !pip calls with %pip magic command. (#604)

Closes #603.
This commit is contained in:
Zvi Baratz 2022-06-24 04:45:42 +03:00 committed by GitHub
parent 6cb44484f6
commit 127e482ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 13 additions and 13 deletions

View File

@ -38,10 +38,10 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install flaml[notebook];\n",
"%pip install flaml[notebook]\n",
"# from v0.6.6, catboost is made an optional dependency to build conda package.\n",
"# to install catboost without installing the notebook option, you can run:\n",
"# !pip install flaml[catboost]"
"# %pip install flaml[catboost]"
]
},
{

View File

@ -39,7 +39,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install flaml[notebook];"
"%pip install flaml[notebook]"
]
},
{
@ -569,7 +569,7 @@
"metadata": {},
"outputs": [],
"source": [
"# !pip install optuna==2.8.0;"
"# %pip install optuna==2.8.0"
]
},
{

View File

@ -192,7 +192,7 @@
}
],
"source": [
"!pip install flaml[nlp,ray,notebook,blendsearch];"
"%pip install flaml[nlp,ray,notebook,blendsearch]"
]
},
{

View File

@ -39,7 +39,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install flaml[notebook];"
"%pip install flaml[notebook]"
]
},
{

View File

@ -31,7 +31,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install flaml[notebook,vw];"
"%pip install flaml[notebook,vw]"
]
},
{

View File

@ -39,7 +39,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install flaml[azureml]"
"%pip install flaml[azureml]"
]
},
{

View File

@ -78,7 +78,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install flaml[notebook];"
"%pip install flaml[notebook]"
]
},
{

View File

@ -41,8 +41,8 @@
},
"outputs": [],
"source": [
"!pip install flaml[nlp]==0.7.1 # in higher version of flaml, the API for nlp tasks changed\n",
"!pip install transformers==3.4.0\n",
"%pip install flaml[nlp]==0.7.1 # in higher version of flaml, the API for nlp tasks changed\n",
"%pip install transformers==3.4.0\n",
"from flaml.nlp import AutoTransformers\n"
]
},

View File

@ -17,7 +17,7 @@
},
"outputs": [],
"source": [
"#!pip install torch transformers datasets ipywidgets flaml[blendsearch,ray];"
"# %pip install torch transformers datasets ipywidgets flaml[blendsearch,ray]"
]
},
{

View File

@ -18,7 +18,7 @@
},
"outputs": [],
"source": [
"!pip install torchvision flaml[blendsearch,ray];"
"%pip install torchvision flaml[blendsearch,ray]"
]
},
{