You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Please use English, otherwise it will be closed.
Motivation
I am trying to integrate SGLang and vllm into OpenRLHF. For the grammar backend, could we set it as additional requirements, i.e. import it when we use it? Like:
ImportError: cannot import name 'build_regex_from_schema' from 'outlines.fsm.json_schema' (/opt/dlami/nvme/chenyang/miniconda3/envs/sglang/lib/python3.11/site-packages/outlines/fsm/json_schema.py)
Currently, there is a compatibility issue when using vllm, sglang, and outlines together. While sglang and vllm 0.6.3.post1 work with torch 2.4, newer versions of vllm (0.6.4+) require torch 2.5. Additionally, outlines has version-specific dependencies that conflict with this setup, making it challenging to use all three libraries simultaneously in the same environment.
Checklist
Motivation
I am trying to integrate SGLang and vllm into OpenRLHF. For the grammar backend, could we set it as additional requirements, i.e. import it when we use it? Like:
This to avoid the version conflicts with vllm.
Related resources
No such.
The text was updated successfully, but these errors were encountered: