1. 09 Feb, 2022 1 commit
  2. 22 Dec, 2021 1 commit
    • Jiazhen Wang's avatar
      [Fix] Fix some warnings in unittest (#1522) · fb486b96
      Jiazhen Wang authored
      * [Fix] fix some warnings in unittest
      
      * [Impl] standardize some warnings
      
      * [Fix] fix warning type in test_deprecation
      
      * [Fix] fix warning type
      
      * [Fix] continue fixing
      
      * [Fix] fix some details
      
      * [Fix] fix docstring
      
      * [Fix] del useless statement
      
      * [Fix] keep compatibility for torch < 1.5.0
      fb486b96
  3. 14 Dec, 2021 1 commit
  4. 19 Nov, 2021 1 commit
  5. 23 Oct, 2021 1 commit
    • Zaida Zhou's avatar
      [Feature] Loading objects from different backends and dumping objects to different backends (#1330) · 5b5b47fc
      Zaida Zhou authored
      * [Feature] Choose storage backend by the prefix of filepath
      
      * refactor FileClient and add unittest
      
      * support loading from different backends
      
      * polish docstring
      
      * fix unittet
      
      * rename attribute str_like_obj to is_str_like_obj
      
      * add infer_client method
      
      * add check_exist method
      
      * rename var client to file_client
      
      * polish docstring
      
      * add join_paths method
      
      * remove join_paths and add _format_path
      
      * enhance unittest
      
      * refactor unittest
      
      * singleton pattern
      
      * fix test_clientio.py
      
      * deprecate CephBackend
      
      * enhance docstring
      
      * refactor unittest for petrel
      
      * refactor unittest for disk backend
      
      * update io.md
      
      * add concat_paths method
      
      * improve docstring
      
      * improve docstring
      
      * add isdir and copyfile for file backend
      
      * delete copyfile and add get_local_path
      
      * remove isdir method of petrel
      
      * fix typo
      
      * add comment and polish docstring
      
      * polish docstring
      
      * rename _path_mapping to _map_path
      
      * polish docstring and fix typo
      
      * refactor get_local_path
      
      * add list_dir_or_file for FileClient
      
      * add list_dir_or_file for PetrelBackend
      
      * fix windows ci
      
      * Add return docstring
      
      * polish docstring
      
      * fix typo
      
      * fix typo
      
      * deprecate the conversion from Path to str
      
      * add docs for loading checkpoints with FileClient
      
      * refactor map_path
      
      * add _ensure_methods to ensure methods have been implemented
      
      * fix list_dir_or_file
      
      * rename _ensure_method_implemented to has_method
      5b5b47fc
  6. 20 Oct, 2021 1 commit
  7. 13 Oct, 2021 1 commit
  8. 24 Aug, 2021 1 commit
    • Wenwei Zhang's avatar
      [Feature] Add windows CI (#1023) · 979a355d
      Wenwei Zhang authored
      
      
      * add windows CI
      
      * clean versions
      
      * only allow pt1.7 on windows
      
      * fix windows install issue
      
      * add win cpu
      
      * fix win command
      
      * clean unnecessary command
      
      * resolve turbojpeg & tempfile on win
      
      * replace os.readlink with os.path.realpath
      
      * fix windows ci
      
      * close file before removing it
      
      * fix windows ci
      
      * fix symlink on windows
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * modify according to comment
      Co-authored-by: default avatarzhouzaida <zhouzaida@163.com>
      979a355d
  9. 23 Aug, 2021 1 commit
  10. 08 Aug, 2021 1 commit
  11. 23 Jul, 2021 1 commit
    • Haodong Duan's avatar
      [Improvement] Improve digit_version & use it for version_checking (#1185) · ef48a473
      Haodong Duan authored
      * improve digit_version & use it for version_checking
      
      * more testing for digit_version
      
      * setuptools >= 50 is needed
      
      * fix CI
      
      * add debuging log
      
      * >= to ==
      
      * fix lint
      
      * remove
      
      * add failure case
      
      * replace
      
      * fix
      
      * consider TORCH_VERSION == 'parrots'
      
      * add unittest
      
      * digit_version do not deal with the case if 'parrots' in version name.
      ef48a473
  12. 13 Jul, 2021 1 commit
  13. 29 Jun, 2021 1 commit
    • achaiah's avatar
      [Fix]: fix missing check of directory in scandir (#1110) · 21845db4
      achaiah authored
      
      
      * Missing check for dir in the 'else' clause
      
      Fixing issue when recursively scanning directories with filenames starting with '.'  Without this fix, the `if not entry.name.startswith('.') and entry.is_file()` logic falls through to the `else` clause which in the current code base will error out as it encounters '.' files (e.g. .DS_Store)
      
      * Updated code per comments
      
      * fixing indentation
      
      * fix indenterror and add comment
      
      * remove .DS_Store and add .file
      Co-authored-by: default avatarzhouzaida <zhouzaida@163.com>
      21845db4
  14. 25 Jun, 2021 2 commits
  15. 23 Jun, 2021 1 commit
  16. 10 May, 2021 1 commit
  17. 25 Apr, 2021 1 commit
  18. 10 Apr, 2021 1 commit
    • Jerry Jiarui XU's avatar
      add model registry (#760) · 375605fb
      Jerry Jiarui XU authored
      * add model registry
      
      * fixed infer scoep
      
      * fixed build func
      
      * add docstring
      
      * add md
      
      * support multi level
      
      * clean comments
      
      * add docs
      
      * fixed parent
      
      * add more doc
      
      * add value error, add docstring
      
      * fixed docs
      
      * change to local/global search
      
      * resolve comments
      
      * fixed test
      
      * update some docstring
      
      * update docs (minior)
      
      * update docs
      
      * update docs
      375605fb
  19. 25 Feb, 2021 1 commit
  20. 18 Feb, 2021 1 commit
  21. 08 Jan, 2021 1 commit
    • congee's avatar
      Add common testing function of MM repos (#743) · 905c9b43
      congee authored
      * add testing function
      
      add unittest for check_dict
      
      add unittest for the function in testing
      
      * polish docstring of testing.py
      
      rename some function
      
      * remove  in is_all_zeros
      
      * modify the comment of check_dict
      
      * modify the testing.py according to feedback
      
      * add test about numpy for function dict_contains_subset
      
      * applying unified style
      905c9b43
  22. 07 Jan, 2021 1 commit
  23. 28 Dec, 2020 1 commit
  24. 20 Dec, 2020 1 commit
    • Wang Xinjiang's avatar
      Allow to replace nested tuple and list via options (#731) · 96ebfa65
      Wang Xinjiang authored
      * Allow to replace nested tuple and list via options
      
      * Add comments
      
      * Fix single nested items
      
      * Simplify the code
      
      * Simplify the code
      
      * Simplify the code
      
      * Simplify the code
      
      * Update docstring
      
      * Update docstring
      
      * Support quotation mark
      
      * modify docstring
      96ebfa65
  25. 15 Dec, 2020 1 commit
    • lml131's avatar
      Lml/jit decorator (#673) · 9befc398
      lml131 authored
      * add jit decorator
      
      * add parrots_jit.py
      
      * modify test_parrots_jit.py
      
      * modify for lint
      
      * fix isort
      
      * skip test_parrots_jit.py when build without pytorch
      
      * try ci
      
      * rm log
      
      * fix double quote
      
      * modify for comments and use partial_shape instead of full_shape
      
      * fix for lint
      
      * small modify for parrots 0.9.0rc0
      
      * def skip no elena directly
      9befc398
  26. 08 Dec, 2020 1 commit
  27. 15 Oct, 2020 1 commit
  28. 16 Sep, 2020 1 commit
    • David de la Iglesia Castro's avatar
      Allow type to be default arg (#558) · 779f47ba
      David de la Iglesia Castro authored
      * Add test case for type defined using default_args
      
      * Refactor build_from_cfg
      
      * Update exception of missing type
      
      * pre-commit
      
      * Fix default_args is None
      
      * pre-commit
      
      * Bring back test
      
      * Update exception raising
      779f47ba
  29. 25 Aug, 2020 1 commit