mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
* support bf16 in AmpOptimWrapper * add docstring * modify docs * add unittests for bf16 in AmpOptimWrapper * fix type * fix to pass ci * fix ut skip logic to pass ci * fix as comment * add type hints * fix docstring and add warning information * remove check for pytorch>=1.6 in unittest * modify unittest * modify unittest * remove torch.float32 && torch.float64 from valid dtypes * fix as comments * minor refine docstring * fix unittest parameterized to pass CI * fix unittest && add back torch.float32, torch.float64
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