Optimizing text embedding raises issue of trying to backward through the graph second time

Hello, I’m doing something similar to your case (optimizing the text embedding) and I’m getting the same error. Did you manage to solve it?