metaopt / torchopt TorchOpt is an efficient library for differentiable optimization built upon PyTorch.