Unhandled exception: Error: In schedule for out_ptr0.update(0), can't reorder RVars r6$yi and r6$x because it may change the meaning of the algorithm.
Traceback (most recent call last):
File "/home/jansel/pytorch/repro.py", line 45, in <module>
hl.main()
RuntimeError: Generator failed: -1
Repro:
Output