mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-27 17:23:08 +00:00
add managed vllm server
This commit is contained in:
parent
578175a709
commit
e6ac3abdcb
9 changed files with 597 additions and 15 deletions
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
`ManagedServer` is a wrapper around `APIServer` that automatically tracks text sequences with aligned tokens and logprobs. It eliminates the need for manual token extraction, alignment, and masking in your environment code, making it **the recommended approach** for handling inference in Atropos environments.
|
||||
|
||||
**Server Compatibility:** ManagedServer works with all Atropos server types - `OpenAIServer`, `VLLMServer`, `SGLangServer`, and `TrlVllmServer`. Simply set the `server_type` field in your `APIServerConfig` to `"openai"` (default), `"vllm"`, `"sglang"`, or `"trl"` to use the appropriate backend with automatic server class selection.
|
||||
|
||||
### Why Use ManagedServer?
|
||||
|
||||
**Before ManagedServer** (manual approach):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue