[Feature]: Evaluating Libero Tasks Sequentially Under Limited Compute Resources
Feature description
Hi, thank you for the great work!
Problem Description
When evaluating the Libero-10 benchmark, RLinf currently initializes all environments at once, i.e. 10 tasks × 50 parallel environments = 500 environments. This is too heavy for my computational resources.
- Is there a recommended way to evaluate a benchmark in a loop or sequential manner?
- Are the init_states used for rollouts and evaluation the same or different?
Additional context
No response
Before submitting a new issue...
- [x] Have you checked relevant issues, FAQs (https://rlinf.readthedocs.io/en/latest/rst_source/faq.html), or asked the chatbot at the top right corner of the documentation page.
@Kalcy-U Hi, to evaluate more environments, you can either increase env.eval.total_num_envs or increase env.eval.max_steps_per_rollout_epoch (while keeping env.eval.auto_reset = True), both of which allow the evaluator to cover more environment instances.
Since you encountered an OOM issue, you should reduce env.eval.total_num_envs and compensate by increasing env.eval.max_steps_per_rollout_epoch to maintain the total evaluation coverage.
In addition, increasing algorithm.eval_rollout_epoch will repeatedly spawn environments with the same initial states (when env.seed is fixed), resulting in multi-round evaluation. The final reported metric will be the average over these evaluation rounds.
thanks!