Change Phi3 _supports_sdpa to True (#32457)

* Change `_supports_sdpa` to True

* add phi3 to sdpa support list
This commit is contained in:
Wonseok Lee (Jack)
2024-08-08 20:28:20 +09:00
committed by GitHub
parent 1c944ac1e1
commit e28784f821
2 changed files with 2 additions and 1 deletions

View File

@@ -219,6 +219,7 @@ For now, Transformers supports SDPA inference and training for the following arc
* [OLMo](https://huggingface.co/docs/transformers/model_doc/olmo#transformers.OlmoModel)
* [PaliGemma](https://huggingface.co/docs/transformers/model_doc/paligemma#transformers.PaliGemmaForConditionalGeneration)
* [Phi](https://huggingface.co/docs/transformers/model_doc/phi#transformers.PhiModel)
* [Phi3](https://huggingface.co/docs/transformers/model_doc/phi3#transformers.Phi3Model)
* [Idefics](https://huggingface.co/docs/transformers/model_doc/idefics#transformers.IdeficsModel)
* [Whisper](https://huggingface.co/docs/transformers/model_doc/whisper#transformers.WhisperModel)
* [Mistral](https://huggingface.co/docs/transformers/model_doc/mistral#transformers.MistralModel)