1. 07 Aug, 2023 1 commit
    • WRH's avatar
      [Refactor] Support multi-session chat (#178) · 4bd0b487
      WRH authored
      * add some dist utils
      
      * add model utils
      
      * add termio and basicstreamer
      
      * typo
      
      * fix world size
      
      * refactor chat and tested llama1
      
      * add internlm adapter and support stoping criteria
      
      * concat with id for internlm
      
      * update docstring
      
      * update and support llama2
      
      * typo
      
      * move docs to docs
      
      * update docstring of session manager
      
      * update docstring
      
      * update docs
      
      * fix accel none in model
      
      * fix and add test for tensor broadcast
      
      * fix session using typing to check type
      
      * add docstrings and comprehensive condition test
      
      * unit test for dist
      
      * fix session
      
      * split unittests of utils
      
      * typo
      
      * update control flow of accel
      
      * move test model
      
      * remove main in unittest
      
      * remove some log
      
      * remove some comments
      4bd0b487
  2. 20 Jul, 2023 1 commit
  3. 12 Jul, 2023 1 commit
  4. 11 Jul, 2023 1 commit
    • WRH's avatar
      [Fix] Remaining Issues in #19 (#75) · a6ac981d
      WRH authored
      * previous merged
      
      * add chinese
      
      * support torch<2
      
      * add a docstring
      
      * fix typo
      
      * rename torch submodule
      
      * rename to pytorch
      
      * rename in readme
      a6ac981d
  5. 06 Jul, 2023 1 commit
    • WRH's avatar
      [Feature] Add a torch client (#19) · 009075d8
      WRH authored
      * draft torch client
      
      * deal with space of tokenizer
      
      * support tensor parallel
      
      * fix
      
      * fix
      
      * move folder
      
      * move instruction to readme
      
      * move to torch/
      
      * rename client to chat
      
      * very bad response
      
      * stash
      
      * rename streamer
      
      * support internlm
      
      * change default args
      
      * remove test
      
      * improve instructions
      
      * remove module docstring
      
      * decrease header level of torch model
      009075d8