As explained before, you would need to provide more information where traced_script_module.jit.save comes from as it’s not a built-in method of a scripted module so I assume it’s a custom function, which creates this error.