You seem to have an inplace operation that affects either the inputs or the outputs of the  f4 layer in your target module. From the code snippet you shared, it is not clear to me which.
Best regards
Thomas