From 8db50611c2f4ed5c854122c042adaa1ccabf53cd Mon Sep 17 00:00:00 2001 From: Nikodem Bartnik <39432165+NikodemBartnik@users.noreply.github.com> Date: Thu, 16 Jul 2026 16:55:13 +0200 Subject: [PATCH] pin pip installs (#4041) --- examples/annotations/run_hf_job.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/annotations/run_hf_job.py b/examples/annotations/run_hf_job.py index a77e22f14..506a45a12 100644 --- a/examples/annotations/run_hf_job.py +++ b/examples/annotations/run_hf_job.py @@ -46,8 +46,11 @@ CMD = ( "apt-get update -qq && apt-get install -y -qq git ffmpeg && " "pip install --no-deps " "'lerobot @ git+https://github.com/huggingface/lerobot.git@main' && " + # Pins mirror pyproject.toml — unpinned installs pull av 18 / datasets 5 / + # draccus 0.11, which break lerobot at import time. "pip install --upgrade-strategy only-if-needed " - "datasets pyarrow av jsonlines draccus gymnasium torchcodec mergedeep pyyaml-include toml typing-inspect " + "'datasets>=4.7.0,<5.0.0' 'pyarrow>=21.0.0,<30.0.0' 'av>=15.0.0,<16.0.0' 'draccus==0.10.0' " + "'pandas>=2.0.0,<3.0.0' jsonlines gymnasium torchcodec mergedeep pyyaml-include toml typing-inspect " "openai && " "export VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0 && " "export VLLM_VIDEO_BACKEND=pyav && "