Replies: 4 comments 1 reply
-
As @manuschn mentioned on slack, no new dependencies were introduced when we moved to |
Beta Was this translation helpful? Give feedback.
-
Currently the I take your point that it was always a latent dependency; but running the pettingzoo baselines was a fairly niche activity; someone doing that could easily pip install flatland itself is like one of the many small environments in gym / pettingzoo: it doesn't know anything about training etc; it's just a small program with the capability to generate a graphical / visual output. The packages for this are relatively small (a few kb to a few Mb, numpy is 36Mb) The flatland dev requirements are for developing flatland; this could be seen as just developing the environment. This includes some fairly bulky things like jupyter (~20Mb across a few packages?) Do we have the facility for separate The GPU / ML libraries (eg torch ~1.3Gb, nvidia ~2.6Gb) are an order of magnitude or two bigger than packages like numpy (36Mb). FYI Some of the larger package sizes from the virtual-env I'm using: (created using the command |
Beta Was this translation helpful? Give feedback.
-
Meh - I've moved |
Beta Was this translation helpful? Give feedback.
-
Great
hagrid67 ***@***.***> schrieb am Mi., 6. Dez. 2023, 10:00:
… Meh - I've moved stable_baselines3 from the dependencies into the
optional dependencies so that torch and nvidia are no longer core
requirements but just appear in reqs-dev.
—
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACPQ2XTXPCHYHTKNBN5BJNTYIAX4LAVCNFSM6AAAAABAE2SSQOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONZTHA3TO>
.
You are receiving this because you were mentioned.Message ID:
<flatland-association/flatland-rl/repo-discussions/63/comments/7773877@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
We have introduced
stable-baselines3
into the dependencies - seepyproject.toml
and the generatedrequirements.txt
andrequirements-dev.txt
. This package requirestorch
which in turn requires various nvidia packages; this makes the virtual env several Gb in size. Previously we have separated ML-related libraries so that Flatland itself is a relatively lightweight and ML-agnostic package.Are we happy with this change or do we need to discuss further?
(edit title from reqs-dev to reqs because currently baselines3 appears in reqs)
Beta Was this translation helpful? Give feedback.
All reactions