text-generation-inference
[TENSORRT-LLM] - Implement new looper thread based backend
#2357
Merged

[TENSORRT-LLM] - Implement new looper thread based backend #2357

Narsil merged 63 commits into main from trtllm-executor-thread
mfuntowicz
mfuntowicz (backend) use parking_lot crate for RwLock fairness
25b20cba
mfuntowicz (launcher) default new server::run parameters to false for now
a3f7d76f
mfuntowicz (chore) fmt ... why?
cea64e23
mfuntowicz (ffi) use const for GetSamplingConfig
0cd7538a
mfuntowicz (server) expose new SchedulingError
169e1f45
mfuntowicz (trt)
2a339f99
mfuntowicz (build) setup ccache if available
f6f689f5
mfuntowicz (ffi) add max_new_tokens parameters
38b5263c
mfuntowicz (backend) cleanup a bit
b8a40a0a
mfuntowicz (backend) expose PullNewTokens
f4a74be3
mfuntowicz (ffi) cleanup again
2883c042
mfuntowicz (ffi) add missing headers imports
33c962ef
mfuntowicz (ffi) add template specialization to catch and convert to Rust Result…
5f7c0b67
mfuntowicz (looper) new looper initial implementation
fb759bdd
mfuntowicz (ffi) remove narrowing type warning
0b0c30fe
mfuntowicz (ffi) encode the provided user prompt within each request thread
933ab67a
mfuntowicz (misc) change scope identifiers
0dca168b
mfuntowicz (backend) implement the post_processor background thread
c2e21d87
mfuntowicz (misc) missing Result types for Rust
7bebc629
mfuntowicz use blocking_recv in looper to consume awaiting_requests at max befor…
291eaa99
mfuntowicz (server) forward auth_token to server::run
089c5fe6
mfuntowicz (build) fetchcontent use archives instead of git
dddc9a44
mfuntowicz (ffi) fix usage of wrong vector constructor making a capacity fill call
8e648ce4
mfuntowicz (ffi) missing namespace for tle::Response
3d0e90b6
mfuntowicz (ffi) do not use reference capture in lambda as we are not capturing …
483f1729
mfuntowicz (backend) refactor & cleanup
b1846fb4
mfuntowicz (Dockerfile.trtllm) delete for now
0f50539b
mfuntowicz (misc) simplify [make_]move_iterator by using c++20 type inference
b41875c1
mfuntowicz (misc) no need to move for uint32_t items
42ccf4e7
mfuntowicz (scheduler) rework submit/pull logic
fa63db0d
mfuntowicz (post) impl postprocessing
984ae979
mfuntowicz (misc) delete backend.rs
b242f45c
mfuntowicz (misc) rerun-if-changed all the cmake modules
507ff666
mfuntowicz (misc) move to latest trtllm
213acc6e
mfuntowicz (fix): HOPPER_SM_MAJOR is 9 not 8
544c9d9d
mfuntowicz (misc: build for sm_{75,80,86,89,90} by default
188e4dc6
mfuntowicz (misc): build with trtllm 0.13.0
ce0cd1fc
mfuntowicz (misc): increase verbosity of spdlog
eb13d8d1
mfuntowicz (fix): do not recreate the stateful hashmap at every it
c8a99af6
mfuntowicz (misc): update dependency in trtllm dockerfile
cb69c9a9
mfuntowicz (misc): update dependency in trtllm dockerfile
437c2aa1
mfuntowicz (misc): disable logging in release mode
0c3ba932
mfuntowicz (misc): improve trtllm download script robustness
f9f10a66
mfuntowicz (fix): ore fixes for Dockerfile
dd94ccc9
mfuntowicz misc(cuda): require 12.6
819c9537
mfuntowicz chore(cmake): use correct policy for download_timestamp
f20ec288
mfuntowicz feat(looper): check engine and executorWorker paths exist before crea…
629153b4
mfuntowicz chore(cmake): download timestamp should be before URL
027756c5
mfuntowicz feat(looper): minor optimizations to avoid growing too much the conta…
6687c06a
mfuntowicz chore(trtllm): move dockerfile to right place
62f33d7e
mfuntowicz chore(trtllm): disable tokenizer parallelism by default
e3bce407
mfuntowicz chore(trtllm): fmt
85c03e33
mfuntowicz chore(trtllm): post-rebase commit
fb00f985
mfuntowicz mfuntowicz force pushed from 7f02f496 to fb00f985 1 year ago
mfuntowicz mfuntowicz marked this pull request as ready for review 1 year ago
mfuntowicz chore(trtllm): remove unused method
31747163
mfuntowicz feat(trtllm): cache maxNumTokens to avoid calling JSON everytime
e6da2124
mfuntowicz misc(router): remove SchedulingError
1a3da05f
mfuntowicz feat(trtllm): do not tokenize twice
8d1c3c8a
mfuntowicz Revert "chore(trtllm): remove unused method"
f5b9ee36
mfuntowicz chore(rebase): fix invalid references
d73401ac
mfuntowicz chore(router): add python dependency
18b473b0
Narsil
Narsil dismissed these changes on 2024-10-25
Narsil Merge branch 'main' into trtllm-executor-thread
01b82b58
Narsil Narsil dismissed their stale review via 01b82b58 1 year ago
Narsil Lint.
b4b6322e
Narsil Fix bad rebase
4463856c
Narsil
Narsil approved these changes on 2024-10-25
Narsil Narsil merged 43df056e into main 1 year ago
Narsil Narsil deleted the trtllm-executor-thread branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone