Skip to content

Conversation

fairydreaming
Copy link
Collaborator

Without the initialization struct fields have garbage values causing crashes reported in #9066.
Fixes #9066.

@LostRuins
Copy link
Collaborator

@fairydreaming what about

-                patches_data[i] = i + 1;
+                patches_data[i] = i;

Is that worth changing as well?

@fairydreaming
Copy link
Collaborator Author

@LostRuins Not until we find what is the purpose of this code and how to properly fix it.

@fairydreaming fairydreaming merged commit f63f603 into ggml-org:master Aug 21, 2024
52 checks passed
@fairydreaming fairydreaming deleted the clip-ctx-init branch March 22, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: MiniCPM-V-2.6 commit d565bb2fd5a2a58b9924a7a34e77a87c78c52137 causing crash in moondream
4 participants