Closed saipraveenb25 closed 1 month ago
There appears to be some slow-down when using reverse-mode with multiple nested loops. See bezier_curvefit.py in slang-torch PR#1.
bezier_curvefit.py
Filing this in the main repository because its most likely an issue with recompute/checkpoint policy creating unnecessary intemediates.
No compiler changes needed. Fixed by updating user code to take advantage of recomputation. See for more details: https://github.com/shader-slang/slang-torch/pull/6
There appears to be some slow-down when using reverse-mode with multiple nested loops. See
bezier_curvefit.py
in slang-torch PR#1.Filing this in the main repository because its most likely an issue with recompute/checkpoint policy creating unnecessary intemediates.