Hyperparameter Optimization for SGPR

Hey there! I am new to pyro. I am currently using SGPR, and I have been trying to optimize the number of inducing points - the hyperparameter- in my model, but I have not been able to do so.

I have read through the documentation, and from what I understood from it using guide would be the way to go, but that has not worked out. I am kind of stuck, and would appreciate any suggestions.