1. 24 Aug, 2023 1 commit
  2. 22 Aug, 2023 1 commit
    • AllentDan's avatar
      Add Restful API (#223) · d5c10e7a
      AllentDan authored
      * add restful api
      
      * refine
      
      * add simple doc
      
      * lint
      
      * add uvicorn requirement
      
      * more args
      
      * add llama2
      
      * docstring
      
      * update doc
      
      * save
      
      * refine
      
      * lint
      
      * better decode
      
      * add v1/embedding
      
      * add GenerateRequest
      
      * add llama2 chat template
      
      * correct profiling
      
      * update documents
      
      * add length judge
      
      * add faq
      
      * update doc and rename req_que to req_queue
      
      * fix md link, use get_logger, fix sequence_end bug
      
      * use another doc link for go to avoid lint error
      
      * add api_client.py
      
      * update doc
      
      * update doc
      
      * update function interface
      
      * update FAQ
      
      * resolve comments
      d5c10e7a
  3. 21 Aug, 2023 1 commit
  4. 18 Aug, 2023 2 commits
  5. 16 Aug, 2023 2 commits
  6. 15 Aug, 2023 1 commit
  7. 14 Aug, 2023 4 commits
  8. 11 Aug, 2023 1 commit
    • pppppM's avatar
      [Feature] Support AWQ (#108) · d3dbe179
      pppppM authored
      * support kv cache offload
      
      * add dataloader docstring
      
      * complete gitignore
      
      * refactor collect mod fn
      
      * add calibration
      
      * fix lint
      
      * add observers and quantizers
      
      * fix lints
      
      * add global available mixin
      
      * fix lints
      
      * split batch inference
      
      * support smoothquant and awq
      
      * update export kv scales
      
      * fix lints
      
      * fix some bugs
      
      * update weight only usage
      
      * update usage
      
      * auto mapping and support smooth internlm
      
      * trust remote code
      
      * fix num head key error
      
      * fix bias error
      
      * align shape and pack order with llm-awq
      
      * modified according to LZHgrla's comments.
      
      * update gitignore
      
      * fix kv qparams export error
      
      * update usage
      
      * decouple calibrate and awq
      
      * update docstrings
      
      * update api name
      
      * update readme
      
      * update readme
      
      * update readme
      
      * update readme
      
      * update kv_qparams and readme
      
      * fix typos
      d3dbe179
  9. 07 Aug, 2023 5 commits
  10. 04 Aug, 2023 1 commit
  11. 03 Aug, 2023 1 commit
  12. 31 Jul, 2023 1 commit
  13. 28 Jul, 2023 1 commit
  14. 27 Jul, 2023 1 commit
  15. 26 Jul, 2023 1 commit
  16. 25 Jul, 2023 2 commits
  17. 24 Jul, 2023 1 commit
  18. 23 Jul, 2023 1 commit
    • lvhan028's avatar
      Refactor the chat template of supported models using factory pattern (#144) · 7b470f07
      lvhan028 authored
      * refactor model.py and support baichuan-7b
      
      * remove model_name
      
      * remove hard session_len
      
      * export tokenizer.py to target dir
      
      * remove model_name from client
      
      * remove model_name
      
      * update
      
      * correct throughput equation
      
      * fix session.response
      
      * update serving.md
      
      * update readme
      
      * update according to review comments
      
      * update
      
      * update
      
      * update
      
      * update
      7b470f07
  19. 22 Jul, 2023 1 commit
  20. 21 Jul, 2023 3 commits
  21. 20 Jul, 2023 3 commits
  22. 19 Jul, 2023 2 commits
  23. 18 Jul, 2023 3 commits
    • AllentDan's avatar
      update doc and requirements.txt (#119) · 4970d798
      AllentDan authored
      
      
      * update requirements
      
      * update transformers version
      
      * lint
      
      * comments
      
      * lint
      
      * update requirements
      
      * remove setup_requires
      
      ---------
      Co-authored-by: default avatardongchunyu <dongchunyu@pjlab.org.cn>
      4970d798
    • Kevin Wang's avatar
      print info copy-paste error (#133) · 8664946d
      Kevin Wang authored
      8664946d
    • q.yao's avatar
      Tensor Parallel python api (#82) · 7cbfe2ea
      q.yao authored
      * wip
      
      * profile disable tp
      
      * fix profile
      
      * lint
      
      * fix dlpack
      
      * remove comment
      
      * add tp flag
      
      * add session len check
      
      * add eos
      
      * remove tp and session len inputs
      
      * warp tokenizer
      
      * multithread load weight
      
      * update profile
      
      * refactor tokenizer
      
      * remove pre/post process
      
      * remove mpi4py requirement
      
      * remove
      
      * remove bind
      
      * remove mpi requirement
      
      * check backend_tokenizer
      7cbfe2ea