Chronos: Fix readthedocs.io build error (#4720)

* add pickle5 version

* fix doc issue

* fix import bigdl.nano in doc

* renamed basepytorchmodel to baseautomodel

* renamed again
This commit is contained in:
liangs6212 2022-05-30 17:52:20 +08:00 committed by GitHub
parent 5bc293b9c5
commit 0af87a18c6
2 changed files with 9 additions and 7 deletions

View file

@ -20,7 +20,7 @@ commonmark==0.8.1
recommonmark==0.5.0 recommonmark==0.5.0
readthedocs-sphinx-ext<2.2 readthedocs-sphinx-ext<2.2
sphinx_rtd_theme==0.5.2 sphinx_rtd_theme==0.5.2
scikit-learn==0.22.2.post1 scikit-learn==1.0.2
pystan==2.19.1.1 pystan==2.19.1.1
prophet prophet
pmdarima pmdarima
@ -28,3 +28,5 @@ sphinx_markdown_tables
numpy==1.21.2 numpy==1.21.2
xgboost xgboost
torchmetrics torchmetrics
pickle5==0.0.12
protobuf~=3.19.0

View file

@ -5,7 +5,7 @@ AutoTCN
------------------------------------------- -------------------------------------------
AutoTCN is a TCN forecasting model with Auto tuning. AutoTCN is a TCN forecasting model with Auto tuning.
Other API follows its base class(BasePytorchAutomodel). Other API follows its base class(BaseAutomodel).
.. automodule:: bigdl.chronos.autots.model.auto_tcn .. automodule:: bigdl.chronos.autots.model.auto_tcn
:members: :members:
@ -17,7 +17,7 @@ AutoLSTM
---------------------------------------- ----------------------------------------
AutoLSTM is an LSTM forecasting model with Auto tuning. AutoLSTM is an LSTM forecasting model with Auto tuning.
Other API follows its base class(BasePytorchAutomodel). Other API follows its base class(BaseAutomodel).
.. automodule:: bigdl.chronos.autots.model.auto_lstm .. automodule:: bigdl.chronos.autots.model.auto_lstm
:members: :members:
@ -28,7 +28,7 @@ AutoSeq2Seq
---------------------------------------- ----------------------------------------
AutoSeq2Seq is an Seq2Seq forecasting model with Auto tuning. AutoSeq2Seq is an Seq2Seq forecasting model with Auto tuning.
Other API follows its base class(BasePytorchAutomodel). Other API follows its base class(BaseAutomodel).
.. automodule:: bigdl.chronos.autots.model.auto_seq2seq .. automodule:: bigdl.chronos.autots.model.auto_seq2seq
:members: :members:
@ -55,10 +55,10 @@ AutoProphet is a Prophet forecasting model with Auto tuning.
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
BasePytorchAutomodel BaseAutomodel
------------------------------------------------------------ ------------------------------------------------------------
AutoLSTM, AutoSeq2Seq and AutoTCN all follow the same API as stated below. AutoLSTM, AutoSeq2Seq and AutoTCN all follow the same API as stated below.
.. autoclass:: bigdl.chronos.autots.model.base_automodel.BasePytorchAutomodel .. autoclass:: bigdl.chronos.autots.model.base_automodel.BaseAutomodel
:members: :members:
:show-inheritance: :show-inheritance: