gradSLAM is available as an open-source PyTorch framework here