mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
* enable compile configurations to support torch.compile in Runner * enable compilation in train, val and test * fix as comments * add docstring to illustrate usage * minor refine error message * add unittests * fix ut skip * add logging message to inform users * compile `train_step`, `val_step`, `test_step` instead * fix as comments * revert to compile `train_step` only due to pt2 issue * add documentation about torch.compile
Build Documentation
-
Clone MMEngine
git clone https://github.com/open-mmlab/mmengine.git cd mmengine
-
Install the building dependencies of documentation
pip install -r requirements/docs.txt
-
Change directory to
docs/en
ordocs/zh_cn
cd docs/en # or docs/zh_cn
-
Build documentation
make html
-
Open
_build/html/index.html
with browser