adityuhkapoor
adityuhkapoor
I have a fix for this, PR incoming
Took a look at prev PRs, the problem is missing device validation. solve_triangular calls checkInputsSolver which checks shapes but not devices, so mismatched tensors pass through to backend code and...
Good call, didn't realize CUDA/XPU already generate device checks in their dispatch wrappers and MPS was the only gap. Happy to defer to that approach then.
Opened #2238 for this
I can reproduce this on main; root cause is TextIOWrapper closing sys.stdin.buffer/sys.stdout.buffer due to auto garbage collection. os.dup() adds another pointer to the underlying resource and ensures that the stdio...
Hi, PR #2040 is ready for review, all CI green and regression test is included. The fix uses os.dup() to give TextIOWrapper its own file descriptor so closing it doesn't...
Have a potential fix, putting up pr