Assertion Error during Variational Inference Implementation in Pyro

Hello

Facing a Puzzling Issue with Variational Inference.
I’ve been facing an unexpected error while implementing variational inference using Pyro. Even after meticulously following the documentation and double-checking my code for accuracy, I keep receiving an ‘AssertionError’ during model optimization. Misc. - Pyro Discussion Forum .

I’ve reviewed my model architecture, guide functions, and optimization settings, but the error still exist . Any help in this issue would be immensely appreciated.

Thank you!

Thank you
stevediaz