Chronos: update installation guide to reflect our work on better tensorflow support (#6066)
This commit is contained in:
parent
42934c9abe
commit
28acefdb7c
2 changed files with 41 additions and 22 deletions
|
|
@ -103,13 +103,13 @@ function refresh_cmd(){
|
||||||
if(version=="nightly"){
|
if(version=="nightly"){
|
||||||
cmd="pip install --pre --upgrade bigdl-chronos[pytorch]";
|
cmd="pip install --pre --upgrade bigdl-chronos[pytorch]";
|
||||||
}else if(version=="stable"){
|
}else if(version=="stable"){
|
||||||
cmd="pip install bigdl-chronos";
|
cmd="pip install bigdl-chronos[pytorch]";
|
||||||
}
|
}
|
||||||
}else if(hardware=="cluster"){
|
}else if(hardware=="cluster"){
|
||||||
if(version=="nightly"){
|
if(version=="nightly"){
|
||||||
cmd="pip install --pre --upgrade bigdl-chronos[pytorch,distributed]";
|
cmd="pip install --pre --upgrade bigdl-chronos[pytorch,distributed]";
|
||||||
}else if(version=="stable"){
|
}else if(version=="stable"){
|
||||||
cmd="pip install bigdl-chronos[all]";
|
cmd="pip install bigdl-chronos[pytorch,distributed]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else if(automl=="automlyes"){
|
}else if(automl=="automlyes"){
|
||||||
|
|
@ -117,19 +117,45 @@ function refresh_cmd(){
|
||||||
if(version=="nightly"){
|
if(version=="nightly"){
|
||||||
cmd="pip install --pre --upgrade bigdl-chronos[pytorch,automl]";
|
cmd="pip install --pre --upgrade bigdl-chronos[pytorch,automl]";
|
||||||
}else if(version=="stable"){
|
}else if(version=="stable"){
|
||||||
cmd="pip install bigdl-chronos[all]";
|
cmd="pip install bigdl-chronos[pytorch,automl]";
|
||||||
}
|
}
|
||||||
}else if(hardware=="cluster"){
|
}else if(hardware=="cluster"){
|
||||||
if(version=="nightly"){
|
if(version=="nightly"){
|
||||||
cmd="pip install --pre --upgrade bigdl-chronos[pytorch,distributed,automl]";
|
cmd="pip install --pre --upgrade bigdl-chronos[pytorch,distributed,automl]";
|
||||||
}else if(version=="stable"){
|
}else if(version=="stable"){
|
||||||
cmd="pip install bigdl-chronos[all]";
|
cmd="pip install bigdl-chronos[pytorch,distributed,automl]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else if(ai=="tensorflow"){
|
}else if(ai=="tensorflow"){
|
||||||
if(package=="pypi"&&os=="linux"){
|
if(automl=="automlno"){
|
||||||
cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/latest/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>"
|
if(hardware=="singlenode"){
|
||||||
|
if(version=="nightly"){
|
||||||
|
cmd="pip install --pre --upgrade bigdl-chronos[tensorflow]";
|
||||||
|
}else if(version=="stable"){
|
||||||
|
cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
|
||||||
|
}
|
||||||
|
}else if(hardware=="cluster"){
|
||||||
|
if(version=="nightly"){
|
||||||
|
cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,distributed]";
|
||||||
|
}else if(version=="stable"){
|
||||||
|
cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}else if(automl=="automlyes"){
|
||||||
|
if(hardware=="singlenode"){
|
||||||
|
if(version=="nightly"){
|
||||||
|
cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,automl]";
|
||||||
|
}else if(version=="stable"){
|
||||||
|
cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
|
||||||
|
}
|
||||||
|
}else if(hardware=="cluster"){
|
||||||
|
if(version=="nightly"){
|
||||||
|
cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,distributed,automl]";
|
||||||
|
}else if(version=="stable"){
|
||||||
|
cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else if(model=="Prophet"){
|
}else if(model=="Prophet"){
|
||||||
|
|
@ -144,7 +170,7 @@ function refresh_cmd(){
|
||||||
if(version=="nightly"){
|
if(version=="nightly"){
|
||||||
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install prophet==1.1.0";
|
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install prophet==1.1.0";
|
||||||
}else if(version=="stable"){
|
}else if(version=="stable"){
|
||||||
cmd="pip install bigdl-chronos[all]; pip install prophet==1.1.0";
|
cmd="pip install bigdl-chronos[distributed]; pip install prophet==1.1.0";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else if(automl=="automlyes"){
|
}else if(automl=="automlyes"){
|
||||||
|
|
@ -152,13 +178,13 @@ function refresh_cmd(){
|
||||||
if(version=="nightly"){
|
if(version=="nightly"){
|
||||||
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install prophet==1.1.0";
|
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install prophet==1.1.0";
|
||||||
}else if(version=="stable"){
|
}else if(version=="stable"){
|
||||||
cmd="pip install bigdl-chronos[all]; pip install prophet==1.1.0";
|
cmd="pip install bigdl-chronos[distributed]; pip install prophet==1.1.0";
|
||||||
}
|
}
|
||||||
}else if(hardware=="cluster"){
|
}else if(hardware=="cluster"){
|
||||||
if(version=="nightly"){
|
if(version=="nightly"){
|
||||||
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install prophet==1.1.0";
|
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install prophet==1.1.0";
|
||||||
}else if(version=="stable"){
|
}else if(version=="stable"){
|
||||||
cmd="pip install bigdl-chronos[all]; pip install prophet==1.1.0";
|
cmd="pip install bigdl-chronos[distributed]; pip install prophet==1.1.0";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -174,7 +200,7 @@ function refresh_cmd(){
|
||||||
if(version=="nightly"){
|
if(version=="nightly"){
|
||||||
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install pmdarima==1.8.5";
|
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install pmdarima==1.8.5";
|
||||||
}else if(version=="stable"){
|
}else if(version=="stable"){
|
||||||
cmd="pip install bigdl-chronos[all]; pip install pmdarima==1.8.5";
|
cmd="pip install bigdl-chronos[distributed]; pip install pmdarima==1.8.5";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else if(automl=="automlyes"){
|
}else if(automl=="automlyes"){
|
||||||
|
|
@ -182,13 +208,13 @@ function refresh_cmd(){
|
||||||
if(version=="nightly"){
|
if(version=="nightly"){
|
||||||
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install pmdarima==1.8.5";
|
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install pmdarima==1.8.5";
|
||||||
}else if(version=="stable"){
|
}else if(version=="stable"){
|
||||||
cmd="pip install bigdl-chronos[all]; pip install pmdarima==1.8.5";
|
cmd="pip install bigdl-chronos[distributed]; pip install pmdarima==1.8.5";
|
||||||
}
|
}
|
||||||
}else if(hardware=="cluster"){
|
}else if(hardware=="cluster"){
|
||||||
if(version=="nightly"){
|
if(version=="nightly"){
|
||||||
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install pmdarima==1.8.5";
|
cmd="pip install --pre --upgrade bigdl-chronos[distributed]; pip install pmdarima==1.8.5";
|
||||||
}else if(version=="stable"){
|
}else if(version=="stable"){
|
||||||
cmd="pip install bigdl-chronos[all]; pip install pmdarima==1.8.5";
|
cmd="pip install bigdl-chronos[distributed]; pip install pmdarima==1.8.5";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -115,10 +115,10 @@ You can use _Chronos_ to:
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="1">Version</td>
|
<td colspan="1">Version</td>
|
||||||
<td colspan="2"><button id="nightly"
|
<td colspan="2"><button id="nightly"
|
||||||
title="For users would like to try chronos's latest feature">Nightly (2.1.0b)</button>
|
title="For users would like to try chronos's latest feature">Nightly (2.2.0b)</button>
|
||||||
</td>
|
</td>
|
||||||
<td colspan="2"><button id="stable"
|
<td colspan="2"><button id="stable"
|
||||||
title="For users would like to deploy chronos in their production">Stable (2.0.0)</button></td>
|
title="For users would like to deploy chronos in their production">Stable (2.1.0)</button></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -146,14 +146,7 @@ pip install --pre --upgrade bigdl-chronos[pytorch] # or other options you may w
|
||||||
source bigdl-nano-init # accelerate the conda env
|
source bigdl-nano-init # accelerate the conda env
|
||||||
```
|
```
|
||||||
|
|
||||||
#### **2.2 Tensorflow backend**
|
#### **2.2 OS and Python version requirement**
|
||||||
Tensorflow is one of the supported backend of Chronos in nightly release version, while it can not work alone without pytorch in Chronos for now. We will fix it soon. If you want to use tensorflow backend, please
|
|
||||||
```bash
|
|
||||||
pip install --pre --upgrade bigdl-nano[tensorflow]
|
|
||||||
```
|
|
||||||
**after you install the pytorch backend chronos.**
|
|
||||||
|
|
||||||
#### **2.3 OS and Python version requirement**
|
|
||||||
|
|
||||||
```eval_rst
|
```eval_rst
|
||||||
.. note::
|
.. note::
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue