Thanks for the report! Do you mind posting the exact script you’re using to generate that error so that I can run it to see what’s happening?
In the meantime, you could try removing @torch.jit.script_method from the __init__ method of DecoderOptions—for class types, the single annotation at the top will result in all methods getting compiled so it may have unexpected effects.