Improve configs - TokenizerPoolConfig + DeviceConfig#16603
Improve configs - TokenizerPoolConfig + DeviceConfig#16603DarkLight1337 merged 15 commits intovllm-project:mainfrom
TokenizerPoolConfig + DeviceConfig#16603Conversation
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can either: Add 🚀 |
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
…y` handling Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
| return self.num_scheduler_steps > 1 | ||
|
|
||
|
|
||
| Device = Literal["auto", "cuda", "neuron", "cpu", "tpu", "xpu", "hpu"] |
There was a problem hiding this comment.
We can't really hard code this because OOT platforms may use different names
There was a problem hiding this comment.
This is already hard coded by EngineArgs using choices=DEVICE_OPTIONS
There was a problem hiding this comment.
To summarise:
- The argparser behaviour is unchanged
- In the config we have
Literaltype hinting (no validation of the input occurrs)
There was a problem hiding this comment.
This is already hard coded by EngineArgs using choices=DEVICE_OPTIONS
usually people just use device="auto" and let the current_platform resolve the device, so i think it should be fine.
i don't see lots of usage with explicitly adding --device=xxx
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
DarkLight1337
left a comment
There was a problem hiding this comment.
Well, he seems busy so I'll just approve this for now
…t#16603) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
…t#16603) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Yang Wang <elainewy@meta.com>
…t#16603) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
…t#16603) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
…t#16603) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Agata Dobrzyniewicz <adobrzyniewicz@habana.ai>
…t#16603) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Mu Huai <tianbowen.tbw@antgroup.com>
Follows #16332, #16422, #16533
Notable changes:
default_factory=dictget_kwargsinargs_utils.py