1. 17 May, 2024 1 commit
  2. 29 Apr, 2024 1 commit
  3. 21 Mar, 2024 1 commit
  4. 04 Mar, 2024 1 commit
  5. 12 Jan, 2024 1 commit
  6. 20 Dec, 2023 1 commit
  7. 18 Dec, 2023 1 commit
  8. 15 Dec, 2023 2 commits
    • q.yao's avatar
      Support turbomind bf16 (#803) · 3295eac3
      q.yao authored
      * Add bf16 template sp
      
      * prepare merge
      
      * add enable bf
      
      * add bf16 decode attention support
      
      * fix python lint
      
      * fix yapf
      
      * fix c format
      
      * c format11
      
      * fix cast
      
      * fix on sm<80
      
      * fix linux bf162 cast
      
      * fix type cast
      
      * fix lint
      
      * support from hf pretrained
      
      * fix pybind
      
      * fix converter
      
      * add trust remote code
      
      * fix comment
      
      * fix convert qwen
      
      * fix lint
      
      * fix baichuan
      
      * update weight map
      3295eac3
    • Chen Xin's avatar
      support image_embs input (#799) · b190521b
      Chen Xin authored
      * support image_embs input
      
      * add some checks
      
      * update interactive/config.pbtxt && TurbomindModelConfig
      
      * update docstring
      
      * refactor
      
      * support convert embeddings to bf16
      
      * update interactive/config.pbtxt
      
      * embeddings -> input_embeddings
      
      * use input_embedding_ranges
      
      * remove embedding_begins/ends
      b190521b
  9. 12 Dec, 2023 1 commit
  10. 11 Dec, 2023 3 commits
  11. 07 Dec, 2023 1 commit
  12. 06 Dec, 2023 1 commit
  13. 04 Dec, 2023 1 commit
    • Li Zhang's avatar
      Unify prefill & decode passes (#775) · 7f943a26
      Li Zhang authored
      * Unify prefill and decode passes
      
      * dynamic split-fuse
      
      * refactor
      
      * correct input count calculation
      
      * remove unused
      
      * lint
      
      * lint
      
      * fix msvc build
      
      * fix msvc build
      
      * fix msvc build
      
      * fix msvc build
      
      * fix msvc build
      
      * fix msvc build
      
      * fix msvc build
      
      * fix msvc build
      
      * fix msvc build
      7f943a26
  14. 02 Dec, 2023 1 commit
  15. 29 Nov, 2023 2 commits
  16. 28 Nov, 2023 1 commit
  17. 23 Nov, 2023 2 commits
  18. 22 Nov, 2023 1 commit
    • Chen Xin's avatar
      Support loading hf model directly (#685) · 6b00f623
      Chen Xin authored
      * turbomind support export model params
      
      * fix overflow
      
      * support turbomind.from_pretrained
      
      * fix tp
      
      * support AutoModel
      
      * support load kv qparams
      
      * update auto_awq
      
      * udpate docstring
      
      * export lmdeploy version
      
      * update doc
      
      * remove download_hf_repo
      
      * LmdeployForCausalLM -> LmdeployForCausalLM
      
      * refactor turbomind.py
      
      * update comment
      
      * add bfloat16 convert back
      
      * support gradio run_locl load hf
      
      * support resuful api server load hf
      
      * add docs
      
      * support loading previous quantized model
      
      * adapt pr 690
      
      * udpate docs
      
      * not export turbomind config when quantize a model
      
      * check model_name when can not get it from config.json
      
      * update readme
      
      * remove model_name in auto_awq
      
      * update
      
      * update
      
      * udpate
      
      * fix build
      
      * absolute import
      6b00f623
  19. 20 Nov, 2023 1 commit
  20. 14 Nov, 2023 1 commit
  21. 10 Nov, 2023 1 commit
    • Li Zhang's avatar
      TurboMind 2 (#590) · ab1767cf
      Li Zhang authored
      * refresh decoder attention kernel
      
      * block-level kv cache
      
      * `BlockManager` & `SequenceManager`
      
      * update
      
      * update
      
      * update
      
      * update
      
      * rename
      
      * GQA support
      
      * fix context length
      
      * GQA dispatch
      
      * kv8
      
      * tune
      
      * async stream cb
      
      * nvtx
      
      * config parsing
      
      * debug
      
      * optimize output cost
      
      * split-k decoding
      
      * minor
      
      * truncate `session_len` by available blocks
      
      * minor
      
      * license
      
      * fix
      
      * dispatch `cp.async`
      
      * fix linking
      
      * fix
      
      * fix deadlock
      
      * guard input length
      
      * correct start offset
      
      * fix prefill chunking
      
      * fix `cache_block_seq_len` param passing
      
      * fix `block_size` fmtstr
      
      * fix output tokens
      
      * fix batch resizing
      
      * fix masking of finished sequences
      
      * add debug util
      
      * free unused block early
      
      * add ntk scaling and logn scaling
      
      * cmake flags
      
      * fix typo
      
      * w4a16 for sm75
      
      * fix msvc build
      
      * fix msvc build
      
      * fix block verification
      
      * fix msvc build
      
      * use `std::shuffle`
      
      * fix lint
      
      * fix lint
      
      * fix lint
      
      * clear incoming buffer
      
      * clear finished requests
      
      * fix batch initialization
      
      * fix typo
      
      * fix typo
      
      * fix comparison
      ab1767cf
  22. 11 Oct, 2023 1 commit
  23. 09 Oct, 2023 1 commit
  24. 26 Sep, 2023 3 commits
  25. 18 Sep, 2023 2 commits
  26. 14 Sep, 2023 1 commit
  27. 11 Sep, 2023 1 commit
    • Lyu Han's avatar
      Support codellama (#359) · 65c662f9
      Lyu Han authored
      * tmp
      
      * add demo for codellama inference
      
      * update
      
      * update
      
      * update
      
      * update codellama.md
      
      * export rope_theta
      
      * update
      
      * update doc
      
      * fix client.py
      
      * define SamplingParam
      
      * rollback 'end'
      
      * rotary_emb_base to rotary_embedding_base
      
      * change to baichuan2-7b
      65c662f9
  28. 07 Sep, 2023 1 commit
  29. 01 Sep, 2023 1 commit
  30. 29 Aug, 2023 1 commit
  31. 24 Aug, 2023 1 commit
  32. 22 Aug, 2023 1 commit