Spaces:
Paused
Paused
pi05 image: python:3.12-slim base (pinned lerobot needs py>=3.12)
Browse files- Dockerfile +9 -3
- requirements-pi05.txt +4 -4
Dockerfile
CHANGED
|
@@ -6,9 +6,15 @@
|
|
| 6 |
# Run with env MODEL_KIND matching the build arg (the arg only picks which
|
| 7 |
# requirements file is installed; the env picks the adapter at boot).
|
| 8 |
#
|
| 9 |
-
# Base
|
| 10 |
-
#
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
ARG MODEL_KIND=pi05
|
| 14 |
|
|
|
|
| 6 |
# Run with env MODEL_KIND matching the build arg (the arg only picks which
|
| 7 |
# requirements file is installed; the env picks the adapter at boot).
|
| 8 |
#
|
| 9 |
+
# Base per kind (BUILD_BASE arg):
|
| 10 |
+
# molmoact2 -> pytorch/pytorch:2.5.1-cuda12.1 (the proven Space stack; never
|
| 11 |
+
# reinstall torch/torchvision/torchaudio on top — ABI break, space/Dockerfile)
|
| 12 |
+
# pi05 -> python:3.12-slim (the pinned lerobot REQUIRES py>=3.12, which no
|
| 13 |
+
# pytorch/pytorch image ships; lerobot's own dep spec then installs the torch
|
| 14 |
+
# it wants — CUDA-bundled pip wheels, host driver via the endpoint runtime.
|
| 15 |
+
# This mirrors lelab's local venv, the combo the pi05 load path was proven on.)
|
| 16 |
+
ARG BUILD_BASE=python:3.12-slim
|
| 17 |
+
FROM ${BUILD_BASE}
|
| 18 |
|
| 19 |
ARG MODEL_KIND=pi05
|
| 20 |
|
requirements-pi05.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
-
# MODEL_KIND=pi05 — installed
|
| 2 |
-
#
|
| 3 |
-
#
|
| 4 |
-
#
|
| 5 |
#
|
| 6 |
# lerobot pinned to the SAME commit as lelab's pyproject so a checkpoint trained
|
| 7 |
# through our pipeline loads with identical code. The [pi] extra pulls the pi05
|
|
|
|
| 1 |
+
# MODEL_KIND=pi05 — installed on python:3.12-slim (BUILD_BASE arg in the
|
| 2 |
+
# Dockerfile): the pinned lerobot REQUIRES py>=3.12, which no pytorch/pytorch
|
| 3 |
+
# base ships. torch arrives via lerobot's own dep spec (CUDA-bundled pip
|
| 4 |
+
# wheels) — do NOT pin torch here unless lerobot's resolver fights.
|
| 5 |
#
|
| 6 |
# lerobot pinned to the SAME commit as lelab's pyproject so a checkpoint trained
|
| 7 |
# through our pipeline loads with identical code. The [pi] extra pulls the pi05
|