File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,34 @@ backend = [
4141 " vllm==0.15.1 ; sys_platform == 'linux'" ,
4242]
4343
44+ # SGLang training environment (main env - NO sglang here, just training deps)
45+ # SGLang server runs in COMPLETELY SEPARATE venv (just: pip install sglang[srt])
46+ # Communication between envs is via HTTP (localhost), not Python imports
47+ sglang = [
48+ " peft>=0.14.0" ,
49+ " hf-xet>=1.1.0" ,
50+ " bitsandbytes>=0.45.2" ,
51+ " unsloth==2025.12.9" ,
52+ " unsloth-zoo==2025.12.7" ,
53+ " torch>=2.8.0" ,
54+ " torchao==0.14.1" ,
55+ " accelerate==1.7.0" ,
56+ " awscli>=1.38.1" ,
57+ " setuptools>=78.1.0" ,
58+ " wandb==0.23.1" ,
59+ " transformers>=4.55.2,<=4.57.3" ,
60+ " duckdb>=1.0.0" ,
61+ " pyarrow>=15.0.0" ,
62+ " trl==0.20.0" ,
63+ " nbclient>=0.10.1" ,
64+ " pytest>=8.4.1" ,
65+ " nbmake>=1.5.5" ,
66+ " gql<4" ,
67+ " aiohttp>=3.9.0" ,
68+ ]
69+ # NOTE: SGLang server venv is created separately with JUST: pip install "sglang[srt]"
70+ # Do NOT install ART in the server venv - they communicate via HTTP only
71+
4472langgraph = [
4573 " langchain-core>=0.3.51" ,
4674 " langgraph>=0.6.2" ,
@@ -145,15 +173,17 @@ allowed-unresolved-imports = [
145173 " uvicorn.**" ,
146174 " vllm.**" ,
147175 " wandb.**" ,
176+ # sglang deps
177+ " sglang.**" ,
178+ " flashinfer.**" ,
179+ " flashinfer_python.**" ,
148180 # langgraph deps
149181 " langchain_core.**" ,
150182 " langchain_openai.**" ,
151183 " langgraph.**" ,
152184 # plotting deps
153185 " matplotlib.**" ,
154186 " seaborn.**" ,
155- # megatron deps
156- " megatron.**" ,
157187]
158188
159189[dependency-groups ]
You can’t perform that action at this time.
0 commit comments