Harshil Chudasama
Contact

Open source contributions

pytorch/pytorch

PyTorch

Deep learning framework

  • GPU kernels
  • autograd
  • numerical correctness
  • MPS
Pull requests
3
Merged
2
In review
1
See them on GitHub

Pull requests

Newest first, all by QHarshil.

  1. #202468 · Restrict cholesky_solve derivatives to the triangle of L it reads

    cholesky_solve reads only one triangle of its input matrix, but its gradient formulas used the whole matrix. Values in the unused triangle leaked into the gradients, and second derivatives were wrong even for valid input. Both formulas now read only the triangle the operation uses, and PyTorch's standard gradient tests cover the case.

    Opened Oct 29, 2026 · Merged Nov 4, 2026

  2. #198602 · Fix forward AD of triangular_solve and cholesky_solve

    Forward-mode automatic differentiation returned wrong gradients for two linear-algebra solvers, with no error. Fixes the formulas and closes two issues.

    Opened Sep 25, 2026 · Merged Oct 23, 2026

  3. #197407 · [MPS] Support 64-bit indexing in the remaining pooling kernels

    Pooling layers on Apple GPUs failed on very large tensors, and one of them could write past the end of its output. Adds a path for large tensors and keeps the faster path for normal sizes.

    Opened Sep 17, 2026 · In review