Commit graph

455 commits

Author SHA1 Message Date
Yang Wang
0e31d15f6d Restructure pytorch inference documentation (#7608)
Co-authored-by: yang3.wang@intel.com <Yang Wang>
2023-02-17 14:28:36 -08:00
Kai Huang
d961fdee59 Remove 246/312/313 from script names (#7593)
* remove 246

* remove 313

* fix pandas version
2023-02-17 14:44:23 +08:00
Qiyuan Gong
bcfcb3f12b [PPML] Alibaba ECS Occlum CN Develop guide (#7297)
* Alibaba ECS Occlum CN Develop guide with Occlum
* Refine examples and style based on comments
* Add to readthedocs
2023-02-17 14:06:41 +08:00
binbin Deng
8a8fe7ff9f Chronos: upgrade torch to 1.13.1 and add description about onnx in troubleshooting page (#7523) 2023-02-17 09:27:00 +08:00
SONG Ge
73f6d79e8c [Orca] Known Issues Update (#7569)
* add known issue for no space left

* update style

* update with comments

* new update
2023-02-16 15:24:08 +08:00
Kai Huang
29e52af49b Update yarn doc (#7566) 2023-02-16 09:44:33 +08:00
Yinchen Ni
479042a93a Doc: add yarn cluster running results (#7562)
* feat(yarn.md): add yarn cluster run results

* fix(yarn.md): rm extra |

* docs(yarn.md): perf description

* docs(yarn.md): perf

* feat(yarn.md): how to see logs

* fix(yarn.md): perf: time

* perf(yarn.md): rm which python

* fix(yarn.md): hide internal info

* docs(yarn.md): perf

* fix(yarn.md): url
2023-02-15 20:02:06 +08:00
Kai Huang
213cfd985b Update k8s tutorial (#7563) 2023-02-15 19:26:25 +08:00
Kai Huang
2e1d977e08 Update k8s command (#7532)
* remove redundant conf

* update command

* update command

* format

* change to num executor

* fix

* minor

* fix

* modify cores

* remove pythonhome

* meet review

* minor

* rephase

* minor

* minor

* update yarn master

* update args
2023-02-15 19:09:27 +08:00
Cengguang Zhang
7727b4c9ba feat: update download link (#7559) 2023-02-15 17:58:02 +08:00
Yishuo Wang
13568a9aa8 Nano: fix multi-instance on Windows (#7493) 2023-02-10 18:05:18 +08:00
Yuwen Hu
6960c87b54 [Nano] Revise outdated info in PyTorch Inference how-to guides (#7453)
* Change order of PyTorch Inference how-to guides order

* Revise accelerate_pytorch_inference_jit_ipex.ipynb

* Revise accelerat_pytorch_inference_onnx.ipynb

* Revise accelerate_pytorch_inference_openvino.ipynb

* Revise inference_optimizer_optimize.ipynb

* Revise multi_instance_pytorch_inference.ipynb

* Revise pytorch_context_manager.ipynb

* Revise pytorch_save_and_load_ipex.ipynb and other small fixes

* Revise pytorch_save_and_load_jit.ipynb and other small fixes

* Revise pytorch_save_and_load_onnx.ipynb and other small fixese

* Revise pytorch_save_and_load_openvino.ipynb

* Revise quantize_pytorch_inference_inc.ipynb and other small fixes

* Revise quantize_pytorch_inference_pot.ipynb and other small fixes

* Fix failed links in the index page

* Small fixes

* Update based on comments
2023-02-09 17:50:50 +08:00
Yishuo Wang
56d699d935 Nano: update os support (#7491) 2023-02-09 15:48:30 +08:00
Yuwen Hu
9c129ec158 [Nano] Revise PyTorch Inference key feature doc regarding context manager (#7449)
* Revise PyTorch Inference key feature doc regarding context manager

* Small fixes and revise the installation notes

* Small fix

* Update based on comments

* Update based on comments
2023-02-08 17:26:08 +08:00
Yishuo Wang
f4700422e1 Nano: add OS support table (#7429) 2023-02-06 18:01:31 +08:00
Kai Huang
8911c69302 Update k8s tutorial and script (#7356)
* debug

* update train

* update remote dir

* remove print

* update train

* update
2023-02-06 11:24:07 +08:00
Ruonan Wang
06e6935ba9 Nano: update troubleshooting guide (#7285)
* update troubshooting guide

* update based on comment
2023-02-03 17:29:58 +08:00
Yang Wang
f903b78711 restructure tensorflow inference document (#7417) 2023-02-02 18:14:02 -08:00
Yuwen Hu
c31136df0b [Nano] Improve How-to Guides Navigations (#7396)
* Remove deprecated option enable_auto_doc_ref for recommonmark

* Add first level navigation structure for Nano how-to guides

* Update navigation for How-to Training part

* Update navigation for How-to Inference part

* Update navigation for How-to Preprocessing/Install part and other small fixes

* Fix wrong link path caused by position changes of how-to install related guides

* Small fix
2023-02-03 09:37:10 +08:00
binbin Deng
c74320db0e Chronos: update installation panel (#7393) 2023-02-02 13:16:23 +08:00
Yuwen Hu
c7674f52b2 [Nano] Add how-to guide for TensorFlow Keras inference using bf16 mixed precision (#7337)
* Add basic structure for tf bf16 infer how-to guide

* Add how-to use BFloat16 mixed precision for TensorFlow Keras inference

* Small fixes

* Add instruction requires box

* Add outputs to show inference time diff

* Small fixes regarding hardware requirements and others

* Update based on comments

* Small fixes

* Small fixes
2023-02-01 13:33:54 +08:00
Junwei Deng
08a556239c Chronos: add how to guide for forecaster.optimize (#7387) 2023-02-01 11:39:27 +08:00
Junwei Deng
90c76ce7a2 Nano: Add some user guide and warning messages according to feedback (#7374) 2023-02-01 08:53:08 +08:00
Kai Huang
4568403d47 Enhance k8s tutorial (#7366)
* add driver log

* update

* minor
2023-01-29 17:45:55 +08:00
Kai Huang
61f25b1a6c Fix k8s tutorial style (#7363) 2023-01-29 16:32:08 +08:00
Kai Huang
6c07f95d1c Update Howto guides (#7361)
* update ray

* update tf
2023-01-29 15:12:27 +08:00
Kai Huang
6a4c40fc1f Update PyTorch quickstart (#7358)
* update pytorch

* minor

* minor
2023-01-29 13:39:06 +08:00
Cengguang Zhang
eeebdc3f5b Doc: Centering style in download table. (#7338)
* feat: centering style.

* feat: centering style.

* feat: centering.
2023-01-19 18:35:59 +08:00
Cengguang Zhang
3815595940 feat: update download link. (#7331) 2023-01-19 14:48:06 +08:00
Le-Zheng
1ae23bf068 update release doc main (#7329) 2023-01-19 13:13:34 +08:00
Kai Huang
73ceb1ca92 Update gzip command in FashionMNIST tutorial (#7298) 2023-01-17 16:54:38 +08:00
Kai Huang
8e4e643f53 Update k8s tutorial (#7278)
* part1

* update gzip

* update
2023-01-17 09:52:14 +08:00
Sirui Tao
3543a58723 [Nano] How-to Guide: Inference via Openvino on Intel GPUs (#7212)
* add openvino gpu inference guide

* enable online doc for how-to

* fix

* fix layout error

* update w.r.t. comments

* fix

* fix

* fix error
2023-01-12 09:31:12 +08:00
Hamster
cc6f9b4dd2 docs(orca-context.md): RayContext -> OrcaRayContext (#7227) 2023-01-11 19:28:19 +08:00
Yuwen Hu
06cb1971c7 [Nano] Fix import path in API docs (#7208)
* Small fixes to (un)patch_tensorflow api doc and make its import path in api doc show as the recommended one

* Add api doc for nano_bf16 decorator

* Move api doc for bigdl.nano.tf.keras.InferenceOptimizer out of bigdl.nano.tf.keras to make it more clear

* Fix python styles

* Fix path in Nano PyTorch API docs

* Add api doc for bigdl.nano.pytorch.patching.patch_encryption

* Add a note box for bigdl.nano.pytorch.patching.patch_encryption api doc

* Fix Python style again

* Fix path in Nano HPO API doc and other small fixes
2023-01-11 14:24:12 +08:00
liangs6212
5ebaa3a41b Nano: Updated the description of “python version” (#7220)
* update versions

* rename
2023-01-11 10:10:55 +08:00
Henry Ma
2858a1b5bf [Nano] Add how-to-guide of load/save API for tensorflow inference (#7180)
* feat(docs): add load/save onnx and opnevino model for tensorflow

* fix bugs after previewing

* fix order issues of insertion for toc.yml

* change link title for tensorflow
2023-01-10 20:15:49 +08:00
Sirui Tao
d950992b91 [Nano] How-To Guides: Accelerate PyTorch Training with IPEX & Multi-instance & BF16 & Channels last (#7035)
* add pytorch training ipex guide

* add pytorch training multi-instance guide

* add bf16 guide

* small changes of presentation

* add channels last guide

* remove validation loader

* hide code block

* update based on comments

* add guide for reference

* update guides w.r.t. comments
2023-01-10 13:14:47 +08:00
Kai Huang
af9cdc6edd Update spark-submit section in yarn tutorial (#7209)
* update

* update
2023-01-10 09:55:30 +08:00
Yishuo Wang
c4874f35c8 Nano: Add key feature for keras inference (#6925) 2023-01-09 16:43:15 +08:00
Kai Huang
19f00e80dc Update download document (#7202)
* update download

* minor

* update
2023-01-09 15:27:27 +08:00
Hu, Zhaojie
6ca8f8567f Chronos: Add how to guide for export_jit (#7194)
* add how to guide for export_jit

* update

* update

* update code example
2023-01-09 14:05:49 +08:00
YingzhePeng
ac78c2f532 Orca download url modify (#7198)
* change the download url

* change the download url version
2023-01-09 10:59:48 +08:00
liangs6212
9db2b48519 Chronos: How to use built-in dataset (#6572)
* add how to use built-in dataset

* how-to-use-built-in-dataset

* fix issue

* rst link

* remove dedundancy code

* fix syntax error

* fix conflict

* reset

* reset again
2023-01-05 19:22:21 +08:00
Junwei Deng
1d4d65dd07 Nano: add Neural Coder example and document (#7167)
* add NC example on nano

* update information
2023-01-05 18:13:44 +08:00
Yuwen Hu
5e9ef7b553 [Nano] Add a generalized how-to guide for accelerate PyTorch cv data process pipeline (#7125)
* Restyle blockquote elements in web

* Add a generalized how-to section for preprocessing, including the data process accelerastion for PyTorch

* Small fix

* Update based on comments and small typo fixes

* Small fixes
2023-01-05 18:07:10 +08:00
Yuwen Hu
bfca337d09 [Nano] Add how-to guide for TensorFlow Keras training using bf16 (#7169)
* Add basic doc structure for bf16 tf training how-to guide, and change the incorrect order of tf inference guides in toc

* Add how-to guide for tf bf16 training

* Add warning box for tf bf16 hardware limitations

* Add a print message to show the default policy of model after unpatch

* Small fixes

* Small github action fixes for tf bf16 training how-to guide

* diable action test for tf bf16 train for now, due to the core dumped problem on platforms without AVX512

* Updated based on comments
2023-01-05 17:59:43 +08:00
YingzhePeng
3fd27f51a8 Automerge for updating the url. (#7164)
* update

* add automeger yaml file.

* update

* change the job name
2023-01-05 11:55:21 +08:00
Henry Ma
18ae409b7c [Nano] add how-to-guide for tensorflow inference by onnxruntime and openvino (#7149)
* Feat(docs): add how-to-guide for tensorflow inference by onnxruntime and openvino

* fix bugs for index.rst

* revise according to PR comments

* revise minor parts according to PR comments

* revise bugs  according to PR comments
2023-01-04 23:43:48 +08:00
Yishuo Wang
ab9a3b69fb Nano: Add CUDA patch key feature (#7089) 2023-01-04 10:53:27 +08:00
Junwei Deng
56e94eda59 Chronos: add forecaster alg choose guide and some cleaning for how to guide (#7139)
* fix format

* fix

* update

* update
2023-01-03 15:00:27 +08:00
Ruonan Wang
925874b2cd Nano: improve Howto guide of InferenceOptimizer.optimize (#6924)
* update howto guide for optimizer

* update export model

* update typo

* update based on comments

* fix bug of get_best_model without validation data

* update ut

* update

* update

* fix 600s

* fix
2023-01-03 14:08:05 +08:00
Henry Ma
614d2ab289 Nano: fix some typos of web documentation (#7113) 2023-01-03 10:28:32 +08:00
Kai Huang
189a2f5179 Update Orca How-to index (#7137)
* update index

* fix style

* fix ray

* fix

* update
2022-12-30 17:11:11 +08:00
Kai Huang
264451c6bd Merge Orca quick starts and how to (#7133)
* add tf2 to howto

* update tf2

* remove

* modify sidebar

* remove quickstart

* minor
2022-12-30 16:05:15 +08:00
Yishuo Wang
6375e36f00 Nano: upgrade openvino to 2022.3.0 and torchmetics to 0.11.0 (#7091) 2022-12-29 17:35:37 +08:00
Yuwen Hu
c66cca0c62 [Nano] Add more key features regarding TorchNano and @nano for PyTorch training (#7072)
* Add more key features regarding TorchNano and @nano for pytorch training

* Small fixes

* Remove the Overview title

* Add auto_lr in related notes

* Update based on comments
2022-12-27 16:52:49 +08:00
liangs6212
da7b30529b Nano: Update the Nano installation panel (#7015)
* update installation panel

* fix typo

* fix typo again

* fix typo

* experimental change

* fix typo

* fix known issues

* update

* update subsections

* update typo

* update according to comment

Co-authored-by: TheaperDeng <theaperdeng@outlook.com>
2022-12-26 15:43:36 +08:00
Yuwen Hu
37b0c6fa50 [Nano] How-To Guides: Convert to TorchNano & use @nano decorator (#5984)
* Add how to guide: How to convert your PyTorch code to use TorchNano for training acceleration

* Small nano how-to index format update for openvino inference

* Update based on comments

* Updated based on comments

* Add how-to guide: How to wrap a PyTorch training loop through @nano decorator

* Add reference to TorchNano guide in @nano guide

* Some small fixes and updates

* Small typo fix: bulit -> built

* Updates based on comments

* Remove validation dataloader based on comments

* Order change of two guides

* Update based on comments
2022-12-26 15:36:53 +08:00
Ruonan Wang
14cf4aff72 Nano: Troubshooting guide for BigDL-Nano (#6910)
* add troubshooting guide

* add more cases

* update style

* update

* update style

* update two cases

* update

* add two issue
2022-12-26 10:02:44 +08:00
Yuwen Hu
6bc720d26a [Nano] Add API doc for bigdl.nano.pytorch.nano decorator (#7068)
* Add Api doc for bigdl.nano.pytorch.nano decorator

* Fix Python styles

* Small fix

* Remove strange 'method' in InferenceOptimizer api doc
2022-12-26 09:25:57 +08:00
Ruonan Wang
935fc48354 Nano: update PyTorch inference key feature doc (#6938)
* upddate installation

* update

* update runtime acceleration

* update link in rst

* add bf16 quantization and optimize()

* update based on comment

* update

* update based on comment
2022-12-22 13:34:18 +08:00
Yishuo Wang
3b6c56b505 Nano: update nano known issue (#7063) 2022-12-22 09:53:05 +08:00
Yishuo Wang
0a62df22aa Nano: quick fix typo (#7064) 2022-12-21 16:31:15 +08:00
Junwei Deng
dea7b8f9f2 Nano: update train pytorch key feature doc (#6906)
* update train doc

* update train page
2022-12-19 15:51:19 +08:00
binbin Deng
217e8a1c2b Chronos: update python3.8 support in document (#6951)
* update

* update

* fix

* fix
2022-12-19 15:39:30 +08:00
Junwei Deng
f304d33168 Nano: add patching function for dtype (#6947)
* add patching function for dtype

* update

* fix pep8

* update the parameter name
2022-12-16 16:16:12 +08:00
Kai Huang
6b65968e3c Remove save entire model in doc (#6986) 2022-12-14 17:04:15 +08:00
Yuwen Hu
12487a4c5a Hide ALL_INFERENCE_ACCELERATION_METHOD in api doc rendering for bigdl.nano.tf.keras.InferenceOptimizer (#6973) 2022-12-14 13:01:53 +08:00
Ruonan Wang
b3feb53c4a Nano: add key feature and how to guide for context manager (#6897)
* add key feature and how to guide for context manager

* update key feature for multi models

* update based on comment

* update

* update based on comments

* update

* update
2022-12-13 16:57:52 +08:00
Cengguang Zhang
de88f1e6b3 doc: add load to pytorch estimator quickstart. (#6920)
* doc: add load to pytorch estimator quickstart.

* fix: fix style.

* fix typo

* fix wording.
2022-12-13 14:31:15 +08:00
Yishuo Wang
664dfbe7ef Nano: Add key feature and how to guide for multi-instance inference (#6901) 2022-12-13 14:18:26 +08:00
Ziyao Peng
99d6decfeb Orca docs: The mv command in the document k8s.md needs to be modified (#6939) 2022-12-13 10:51:43 +08:00
Hu, Zhaojie
9fae00dafd Chronos: Update doc to illustrate deploy mode in TSDataset (#6871)
* update doc to illustrate deploy mode

* fix

* revise howto guide
2022-12-13 09:44:30 +08:00
joan726
414c220111 Update presentations.md and powered-by.md (#6699) 2022-12-12 16:52:33 +08:00
Yishuo Wang
7e180d028e Nano: update tensorflow examples (#6935) 2022-12-12 13:56:05 +08:00
Ziyao Peng
56a2d8f1cd Orca docs: The mv command in the document needs to be modified (#6927)
* Update yarn.md

* Update yarn.md

* Update yarn.md

* Update yarn.md
2022-12-12 09:52:38 +08:00
binbin Deng
eceedbe196 Chronos: update benchmark tool guide to demonstrate new functions (#6882) 2022-12-09 17:34:44 +08:00
Cengguang Zhang
7a8bd4cee5 Doc: copy faq to known issues. (#6915)
* feat: copy faq to known issues.

* fix: add ray issues section.
2022-12-08 16:57:18 +08:00
Yishuo Wang
7e2742cace Nano: Update examples and tutorials (#6888) 2022-12-08 11:23:48 +08:00
Hu, Zhaojie
044785173e Chronos: Update chronos-nightly Dockerfile and notebook (#6899)
* update docker file and notebook

* fix comment

* fix comment
2022-12-08 09:45:55 +08:00
liangs6212
ae7160790d Doc: Nano installation panel (#6852)
* add nano installation panel

* try fix

* try fix again

* fix typo

* add versions

* try fix second

* try fix second again

* fix col width

* rollback

* rollback again

* fix syntax error

* fix syntax error again

* fix syntax error last

* fix syntax

* fix syntax

* fix syntax again

* add some comment

* try fix

* try fix

* try fix again

* try fix

* fix typo

* fix some error

* fix typo

* some optimization

* change width

* change width again

* change width again

* change width again

* last width change

* fix description error

* change inference default to yes

* switch inferenceyes and inferenceno
2022-12-07 14:30:11 +08:00
Cengguang Zhang
b96d39db4a Orca: update yarn tutorial (#6857)
* doc: 1.  update yarn tutorial
2. upload deployment diagram.

* fix: code style.

* fix: remove unnecessary changes.

* fix: code style.

* fix: fix wording.

* fix: fix wording.
2022-12-02 17:09:53 +08:00
Kai Huang
fdcf509681 Update doc style (#6841)
* minor

* trial

* change to dot
2022-12-01 17:54:33 +08:00
Cengguang Zhang
536f84cc34 Doc: add how-to guides to navigation box. (#6842)
* feat: update index.rst.

* fix: fix order.

* fix: delete unecessary line.
2022-12-01 17:36:53 +08:00
Kai Huang
bf96cada20 Update yarn doc (#6840)
* update

* update

* update install

* minor
2022-12-01 16:54:35 +08:00
Junwei Deng
87507ba715 Nano: add partial m-series chip support for tensorflow (training and installation) (#6520)
* add m1 chip support

* fix setup
2022-11-30 13:18:00 +08:00
Jiao Wang
81a9f8147c [PPML] Azure Gramine documentation (#6627)
* update az gramine doc

* add python example

* update

* update

* update
2022-11-29 14:48:57 -08:00
Xiangyu Tian
bd112d6cf3 [PPML] Add Azure Attestation part to Attestation Basic Docs (#6781)
* Init

* Fix

* Refine

* Refine

* Refine
2022-11-28 16:08:36 +08:00
Qiyuan Gong
3571247d65 [PPML] Attestation basic (#6778)
* Add attestation basic doc to readthedoc
2022-11-28 13:26:52 +08:00
WangJun
bf5ccae4ef [Nano] add how to guide save and load jit, ipex, onnx, openvino (#6659)
* add how to guide:
* acclerate with jit_ipex
* save and load jit, ipex, onnx, openvino
* add these five above .nblink files
;

* add index of sl files

* clear all the output & fix the bug of title

* remove extra blank indent

* format the jupter with prettier

* fix the bug of error words

* add blank line before unorder list

* * remove the normal inference in accelerate using jit/ipex;
* add note to example why we should pass in the orginal model to get the optimized one in sl ipex

* fix:new pip install shell cmd  & indent improve
2022-11-25 15:47:15 +08:00
liangs6212
cd04f7dbdc Chronos: Update installation panel for inference option (#6742)
* first commit

* add inference button

* fix typo

* fix typo again

* fix syntax error

* try fix

* rollback

* try fix again

* add comment

* fix installation error

* rename

* try fix

* rollback

* fix error

* fix error again

* try fix
2022-11-25 15:26:35 +08:00
Qiyuan Gong
621168ce2e [PPML] Move dev guide to tutorial (#6765)
* Move dev guide to tutorial & examples.
2022-11-25 15:02:11 +08:00
binbin Deng
df775d172e Chronos: benchmark tool user guide (#6668) 2022-11-25 11:25:34 +08:00
Qiyuan Gong
1b46df7e65 [PPML] Refine readthedoc development guide (#6685)
* Add migrate without code change.
* Add SGX/TDX design guide.
* Refine link & add description.
2022-11-25 08:36:47 +08:00
Cengguang Zhang
ebe75782dd Doc: add download link and script in orca installation. (#6750)
* feat: add download orca in installation.

* fix: fix wording.

* fix: fix typo.

* fix: fix wording.

* fix: fix link and add scripts.

* fix: fix wording.

* fix: fix wording.

* fix: add empty check for env variables.

* fix: fix echo.

* fix: update download link

* fix: fix style.

* fix: fix style.

* fix: fix wording and style.

* fix: fix style.

* fix: fix style.

* fix: fix style.
2022-11-24 16:40:57 +08:00
Yuwen Hu
988bdc18cf Remove DEFAULT_INFERENCE_ACCELERATION_METHODfor InferenceOptimizer.optimize pniapi doc (#6745) 2022-11-24 11:26:52 +08:00
Kai Huang
982d3ac786 Update PyTorch Estimator doc (#6727)
* update doc

* update code doc

* minor

* minor

* fix typo
2022-11-23 19:40:23 +08:00
Cengguang Zhang
745aaef5df Orca: update doc for pytorch estimator backend. (#6723)
* feat: update doc for pytorch estimator backend.

* fix: remove ray global dependency.

* rm: remove .swp file.

* fix: revert ray import fix.

* fix: replace model and optimizer with  model_creator and optimizer_creator.

* fix: delete unnecessary links.

* fix: update index.md

* fix: fix code style of quickstart and jupyter notebook.

* fix: remove criterion.

* fix: fix dataset description.

* fix: fix code style.

* fix: fix code style.

* fix: update batch size and link

* fix: update link

* fix: fix code style.

* fix: fix unnecessary code.

* fix: fix typo.

* fix: use relative path.

* fix: fix typo.

* fix: fix link.
2022-11-23 19:09:01 +08:00
Cengguang Zhang
ca3b088522 Doc: update sidebar and quickstarts order. (#6743)
* doc: update sidebar and quickstarts order.

* fix: adjust quickstart order.

* fix: fix typo.

* fix: fix typo.
2022-11-23 18:57:11 +08:00