HF RL Explorer

Backport PR 4184 on branch 1.12.x (fix: inconsist variance output between in-memory and dask for groups of…

Backport PR 4184 on branch 1.12.x (fix: inconsist variance output between in-memory and dask for groups of…: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Backport PR 4184 on branch 1.12.x (fix: inconsist variance output between in-memory and dask for groups of size…

The task

**Title:** Backport PR #4184 on branch 1.12.x (fix: inconsist variance output between in-memory and dask for groups of size 1)

Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.