Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync #1

Merged
merged 21 commits into from
Mar 18, 2023
Merged

sync #1

merged 21 commits into from
Mar 18, 2023

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    aeb5c45 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. [Enhancement] Add FUNCTIONS root Registry (open-mmlab#983)

    * [Enhancement] Add FUNCTIONS Registry
    
    * Refine as comment
    
    * clean the code
    HAOCHENYE authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    44f30f6 View commit details
    Browse the repository at this point in the history
  2. [Enhancement] Save the memory to visualization backends (open-mmlab#974)

    * add memory in other log
    
    * fix
    
    * fix
    
    * keep empty line
    enkilee authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    4585c36 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12e3d4e View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. [Docs] Translate "how to set random seed" (open-mmlab#930)

    * translate random_seed init
    
    * try fix lint err
    
    * update en/index.rst
    
    * translate zhihu answer
    
    * Update docs/en/common_usage/set_random_seed.md
    
    * Update docs/en/common_usage/set_random_seed.md
    
    * Update docs/en/common_usage/set_random_seed.md
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Update docs/en/common_usage/set_random_seed.md
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Update docs/en/common_usage/set_random_seed.md
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Update docs/en/common_usage/set_random_seed.md
    
    Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
    
    * Update docs/en/common_usage/set_random_seed.md
    
    Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
    
    * Update docs/en/common_usage/set_random_seed.md
    
    Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
    
    * Update docs/en/common_usage/set_random_seed.md
    
    Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
    
    * Update docs/en/common_usage/set_random_seed.md
    
    Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
    
    * reorg last part
    
    * minor refine
    
    * Update set_random_seed.md
    
    * fix lint
    
    ---------
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
    Co-authored-by: zhouzaida <zhouzaida@163.com>
    5 people authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    6e58c0d View commit details
    Browse the repository at this point in the history
  2. [Fix] Support calculate the flops of matmul with single dimension m…

    …atrix (open-mmlab#970)
    
    * Support calculate the flops of matmul
    
    * Remove unnecessary type ignore
    
    * Update mmengine/analysis/jit_handles.py
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    HAOCHENYE and zhouzaida authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    8beacd3 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. [Enhancement] Silence error when ManagerMixin built instance with d…

    …uplicate name. (open-mmlab#990)
    
    * [Fix]Silence error when ManagerMixin built duplicate name instance
    
    * [Fix]Silence error when ManagerMixin built duplicate name instance
    
    * Update mmengine/utils/manager.py
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    HAOCHENYE and zhouzaida authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    7a074fa View commit details
    Browse the repository at this point in the history
  2. [Fix] Fix duplicated warning (open-mmlab#992)

    * [Fix] Fix repeated warning
    
    * Add type hint
    
    * Fix unit test
    
    * Rename recorder_dict to seen
    
    * Fix as comment
    HAOCHENYE authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    6ea23a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2023

  1. [Feature] Support torch.compile since PyTorch2.0 (open-mmlab#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
    C1rN09 authored Mar 12, 2023
    Configuration menu
    Copy the full SHA
    0d25625 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. [Enhancement] Support writing data to vis_backend with prefix (open…

    …-mmlab#972)
    
    * Log with prefix
    
    * Fix test of loggerhook
    
    * minor refine
    
    * minor refine
    
    * Fix unit test
    
    * clean the code
    
    * deepcopy in method
    
    * replace regex
    
    * Fix as comment
    
    * Enhance readable
    
    * rename reserve_prefix to remove_prefix
    
    * Fix as comment
    
    * Refine unit test
    
    * Adjust sequence
    
    * clean the code
    
    * clean the code
    
    * revert renaming reserve prefix
    
    * Count the dataloader length in _get_dataloader_size
    HAOCHENYE authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    8063d2c View commit details
    Browse the repository at this point in the history
  2. [Docs] Translate "Model Complexity Analysis" to Chinese (open-mmlab#969)

    * [Doc] Translate model complexity analysis into Chinese.
    
    * [Doc] Translate model complexity analysis into Chinese.
    
    * [Docs] fix the description of the interface
    
    * update  introduction
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Update description of FLOPs
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Update activation
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Update model description
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Beautify code style
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Modify examples
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Upadate output description
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Update docs/zh_cn/advanced_tutorials/model_analysis.md
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    * Replace FLOPs with flop; fix typo
    
    * Fix typo
    
    * fix lint error
    
    * Update docs/zh_cn/advanced_tutorials/model_analysis.md
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    
    * Update docs/zh_cn/advanced_tutorials/model_analysis.md
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    
    * Update docs/zh_cn/advanced_tutorials/model_analysis.md
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    
    * Update docs/zh_cn/advanced_tutorials/model_analysis.md
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    
    * Update docs/zh_cn/advanced_tutorials/model_analysis.md
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    
    * Update docs/zh_cn/advanced_tutorials/model_analysis.md
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    
    * Update model_analysis.md
    
    * Update model_analysis.md
    
    * Apply suggestions from code review
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    3 people authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    330985d View commit details
    Browse the repository at this point in the history
  3. [Enhancement] Support dumping logs of different ranks (open-mmlab#968)

    * Add hostname
    
    * Update mmengine/logging/logger.py
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    
    * Fix lint
    
    * support record device id
    
    * Fix unit test
    
    * Clean the code
    
    * Fix as comment
    
    * Fix as comment
    
    * Fix unit test
    
    * Update doc
    
    * Fix unit test
    
    * Adjust sequence
    
    * Replace \ with ()
    
    * remove unnecessary ()
    
    * does not change filename in single gpu training
    
    * Fix ci
    
    * fix docs
    
    * Fix as comment
    
    ---------
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    HAOCHENYE and zhouzaida authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    395ebf8 View commit details
    Browse the repository at this point in the history
  4. fix lint (open-mmlab#993)

    zhouzaida authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    60872c3 View commit details
    Browse the repository at this point in the history
  5. [Fix] Fix AMP in Ascend and support using NPUJITCompile environment (o…

    …pen-mmlab#994)
    
    * add npu device support
    
    * add npu device support
    luomaoling authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    8177ef2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    789330e View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. [Fix] Fix inferencer gets wrong configs path (open-mmlab#996)

    * [Fix] Fix inferencer get wrong configs path
    
    * Update CI
    
    * Fix indent
    
    * Fix CI arguments
    
    * gpu test in CI
    
    gpu test in CI
    
    * require lint
    
    * Adjust pytorch version and cuda version
    
    * Fix docker
    
    * Fix docker syntax
    
    * Use bach -c
    
    * Use bach -c
    
    * Replace is_installed with is_imported
    
    * Fix
    
    * Fix PYTHONPATH
    HAOCHENYE authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    ad33a7d View commit details
    Browse the repository at this point in the history
  2. [Fix] Fix pytorch2.0 does not support sys._getframe used to remove pr…

    …ivate keys (open-mmlab#979)
    
    * [Fix] fix pytorch2.0 not support sys._getframe to remove private key
    
    * Update mmengine/structures/base_data_element.py
    
    ---------
    
    Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
    Harold-lkk and zhouzaida authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    67ce04d View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. Bump version to v0.7.0 (open-mmlab#999)

    * Bump version to v0.7.0
    
    * Minor refine
    
    * Fix as comment
    
    * Add docs link
    
    * update release date
    HAOCHENYE authored Mar 16, 2023
    Configuration menu
    Copy the full SHA
    ef4c68d View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Configuration menu
    Copy the full SHA
    2955ddb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff27b72 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2023

  1. Configuration menu
    Copy the full SHA
    8280e6c View commit details
    Browse the repository at this point in the history