Closed francesco-vaselli closed 2 years ago
Hey @arturbekasov , sorry for the ping, but this seems a trivial contribution and would ensure compatibility with future versions of Pytorch.
Please let me know if there is something else that needs to be done before a merge can happen! Thank you for your work on this useful package, Cheers, Francesco
Hi Francesco,
Thanks for the ping, and sorry for the delay.
The change LGTM -- thank you for taking the time to fix the warning.
Artur
Hi Francesco,
Thanks for the ping, and sorry for the delay.
The change LGTM -- thank you for taking the time to fix the warning.
Artur
From PyTorch 1.11 docs: link
This PR swaps in the new torch.linalg.solve_triangular() (see docs) with the arguments correctly swapped. I tested it for sample generation in my use case and everything works fine without any UserWarning!
Cheers, Francesco