Skip to content

Commit 89d3075

Browse files
Merge pull request #870 from dimensionalOS/use-uv
Use `uv` Former-commit-id: a91e369
2 parents ddc8c3f + 572239f commit 89d3075

3 files changed

Lines changed: 39 additions & 112 deletions

File tree

pyproject.toml

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies = [
2929
"anthropic>=0.19.0",
3030
"cerebras-cloud-sdk",
3131
"moondream",
32-
"numpy>=1.26.4,<2.0.0",
32+
"numpy>=1.26.4",
3333
"colorlog==6.9.0",
3434
"yapf==0.40.2",
3535
"typeguard",
@@ -42,9 +42,9 @@ dependencies = [
4242
"Flask>=2.2",
4343
"python-multipart==0.0.20",
4444
"reactivex",
45-
"rxpy-backpressure @ git+https://github.com/dimensionalOS/rxpy-backpressure.git",
45+
"rxpy-backpressure",
4646
"asyncio==3.4.3",
47-
"go2-webrtc-connect @ git+https://github.com/dimensionalOS/go2_webrtc_connect.git",
47+
"go2-webrtc-connect",
4848
"tensorzero==2025.7.5",
4949
"structlog>=25.5.0,<26",
5050

@@ -97,7 +97,7 @@ dependencies = [
9797
"scipy>=1.15.1",
9898
"scikit-learn",
9999
"Pillow",
100-
"clip @ git+https://github.com/openai/CLIP.git",
100+
"clip",
101101
"timm>=1.0.15",
102102
"lap>=0.5.12",
103103
"opencv-contrib-python==4.10.0.84",
@@ -119,7 +119,7 @@ dependencies = [
119119
"dask[complete]==2025.5.1",
120120

121121
# LCM / DimOS utilities
122-
"dimos-lcm @ git+https://github.com/dimensionalOS/dimos-lcm.git@3aeb724863144a8ba6cf72c9f42761d1007deda4",
122+
"dimos-lcm",
123123

124124
# CLI
125125
"pydantic-settings>=2.11.0,<3",
@@ -151,7 +151,7 @@ manipulation = [
151151
"pandas>=1.5.2",
152152
"tqdm>=4.65.0",
153153
"pyyaml>=6.0",
154-
"contact-graspnet-pytorch @ git+https://github.com/dimensionalOS/contact_graspnet_pytorch.git",
154+
"contact-graspnet-pytorch",
155155

156156
# piper arm
157157
"piper-sdk",
@@ -185,8 +185,8 @@ cuda = [
185185
"fasttext",
186186
"lvis",
187187
"nltk",
188-
"clip @ git+https://github.com/openai/CLIP.git",
189-
"detectron2 @ git+https://github.com/facebookresearch/detectron2.git@v0.6",
188+
"clip",
189+
"detectron2",
190190
]
191191

192192
dev = [
@@ -229,14 +229,15 @@ sim = [
229229
"playground>=0.0.5",
230230
]
231231

232-
jetson-jp6-cuda126 = [
233-
# Jetson Jetpack 6.2 with CUDA 12.6 specific wheels
234-
# Note: Alternative torch wheel from docs: https://developer.download.nvidia.com/compute/redist/jp/v61/pytorch/torch-2.5.0a0+872d972e41.nv24.08.17622132-cp310-cp310-linux_aarch64.whl
235-
"torch @ https://pypi.jetson-ai-lab.io/jp6/cu126/+f/564/4d4458f1ba159/torch-2.8.0-cp310-cp310-linux_aarch64.whl",
236-
"torchvision @ https://pypi.jetson-ai-lab.io/jp6/cu126/+f/1c0/3de08a69e9554/torchvision-0.23.0-cp310-cp310-linux_aarch64.whl",
237-
"onnxruntime-gpu @ https://pypi.jetson-ai-lab.io/jp6/cu126/+f/4eb/e6a8902dc7708/onnxruntime_gpu-1.23.0-cp310-cp310-linux_aarch64.whl",
238-
"xformers @ https://pypi.jetson-ai-lab.io/jp6/cu126/+f/731/15133b0ebb2b3/xformers-0.0.33+ac00641.d20250830-cp39-abi3-linux_aarch64.whl",
239-
]
232+
# NOTE: jetson-jp6-cuda126 extra is disabled due to 404 errors from wheel URLs
233+
# The pypi.jetson-ai-lab.io URLs are currently unavailable. Update with working URLs when available.
234+
# jetson-jp6-cuda126 = [
235+
# # Jetson Jetpack 6.2 with CUDA 12.6 specific wheels (aarch64 Linux only)
236+
# "torch @ https://pypi.jetson-ai-lab.io/jp6/cu126/+f/.../torch-2.8.0-cp310-cp310-linux_aarch64.whl ; platform_machine == 'aarch64' and sys_platform == 'linux'",
237+
# "torchvision @ https://pypi.jetson-ai-lab.io/jp6/cu126/+f/.../torchvision-0.23.0-cp310-cp310-linux_aarch64.whl ; platform_machine == 'aarch64' and sys_platform == 'linux'",
238+
# "onnxruntime-gpu @ https://pypi.jetson-ai-lab.io/jp6/cu126/+f/.../onnxruntime_gpu-1.23.0-cp310-cp310-linux_aarch64.whl ; platform_machine == 'aarch64' and sys_platform == 'linux'",
239+
# "xformers @ https://pypi.jetson-ai-lab.io/jp6/cu126/+f/.../xformers-0.0.33-cp39-abi3-linux_aarch64.whl ; platform_machine == 'aarch64' and sys_platform == 'linux'",
240+
# ]
240241

241242
drone = [
242243
"pymavlink"
@@ -317,3 +318,24 @@ env = [
317318
addopts = "-v -p no:warnings -ra --color=yes -m 'not vis and not benchmark and not exclude and not tool and not needsdata and not lcm and not ros and not heavy and not gpu and not module and not tofix'"
318319
asyncio_mode = "auto"
319320
asyncio_default_fixture_loop_scope = "function"
321+
322+
[tool.uv]
323+
# Build dependencies for packages that don't declare them properly
324+
extra-build-dependencies = { detectron2 = ["torch"], contact-graspnet-pytorch = ["numpy"] }
325+
326+
default-groups = []
327+
328+
# Override transitive dependencies that don't support Python 3.12
329+
override-dependencies = [
330+
"numba>=0.60.0", # First version supporting Python 3.12
331+
"llvmlite>=0.42.0", # Required by numba 0.59+
332+
]
333+
334+
335+
[tool.uv.sources]
336+
rxpy-backpressure = { git = "https://github.com/dimensionalOS/rxpy-backpressure.git" }
337+
go2-webrtc-connect = { git = "https://github.com/dimensionalOS/go2_webrtc_connect.git" }
338+
clip = { git = "https://github.com/openai/CLIP.git" }
339+
dimos-lcm = { git = "https://github.com/dimensionalOS/dimos-lcm.git", rev = "3aeb724863144a8ba6cf72c9f42761d1007deda4" }
340+
contact-graspnet-pytorch = { git = "https://github.com/dimensionalOS/contact_graspnet_pytorch.git" }
341+
detectron2 = { git = "https://github.com/facebookresearch/detectron2.git", tag = "v0.6" }

requirements.txt

Lines changed: 0 additions & 96 deletions
This file was deleted.

uv.lock.REMOVED.git-id

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)