You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working with the code and I'm having some trouble OVERRIDE forward where the self.module.image_newline attribute is set or initialized in the model.
I've traced the model through the forward pass, but I'm unable to find any explicit assignment to self.module.image_newline. Could you clarify where this attribute is being initialized or set?
Before the forward pass self.module.image_newline is empty
I'm currently working with the code and I'm having some trouble OVERRIDE forward where the self.module.image_newline attribute is set or initialized in the model.
I've traced the model through the forward pass, but I'm unable to find any explicit assignment to self.module.image_newline. Could you clarify where this attribute is being initialized or set?
Before the forward pass self.module.image_newline is empty
Inside the forward pass it is a constant which is not empty
Could anyone get me hint where self.image_newline is set?
Specifically, I am referring to this section of the code:https://github.com/huggingface/transformers/blob/f0e640adfa3cedea53912b95e3093f05cc2b66b5/src/transformers/models/llava_onevision/modeling_llava_onevision.py#L677
The text was updated successfully, but these errors were encountered: