[Past CI] Vilt only supports PT >= v1.10 (#19851)

* Support for Vilt in v1.9

* Skip if not higher or equal than 1.10

* Move test :)

* I am bad at python
This commit is contained in:
Lysandre Debut
2022-10-25 15:59:35 +02:00
committed by GitHub
parent d39f794eda
commit eedaba682f
2 changed files with 11 additions and 0 deletions

View File

@@ -49,6 +49,11 @@ alt="drawing" width="600"/>
This model was contributed by [nielsr](https://huggingface.co/nielsr). The original code can be found [here](https://github.com/dandelin/ViLT).
Tips:
- The PyTorch version of this model is only available in torch 1.10 and higher.
## ViltConfig
[[autodoc]] ViltConfig