Skip to content

llava: add big-endian conversion for image encoder #12218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

taronaeo
Copy link
Contributor

@taronaeo taronaeo commented Mar 6, 2025

This pull request enables Big-Endian byte-ordering conversion for the convert_image_encoder_to_gguf.py script within examples/llava. Tested on IBM z15 and it successfully generates the mmproj-model.gguf file for Big-Endian.

PR also in-preparation for Granite Vision surgery for Big-Endian machines i.e., IBM Z & LinuxONE

@github-actions github-actions bot added examples python python script changes labels Mar 6, 2025
@ngxson ngxson merged commit e9b2f84 into ggml-org:master Mar 6, 2025
4 checks passed
mglambda pushed a commit to mglambda/llama.cpp that referenced this pull request Mar 8, 2025
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples python python script changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants