1. 15 Jun, 2022 1 commit
  2. 18 May, 2022 1 commit
  3. 24 Oct, 2021 1 commit
    • Zaida Zhou's avatar
      [Feature] Upload checkpoints and logs to ceph (#1375) · 32e09f49
      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
      
      * [Docs] Upload checkpoint to petrel oss
      
      * add infer_client method
      
      * Support uploading checkpoint to petrel oss
      
      * add check_exist method
      
      * refactor CheckpointHook
      
      * support uploading logs to ceph
      
      * rename var client to file_client
      
      * polish docstring
      
      * enhance load_from_ceph
      
      * refactor load_from_ceph
      
      * refactor TextLoggerHook
      
      * change the meaning of out_dir argument
      
      * fix test_checkpoint_hook.py
      
      * add join_paths method
      
      * remove join_paths and add _format_path
      
      * enhance unittest
      
      * refactor unittest
      
      * add a unittest for EvalHook when file backend is petrel
      
      * singleton pattern
      
      * fix test_clientio.py
      
      * deprecate CephBackend
      
      * add warning in load_from_ceph
      
      * fix type of out_suffix
      
      * enhance docstring
      
      * refactor unittest for petrel
      
      * refactor unittest for disk backend
      
      * update io.md
      
      * add concat_paths method
      
      * fix CI
      
      * mock check_exist
      
      * improve docstring
      
      * improve docstring
      
      * 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
      
      * rename check_exists to exists
      
      * refactor code and polish docstring
      
      * fix windows ci
      
      * add comment and polish docstring
      
      * 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
      
      * fix typo
      
      * fix error when mocking PetrelBackend
      
      * deprecate the conversion from Path to str
      
      * add docs for loading checkpoints with FileClient
      
      * rename keep_log to keep_local
      
      * refactor map_path
      
      * add _ensure_methods to ensure methods have been implemented
      
      * fix list_dir_or_file
      
      * rename _ensure_method_implemented to has_method
      
      * refactor
      
      * polish information
      
      * format information
      32e09f49
  4. 08 Aug, 2021 1 commit
  5. 28 Feb, 2021 1 commit
  6. 06 Nov, 2020 1 commit
  7. 15 Oct, 2020 1 commit
    • Wang Xinjiang's avatar
      Add Sync buffer in CheckpointHook (#588) · 50a33950
      Wang Xinjiang authored
      * Add Sync buffer in CheckpointHook
      
      * add reduce_params in fp16_utils.py
      
      * change default value of sync_buffer to False
      
      * Add world size check
      
      * reset sync_buffer to false
      
      * fix world_size
      
      * Move dist functions into dist_utils.py
      
      * fix small bugs
      
      * Deprecation compatibility
      
      * Change according to comments
      50a33950
  8. 11 Jun, 2020 1 commit
    • Harry's avatar
      Add IterBasedRunner (#314) · 67a26da9
      Harry authored
      
      
      * feat: add IterBasedRunner
      
      * fix: unittest
      
      * feat: more unittest
      
      * fix: expose dataloader len
      
      * minor updates of BaseRunner
      
      * refactor: remove CosineRestartLrUpdaterHook
      
      * style: add docstring
      
      * refactor: update IterTextLoggerHook: fstring and exp_name
      
      * fix: epoch_runner unittest
      
      * refactor: remove IterBasedTextLogger
      
      * fix: old IterTextLoggerHook issue
      
      * refactor: remove __len__ of IterLoader
      
      * feat: add IterBasedRunner to init
      
      * feat: add __len__ to IterLoader
      
      * fix some docstrings
      
      * refactor: use is_parallel_module
      
      * fix: import issue
      
      * fix: runner unittest missing logger
      
      * fix checkpoints
      
      * feat: add by_epoch default value to IterBaseRunner regitering loggger_hook
      
      * refactor: remove setting by_epoch in log_config
      
      * minor refactoring
      
      * docs: add docstring
      
      * fix: remove unused doc
      
      * update the log info for saving checkpoints
      Co-authored-by: default avatarKai Chen <chenkaidev@gmail.com>
      67a26da9
  9. 01 May, 2020 1 commit
  10. 17 Apr, 2020 1 commit
  11. 29 Feb, 2020 1 commit
  12. 10 Jan, 2020 1 commit
  13. 12 Dec, 2019 1 commit
    • Kai Chen's avatar
      Add dist utils (#157) · ead4bc39
      Kai Chen authored
      * add dist utils
      
      * rename due to a typo
      
      * bump version to 0.2.15
      
      * fix imports
      ead4bc39
  14. 30 Jul, 2019 1 commit
    • Kai Chen's avatar
      Add yapf and isort to travis (#96) · eae81c1e
      Kai Chen authored
      * add yapf and isort to travis
      
      * minor formatting
      
      * remove blank lines
      
      * skip unit tests for progressbar when python2
      
      * update travis to ubuntu 16.04
      
      * use a newer version ffmpeg
      
      * add -y to add-apt-repository
      eae81c1e
  15. 07 Oct, 2018 1 commit
  16. 04 Oct, 2018 1 commit
  17. 21 Sep, 2018 1 commit
  18. 28 Aug, 2018 1 commit