deps: base install drops pandas and ffmpeg (video extra) - 201.6 MB to 72.5 MB - #12
Merged
Merged
Conversation
…MuJoCo 3, declared as conflicts; the lock is current uv.lock still held robomimic 0.3.0 after the extra moved to 0.4.0, and relocking without declared conflicts would have put MuJoCo 2.3.7 under the `mujoco` extra as well. The `libero` extra, unpinned, resolved MuJoCo 3.6, which robosuite 1.4.1 rejects; it now pins 2.3.7, matching E42's recorded client environment. The README no longer gives one command for all six extras, which could not work.
…os only, now the `video` extra) - 33 packages and 201.6 MB down to 26 and 72.5 MB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
E45 found that most of plugrl-env-client's 222 MB base install is weight it does not need. This removes it. Stacked on #11: merge #11 first, and the diff shrinks to this change.
pandasleaves the dependencies. Nothing insrc/,tests/orexamples/imports it (the README already said so).imageio[ffmpeg]becomesimageio, which is all the recorder's PNG snapshots need. ffmpeg, which the mp4 videos need, moves to a newvideoextra (--recorder.record-video,--recorder.record-full-rollout).videois for.Measured the way CI installs it, the base with no extras, from each lock, on Windows:
.venvThe seven packages gone are pandas, pytz, tzdata, python-dateutil, six, imageio-ffmpeg and psutil. The env client's tests pass in the slimmed environment, without ffmpeg: 128 passed, 15 skipped.
Anyone recording videos adds
--extra video. The qz103 LIBERO environments already have imageio-ffmpeg installed.