Changesets · Branches · Tags · Compare
Fix image masks and update pointing example (#117)
* loading florence2
* update enc-decoder flow
* fix embeddings and update cache
* working language model florence-2 yay!!!
* Florecen-2 LM complete
* add simpleKVCache
* vision model 90% done
* fix image encoding
* update GELU and format code
* add new grouped conv and numerical close to HF
* fix depthwise conv, and add image encoding
* expand generate to support florence2
* update embeddings to fix quant errors
* fix inference and weight sanitization(vision)
* remove unused
* fix formatting
* loading florence2
* update enc-decoder flow
* fix embeddings and update cache
* working language model florence-2 yay!!!
* Florecen-2 LM complete
* add simpleKVCache
* vision model 90% done
* fix image encoding
* update GELU and format code
* add new grouped conv and numerical close to HF
* fix depthwise conv, and add image encoding
* expand generate to support florence2
* update embeddings to fix quant errors
* fix inference and weight sanitization(vision)
* remove unused
* fix formatting
* fix repetition penalty
* add tests and formatting
* fix missing image masks
* improve object pointing example
Browse the files at this changeset
2 files changed
modified examples/object_pointing.ipynb +0 −0
Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.
modified mlx_vlm/utils.py +1 −0
| | @@ -829,6 +829,7 @@ |
| 829 | 829 | aspect_ratio_mask = None |
| 830 | 830 | cross_attention_mask = None |
| 831 | 831 | image_input_idx = None |
| 832 | + image_masks = None |
| 832 | 833 | |
| 833 | 834 | if image_processor is not None: |
| 834 | 835 | if not isinstance(prompts, list): |