mmengine/docs/en/common_usage
Qian Zhao 0d25625ba2
[Feature] Support torch.compile since PyTorch2.0 (#976)
* 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
2023-03-12 18:26:43 +08:00
..
debug_tricks.md [Docs] Translate "Debug Tricks" to English (#953) 2023-03-01 19:29:04 +08:00
epoch_to_iter.md [Docs] Add the document for the transition between IterBasedTraining and EpochBasedTraining (#926) 2023-02-21 21:12:38 +08:00
model_analysis.md [Docs] Translate model analysis document to English (#956) 2023-03-05 21:03:26 +08:00
resume_training.md [Docs] Move examples to a new directory (#911) 2023-02-07 17:03:35 +08:00
save_gpu_memory.md [Docs] Move examples to a new directory (#911) 2023-02-07 17:03:35 +08:00
set_interval.md [Docs] Add a document about setting interval (#964) 2023-03-01 19:28:14 +08:00
set_random_seed.md [Docs] Translate "how to set random seed" (#930) 2023-03-09 17:23:12 +08:00
speed_up_training.md [Feature] Support torch.compile since PyTorch2.0 (#976) 2023-03-12 18:26:43 +08:00