chore(style): pre-commit envs

This commit is contained in:
Steven Palma
2026-02-24 15:03:36 +01:00
parent 84b34ae75c
commit 1ec9392bcb
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -314,6 +314,7 @@ lerobot-eval \
```
All `--env_kwargs.*` arguments will be collected into a dictionary and passed as keyword arguments to the hub environment's `make_env` function. This allows you to:
- Pass configuration file paths
- Override default settings
- Specify custom task parameters
+3 -1
View File
@@ -155,7 +155,9 @@ def make_env(
# call the hub-provided make_env with any additional kwargs
env_cfg = None if isinstance(cfg, str) else cfg
raw_result = _call_make_env(module, n_envs=n_envs, use_async_envs=use_async_envs, cfg=env_cfg, **kwargs)
raw_result = _call_make_env(
module, n_envs=n_envs, use_async_envs=use_async_envs, cfg=env_cfg, **kwargs
)
# normalize the return into {suite: {task_id: vec_env}}
return _normalize_hub_result(raw_result)
+1 -1
View File
@@ -532,7 +532,7 @@ def eval_main(cfg: EvalPipelineConfig):
n_envs=cfg.eval.batch_size,
use_async_envs=cfg.eval.use_async_envs,
trust_remote_code=cfg.trust_remote_code,
**cfg.env_kwargs
**cfg.env_kwargs,
)
logging.info("Making policy.")