Skip to content

Llava 1.6 1 #7

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

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Llava 1.6 1 #7

wants to merge 27 commits into from

Conversation

cmp-nct
Copy link

@cmp-nct cmp-nct commented Feb 11, 2024

No description provided.

cmp-nct and others added 27 commits February 1, 2024 23:15
will now search for projector
…lues)

Clip: bicubic resize function
Clip: added save-to-bmp/pil for debugging and conversion from/to 32/8 images
Clip: added normalization with FP16 precision simulation (image tensors match HF implementation, can be switched off, only used for llava-1.6)
Clip: added newline tensor, mergetype kv, image-grid kv, new resize-pad function with resolution from gridpoints
Clip: clip_image_preprocess now returns a float * vector instead of float, this way llava 1.5 and 1.6 is supported
llava: added ggml cpu graph for embedding patching, added spatial_unpad preliminary support, added a lot of comments that need to be cleaned when all is final
convert-image-encoder: fixed image-grid flattening
Before the embeddings were inserted 1:1, now they are split into the 24x24 patches as in reference.
added stopwords for llava-1.6 into cli
…laced vector style functions with pointers, added a debug define to remove functions from compilation while not needed
It should now work with llava-1.5 as well
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants