OpenPi_POC_Dev/requirements_train.txt
2026-10-09 16:41:13 +08:00

52 lines
1.4 KiB
Plaintext

# venv_train: openpi 双栈训练环境 (design_v2 §2 基线 + D9 升级)
# 官方基线 (pyproject): py3.11 / jax[cuda12]==0.5.3 / flax==0.10.2 / torch==2.7.1 / lerobot(v2)
# 本镜像 (D9 升级): py3.12 / jax[cuda12]>=0.7 (sm_120, 5090/5090D) / torch 2.7.1+cu128 /
# lerobot>=0.4.0 (v3, 与 data2lerobot 转换器同大版本线)
# openpi 本体以 --no-deps 安装, 此清单须覆盖其全部运行时依赖 (wandb/gym-aloha 除外:
# wandb 强制关闭, gym-aloha 仅 examples)。
jax[cuda12]>=0.7.0
flax>=0.10.2
orbax-checkpoint
equinox
dm-tree
flatbuffers
fsspec[gcs]
einops
augmax
optax
chex
jaxtyping
beartype
ml_collections
treescope
polars
filelock
typing-extensions
msgpack
msgpack-numpy
numpy>=1.26
opencv-python-headless==4.10.0.84
pillow
pydantic>=2.5
numpydantic
tqdm
tqdm-loggable
tyro
rich
imageio
distrax
gymnasium
matplotlib
# lerobot 钉 0.4.4: v3 API 且 huggingface-hub<0.36 与 transformers==4.53.2 兼容
# (0.5+ 要求 hf-hub>=1.0 与 transformers 4.53.2 冲突); 与 data2lerobot 写侧同版。
lerobot==0.4.4
safetensors
sentencepiece
websockets>=11.0
# serve (XPolicyLab ws 前端) 链: model_server -> utils.load_file 需要 h5py
h5py
transformers==4.53.2
# NCCL 2.29.7 不写入本清单: torch==2.7.1+cu128 钉死 nvidia-nccl-cu12==2.26.x,
# 整体 resolve 会冲突; 由 Dockerfile 在本清单之后以 --no-deps 单独覆盖安装
# (2.27.x 的 ncclAlltoAll 在 sm_120/虚拟化环境报 unhandled system error)