b8303
model : add support for Phi4ForCausalLMV (#20168)
Add support for Phi4ForCausalLMV.
Fix Phi-4 vision parity (correcting SigLIP2 patch-kernel export layout) and matching HF NaFlex resize behavior in mtmd.
Rename contants + fix tokenizer label
Clean-ups.
Fix GGUF export.
Set tokenizer.ggml.pre explicitly.
Default vocab name rather than forcing it.
Clean-ups.
Fix indent.
Fix subscriptable error.
remov overcomplicated code path
Clean-ups.
Co-authored-by: Xuan Son Nguyen son@huggingface.co
macOS/iOS:
Linux:
Windows:
- Windows x64 (CPU)
- Windows arm64 (CPU)
- Windows x64 (CUDA 12) - CUDA 12.4 DLLs
- Windows x64 (CUDA 13) - CUDA 13.1 DLLs
- Windows x64 (Vulkan)
- Windows x64 (SYCL)
- Windows x64 (HIP)
openEuler: