@@ -87,8 +87,23 @@ Issues = "https://github.com/lightspeed-core/lightspeed-stack/issues"
8787name = " pytorch-cpu"
8888url = " https://download.pytorch.org/whl/cpu"
8989explicit = true
90+
91+ [[tool .uv .index ]]
92+ name = " pypi-default"
93+ url = " https://pypi.org/simple"
94+ explicit = true
9095[tool .uv .sources ]
91- torch = [{ index = " pytorch-cpu" }]
96+ torch = [
97+ { index = " pytorch-cpu" , group = " llslibdev" },
98+ { index = " pypi-default" , group = " llslibdev-hermetic" }
99+ ]
100+ [tool .uv ]
101+ conflicts = [
102+ [
103+ { group = " llslibdev" },
104+ { group = " llslibdev-hermetic" },
105+ ],
106+ ]
92107
93108[dependency-groups ]
94109dev = [
@@ -159,6 +174,50 @@ llslibdev = [
159174 " blobfile>=3.0.0" ,
160175 " psutil>=7.0.0" ,
161176]
177+ llslibdev-hermetic = [
178+ # the same as llslibdev, just using default index.
179+ " matplotlib>=3.10.0" ,
180+ " pillow>=11.1.0" ,
181+ " pandas>=2.2.3" ,
182+ " scikit-learn>=1.5.2" ,
183+ " psycopg2-binary>=2.9.10" ,
184+ # API eval: inline::meta-reference
185+ " tree_sitter>=0.24.0" ,
186+ " pythainlp>=3.0.10" ,
187+ " langdetect>=1.0.9" ,
188+ " emoji>=2.1.0" ,
189+ " nltk>=3.8.1" ,
190+ # API inference: remote::gemini
191+ " litellm>=1.75.5.post1" ,
192+ # API inference: inline::sentence-transformers
193+ " sentence-transformers>=5.0.0" ,
194+ # API vector_io: inline::faiss
195+ " faiss-cpu>=1.11.0" ,
196+ # API scoring: inline::basic
197+ " requests>=2.32.4" ,
198+ # API datasetio: inline::localfs
199+ " aiosqlite>=0.21.0" ,
200+ # API datasetio: remote::huggingface
201+ " datasets>=3.6.0" ,
202+ # API telemetry: inline::meta-reference
203+ " opentelemetry-sdk>=1.34.1" ,
204+ " opentelemetry-exporter-otlp>=1.34.1" ,
205+ # API tool_runtime: inline::rag-runtime
206+ " transformers>=4.34.0" ,
207+ " numpy==2.2.6" ,
208+ # API tool_runtime: remote::model-context-protocol
209+ " mcp>=1.9.4" ,
210+ # API post_training: inline::huggingface
211+ " torch==2.7.1; sys_platform == 'linux'" ,
212+ " trl>=0.18.2" ,
213+ " peft>=0.15.2" ,
214+ # Other
215+ " autoevals>=0.0.129" ,
216+ " fire>=0.7.0" ,
217+ " opentelemetry-instrumentation>=0.55b0" ,
218+ " blobfile>=3.0.0" ,
219+ " psutil>=7.0.0" ,
220+ ]
162221
163222build = [
164223 " build>=1.2.2.post1" ,
0 commit comments