Fix compute shape offset non-tuple indexing for PyTorch =2.9
Fix compute shape offset non-tuple indexing for PyTorch =2.9: a task in life-science-SWE1.0 (Harbor dataset). Title: Fix compute shape offset non-tuple indexing for PyTorch =2.9
The task
**Title:** Fix compute_shape_offset non-tuple indexing for PyTorch >=2.9
Part of scalingX/life-science-SWE1.0.