Commit Graph
611 Commits
Author SHA1 Message Date
Lianmin Zheng bc12d4033f Add grouped free operations (#1706) 2024-10-18 13:21:05 -07:00
Lianmin Zheng 392f2863c8 Add dtype for more operations (#1705) 2024-10-18 12:18:15 -07:00
Lianmin Zheng 6d0fa73ece Simplify flashinfer utilities (#1704) 2024-10-17 22:54:14 -07:00
Liangsheng Yin 9e0dac1ad7 Fix regex and logprob conflicts when chunked prefilling (#1703) 2024-10-17 18:33:21 -07:00
Lianmin Zheng 7feba41584 Fix failed ci tests on long prompts; Better error messages for embedding models (#1700) 2024-10-17 09:23:29 -07:00
havetc ecb8bad276 Returning a per request metric for number of cached_tokens read (#1599) 2024-10-16 11:49:22 -07:00
Lianmin Zheng dbec2f1847 Launch a thread to overlap CPU and GPU (#1687) 2024-10-16 11:20:17 -07:00
Lianmin Zheng 9116b2896f Add a new event loop (#1677) 2024-10-16 01:33:20 -07:00
Liangsheng Yin b6b4094621 Fix filter_batch function call (#1681) 2024-10-15 22:59:26 -07:00
Lianmin Zheng f1088e0fc8 Fix memory leak during abort (#1674) 2024-10-15 08:15:08 -07:00
Lianmin Zheng 4a292f670d [Minor] Add some utility functions (#1671) 2024-10-14 20:08:03 -07:00
Lianmin Zheng 02bc95796d Simplify chunked prefill (#1667) 2024-10-14 06:47:50 -07:00
Lianmin Zheng 24f3e1511c [Minor] Improve style (#1666) 2024-10-14 05:25:00 -07:00
Lianmin Zheng 6790240cc3 Fix unit test order to balance the tasks in CI (#1665) 2024-10-14 02:01:44 -07:00
Lianmin Zheng 0c1e87964b Move filter_batch out of stream_output (#1663) 2024-10-14 01:15:34 -07:00
Lianmin Zheng 869f1c02c4 Add a test case to test retract (#1662) 2024-10-13 20:32:37 -07:00
Ying Sheng 2725f8da61 [Minor] Rename no_eos_trim to no_stop_trim (#1661) 2024-10-13 20:30:03 -07:00
Lianmin Zheng da1ffed689 Add output_ids into ScheduleBatch (#1659) 2024-10-13 19:54:02 -07:00
Ying Sheng 4876117171 [Fix] fix eos trim inconsistency (#1650) 2024-10-13 01:07:09 -07:00
Lianmin Zheng 7ee6c259ff Simplify the event loop and expose --num-continuous-decode-steps as an argument (#1652) 2024-10-12 21:35:30 -07:00
Lianmin Zheng 9610fcd469 Fix the batch_is_full check for jump-forward decoding (#1654) 2024-10-12 19:47:24 -07:00
Lianmin Zheng 9da5a60b18 Add an option to disable penalizer (#1651) 2024-10-12 17:53:23 -07:00
Lianmin Zheng 69aa937aa5 Fix unit tests and type annotations (#1648) 2024-10-12 14:49:24 -07:00
Lianmin Zheng 23cc66f7b6 Add back data parallelism (#1635) 2024-10-11 07:22:48 -07:00
Lianmin Zheng 5d09ca5735 Fix constrained decoding (#1634) 2024-10-11 06:26:20 -07:00
科英 bbd72bfc86 Add the ability to enable and disable the Profiler via HTTP API. (#1626) 2024-10-11 02:34:25 -07:00
Yiding-Lu b503881bd2 [Bug] Fix the Image Input of Batch Generation (#1579) 2024-10-11 02:25:04 -07:00
Zhang, Liangang 8275049ce3 Add device support (#1607) 2024-10-11 02:05:58 -07:00
Byron Hsu 01fdb2f377 Fix test_vision_openai_server on CI (#1620) 2024-10-10 16:34:13 -07:00
Ying Sheng c5325aba75 [Profile] Add pytorch profiler (#1604) 2024-10-07 14:37:16 -07:00
Lianmin Zheng ebbc42d989 Optimize broadcast & Reorg code (#1598) 2024-10-07 13:19:23 -07:00
Ke Bao 68f8b60d22 Fix chunked prefill condition (#1594) 2024-10-07 06:34:14 +00:00
Lianmin Zheng b6aad70ab1 [Fix] Fix the case where prompt_len = 0 (#1593) 2024-10-06 20:30:02 -07:00
Lianmin Zheng 91877a9f9c Fix modality for image inputs (#1592) 2024-10-06 15:43:32 -07:00
Lianmin Zheng 58d1082e39 Clean up event loop (#1586) 2024-10-06 03:24:04 -07:00
Lianmin Zheng 9244f27f0a [Minor] Improve the style and fix flaky tests (#1584) 2024-10-06 00:10:48 -07:00
Byron Hsu 521f862d90 Fix runtime.generate when sampling param is not passed (#1582) 2024-10-05 17:59:05 -07:00
Liangsheng Yin 5d0ba4038f Refine the add request reasons to avoid corner cases. (#1574) 2024-10-04 18:00:18 -07:00
Ying Shengandhnyls2002 04b262cd91 [Fix] Fix major performance bug in certain cases (#1563)
Co-authored-by: hnyls2002 <hnyls2002@gmail.com>
2024-10-04 08:51:11 +00:00
Lianmin Zheng 45473d4b2b Make input_ids a torch.Tensor (#1568) 2024-10-04 01:09:59 -07:00
Lianmin Zheng 114bbc8651 Use ipc instead of tcp in zmq (#1566) 2024-10-04 00:45:52 -07:00
Lianmin Zheng 32eb6e96f2 Organize sampling batch info better (#1562) 2024-10-03 18:29:49 -07:00
Lianmin Zheng 317631cada [Fix] Move ScheduleBatch out of SamplingInfo (#1556) 2024-10-02 17:18:04 -07:00
Ying Sheng f202ed9712 [Refactor] Simplify io_struct and tokenizer_manager (#1549) 2024-10-01 10:25:32 -07:00
Liangsheng Yin b88ea90d4a Fix bugs of logprobs_nums (#1548) 2024-09-30 17:09:54 -07:00
Lianmin Zheng 63ba2f8d7b Clean up batch data structures: Introducing ModelWorkerBatch (#1544) 2024-09-30 06:41:49 -07:00
Lianmin Zheng 36d5acfca5 Rename InputMetadata -> ForwardBatch (#1543) 2024-09-30 02:41:11 -07:00
Lianmin Zheng 3f0fe08d37 Let ModelRunner take InputMetadata as input, instead of ScheduleBatch (#1541) 2024-09-29 20:28:45 -07:00
Liangsheng Yin 55b974f96f Process image in parallel (#1539) 2024-09-29 18:52:43 -07:00
Lianmin Zheng f86c1e611f Move scheduler code from tp_worker.py to scheduler.py (#1538) 2024-09-29 17:42:45 -07:00