ipex-llm/docs/readthedocs
Yuwen Hu 0aef35a965 [LLM] Improve LLM doc regarding windows gpu related info (#9880)
* Improve runtime configuration for windows

* Add python 310/311 supports for wheel downloading

* Add troubleshooting for windows gpu

* Remove manually import ipex due to auto importer

* Add info regarding cpu_embedding=True on iGPU

* More info for Windows users

* Small updates to API docs

* Python style fix

* Remove tip for loading from saved optimize_model for now

* Updated based on comments

* Update win info for multi-intel gpus selection

* Small fix

* Small fix
2024-01-11 14:37:16 +08:00
..
_build add docs 2021-10-12 11:06:44 +08:00
image Add Orca workflow image (#8049) 2023-04-14 15:38:32 +08:00
source [LLM] Improve LLM doc regarding windows gpu related info (#9880) 2024-01-11 14:37:16 +08:00
make.bat add docs 2021-10-12 11:06:44 +08:00
Makefile add docs 2021-10-12 11:06:44 +08:00
README.md cicd: add pip mirror https://pypi.python.org/simple for bigdl related package (#6827) 2022-12-01 20:47:36 +08:00

BigDL Documentation

This is the repository for BigDL documentation, which is hosted at https://bigdl.readthedocs.io/en/latest/

Local build

1. Set up environment

To build BigDL documentation locally for testing purposes, it is recommended to create a conda environment with specified Python version:

conda create -n docs python=3.7
conda activate docs

Then inside BigDL/docs/readthedocs folder, install required packages:

cd docs/readthedocs
# for reproducing ReadtheDocs deployment environment
pip install --upgrade pip "setuptools<58.3.0"
pip install --upgrade pillow mock==1.0.1 "alabaster>=0.7,<0.8,!=0.7.5" commonmark==0.9.1 recommonmark==0.5.0 sphinx sphinx-rtd-theme "readthedocs-sphinx-ext<2.3"

# for other documentation related dependencies
wget https://raw.githubusercontent.com/analytics-zoo/gha-cicd-env/main/python-requirements/requirements-doc.txt
pip install -r requirements-doc.txt

Note

: When adding new sphinx extensions for our documentation, the requirements file located here should be modified.

2. Build the documentation

You can then build the documentation locally through:

make html

Tips: If you meet building error Notebook error: Pandoc wasn't found, try conda install pandoc to resolve it.

Note

: The built files inside docs/readthedocs/_build/html dictionary should not be committed, they are only for testing purposes.

3. Test the documentation

To view the documentation locally, you could set up a testing server:

cd _build/html
python -m http.server 8000

The documentation can then be reached at http://localhost:8000/.

Note

: If you are setting up the testing server on a remote machine, it is recommended to forward port 8000 through VSCode, so that you could reach http://localhost:8000/ normally as on your local machine.