HF RL Explorer

Fix GPU memory leak in context arrays

Fix GPU memory leak in context arrays: a task in life-science-SWE1.0 (Harbor dataset). Title: Fix GPU memory leak in context arrays

The task

**Title:** Fix GPU memory leak in context arrays

Part of scalingX/life-science-SWE1.0.