transformers/tests/models
Yoni Gozlan a245011252
Add InternVL (2.5 MPO) (#35968)
* initial commit

* add convert internvl

* add first end-to-end working internvl

* nit prompt and image proc

* add working chat template

* add conversion llama-based models

* add tests

* pass all tests

* fix isort

* fix modular after main merge

* add video processing for internvl

* add support for interlaced images and videos

* Remove processing and config from modular, add more tests

* add llama model tests

* Modify processor for compatibility with refactored got ocr image processor

* add comments in processor

* Add docs and nits

* change video processing to use custom sample_indices_fn

* rebase and fix tests

* add processor tests

* Add changes Raushan review

* Use the new attention interface for the vision model

* nits

* add support for custom video_load_backend

* remove mention to InternVLTokenizer

* refactor vision model to simplify logic

* refactor processor for better readibility

* fix copies

* fix require av processor test

* refactor internVL vision

* Update processor and fix processing tests

* fix docstring

* update convert_weights for internvl3

* change image processor to fast by default

* remove do_center_crop=True in convert_weights

* force use_cache to True

* push_to_hub before reloading

* fix internVLVision for larger models

* update convert weight for qk norm

* fix convert_weights

* fix eos_token_id in convert

* update docs and integration tests

* make modifs after review

* fix wrong k_norm and reduce modular

* change image_token_index to image_token_id

* change checkpoint to OpenGVLab org

* last nits

* explicitely del self.num_key_value_groups

* add extra special tokens
2025-04-18 18:57:33 +02:00
..
albert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
align Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
altclip 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
aria [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
audio_spectrogram_transformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
auto 🚨 🚨 Allow saving and loading multiple "raw" chat template files (#36588) 2025-04-11 16:37:23 +01:00
autoformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
aya_vision [processor] clean up mulitmodal tests (#37362) 2025-04-11 13:32:19 +02:00
bamba enable 6 modeling cases on XPU (#37571) 2025-04-18 12:28:08 +02:00
bark Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
bart Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
barthez Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
bartpho Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
beit Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
bert Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
bert_generation Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
bert_japanese Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
bertweet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
big_bird Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
bigbird_pegasus Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
biogpt Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
bit Add ImageProcessorFast to BiT processor (#37180) 2025-04-14 17:07:48 +02:00
blenderbot Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
blenderbot_small Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
blip 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
blip_2 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
bloom Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
bridgetower Bridgetower fast image processor (#37373) 2025-04-16 22:39:18 +02:00
bros Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
byt5 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
camembert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
canine Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
chameleon [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
chinese_clip Add Fast Chinese-CLIP Processor (#37012) 2025-04-15 18:31:20 +02:00
clap Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
clip 🔴 Update CLIP vision attention to new attention interface (#37498) 2025-04-16 18:15:22 +02:00
clipseg Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
clvp Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
code_llama Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
codegen Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
cohere Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
cohere2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
colpali Simplify soft dependencies and update the dummy-creation process (#36827) 2025-04-11 11:08:36 +02:00
conditional_detr Add Fast Conditional-DETR Processor (#37071) 2025-04-15 18:33:34 +02:00
convbert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
convnext Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
convnextv2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
cpm Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
cpmant Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
ctrl Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
cvt Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
dab_detr Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
dac Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
data2vec Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
dbrx Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
deberta Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
deberta_v2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
decision_transformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
deepseek_v3 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
deformable_detr Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
deit Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
depth_anything Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
depth_pro Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
detr Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
diffllama Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
dinat Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
dinov2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
dinov2_with_registers Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
distilbert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
dit Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
donut Add Fast Image Processor for Donut (#37081) 2025-04-14 16:24:01 +02:00
dpr Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
dpt Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
efficientnet Add EfficientNet Image PreProcessor (#37055) 2025-04-16 21:59:24 +02:00
electra Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
emu3 [processor] clean up mulitmodal tests (#37362) 2025-04-11 13:32:19 +02:00
encodec Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
encoder_decoder fix 2 encoder_decoder issues on XPU (#37572) 2025-04-18 17:49:24 +02:00
ernie Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
esm Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
falcon Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
falcon_mamba enable several cases on XPU (#37516) 2025-04-16 11:01:04 +02:00
fastspeech2_conformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
flaubert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
flava Add Fast Image Processor for Flava (#37135) 2025-04-14 15:05:31 +02:00
fnet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
focalnet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
fsmt Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
funnel Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
fuyu [processor] clean up mulitmodal tests (#37362) 2025-04-11 13:32:19 +02:00
gemma enable 6 modeling cases on XPU (#37571) 2025-04-18 12:28:08 +02:00
gemma2 [Gemma3] compile (#37447) 2025-04-18 14:55:43 +01:00
gemma3 [Gemma3] compile (#37447) 2025-04-18 14:55:43 +01:00
git 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
glm enable 5 cases on XPU (#37507) 2025-04-16 09:28:02 +02:00
glm4 Add glm4 (#37388) 2025-04-09 14:02:04 +02:00
glpn Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
got_ocr2 [processor] clean up mulitmodal tests (#37362) 2025-04-11 13:32:19 +02:00
gpt_bigcode Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
gpt_neo Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
gpt_neox Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
gpt_neox_japanese Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
gpt_sw3 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
gpt2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
gptj Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
granite Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
granite_speech Add Granite Speech Support (#36801) 2025-04-11 18:52:00 +02:00
granitemoe Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
granitemoeshared Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
grounding_dino Add Fast Grounding-Dino Processor (#37108) 2025-04-16 12:26:08 +02:00
groupvit Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
helium Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
herbert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
hiera Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
hubert Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
ibert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
idefics [processor] clean up mulitmodal tests (#37362) 2025-04-11 13:32:19 +02:00
idefics2 [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
idefics3 [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
ijepa Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
imagegpt Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
informer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
instructblip 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
instructblipvideo 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
internvl Add InternVL (2.5 MPO) (#35968) 2025-04-18 18:57:33 +02:00
jamba Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
janus Add Janus model (#36053) 2025-04-17 09:18:51 +02:00
jetmoe Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
kosmos2 make test_snowman_image_captioning pass on XPU, by sharing same atol w/ ROCM (#37480) 2025-04-14 11:39:45 +02:00
layoutlm Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
layoutlmv2 Add Fast Image Processor for LayoutLMv2 (#37203) 2025-04-14 15:06:41 +02:00
layoutlmv3 Add Fast Image Processor for LayoutLMv3 (#37201) 2025-04-14 15:42:11 +02:00
layoutxlm 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
led Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
levit Add Fast LeViT Processor (#37154) 2025-04-14 17:07:36 +02:00
lilt Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
llama Fix some GPU OOM after #37553 (#37591) 2025-04-18 10:09:19 +02:00
llama4 [processor] clean up mulitmodal tests (#37362) 2025-04-11 13:32:19 +02:00
llava [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
llava_next [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
llava_next_video [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
llava_onevision [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
longformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
longt5 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
luke Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
lxmert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
m2m_100 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mamba Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mamba2 Fix Mamba2 Grouped SSD Support in the torch_forward Path (#37533) 2025-04-16 22:16:01 +02:00
marian Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
markuplm Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mask2former Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
maskformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mbart Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mbart50 Use lru_cache for tokenization tests (#36818) 2025-03-28 15:09:35 +01:00
megatron_bert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
megatron_gpt2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mgp_str Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mimi Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mistral Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mistral3 [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
mixtral Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mlcd Add MLCD model (#36182) 2025-04-15 11:33:09 +01:00
mllama [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
mluke Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mobilebert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mobilenet_v1 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mobilenet_v2 Add Fast Mobilenet-V2 Processor (#37113) 2025-04-14 17:08:47 +02:00
mobilevit Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mobilevitv2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
modernbert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
moonshine Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
moshi Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mpnet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mpt enable 6 modeling cases on XPU (#37571) 2025-04-18 12:28:08 +02:00
mra Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
mt5 Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
musicgen Allow rocm systems to run these tests (#37278) 2025-04-10 13:33:01 +02:00
musicgen_melody Allow rocm systems to run these tests (#37278) 2025-04-10 13:33:01 +02:00
mvp Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
myt5 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
nemotron enable 6 modeling cases on XPU (#37571) 2025-04-18 12:28:08 +02:00
nllb Use lru_cache for tokenization tests (#36818) 2025-03-28 15:09:35 +01:00
nllb_moe Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
nougat Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
nystromformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
olmo Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
olmo2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
olmoe Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
omdet_turbo 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
oneformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
openai Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
opt Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
owlv2 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
owlvit Add Fast owlvit Processor (#37164) 2025-04-14 17:58:09 +02:00
paligemma [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
paligemma2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
patchtsmixer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
patchtst Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
pegasus Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
pegasus_x Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
perceiver Add Fast Image Processor for Perceiver (#37176) 2025-04-14 13:49:13 +02:00
persimmon Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
phi Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
phi3 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
phi4_multimodal Detect and fix most _init_weights() issues - make it work for composite models (#37070) 2025-04-14 16:19:04 +02:00
phimoe Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
phobert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
pix2struct 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
pixtral [chat-template] Unify tests and clean up 🧼 (#37275) 2025-04-10 14:42:32 +02:00
plbart Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
poolformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
pop2piano 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
prompt_depth_anything Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
prophetnet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
pvt Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
pvt_v2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
qwen2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
qwen2_5_omni Add Qwen2.5-Omni (#36752) 2025-04-14 12:36:41 +02:00
qwen2_5_vl [qwen-vl] Standardize config (#37268) 2025-04-17 09:38:12 +02:00
qwen2_audio [processor] clean up mulitmodal tests (#37362) 2025-04-11 13:32:19 +02:00
qwen2_moe Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
qwen2_vl [qwen-vl] Standardize config (#37268) 2025-04-17 09:38:12 +02:00
qwen3 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
qwen3_moe Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
rag Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
recurrent_gemma Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
reformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
regnet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
rembert Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
resnet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
roberta Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
roberta_prelayernorm Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
roc_bert Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
roformer Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
rt_detr Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
rt_detr_v2 enable 6 rt_detr_v2 cases on xpu (#37548) 2025-04-16 11:23:56 +02:00
rwkv Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
sam 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
seamless_m4t Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
seamless_m4t_v2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
segformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
seggpt Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
sew Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
sew_d Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
shieldgemma2 [chat-template] Unify tests and clean up 🧼 (#37275) 2025-04-10 14:42:32 +02:00
siglip Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
siglip2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
smolvlm [vlm] adjust max length for special tokens (#37342) 2025-04-16 20:49:20 +02:00
speech_encoder_decoder enhance require_deterministic_for_xpu (#37437) 2025-04-11 08:06:08 +02:00
speech_to_text 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
speecht5 Flag SpeechT5 flaky test (#37587) 2025-04-18 11:35:46 +02:00
splinter Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
squeezebert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
stablelm Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
starcoder2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
superglue Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
superpoint Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
swiftformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
swin Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
swin2sr Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
swinv2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
switch_transformers Correctly drop tokens in SwitchTransformer (#37123) 2025-04-10 16:58:57 +02:00
t5 Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
table_transformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
tapas Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
textnet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
time_series_transformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
timesfm [TimesFM] use the main revison instead of revision for integration test (#37558) 2025-04-17 11:26:03 +02:00
timesformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
timm_backbone Small fix on context manager detection (#37562) 2025-04-17 15:39:44 +02:00
timm_wrapper Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
trocr 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
tvp Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
udop 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
umt5 Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
unispeech Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
unispeech_sat Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
univnet chore: fix typos in the tests directory (#36813) 2025-03-21 10:20:05 +01:00
upernet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
video_llava Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
videomae Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vilt Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vipllava [chat-template] Unify tests and clean up 🧼 (#37275) 2025-04-10 14:42:32 +02:00
vision_encoder_decoder Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vision_text_dual_encoder 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
visual_bert Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vit Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vit_mae Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vit_msn Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vitdet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vitmatte Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vitpose Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vitpose_backbone Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vits Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vivit Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
wav2vec2 Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
wav2vec2_bert 🚨 🚨 Setup -> setupclass conversion (#37282) 2025-04-08 17:15:37 +01:00
wav2vec2_conformer Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
wav2vec2_phoneme Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
wav2vec2_with_lm use torch.testing.assertclose instead to get more details about error in cis (#35659) 2025-01-24 16:55:28 +01:00
wavlm Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
whisper Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
x_clip Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
xglm Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
xlm Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
xlm_roberta Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
xlm_roberta_xl Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
xlnet Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
xmod Remove old code for PyTorch, Accelerator and tokenizers (#37234) 2025-04-10 20:54:21 +02:00
yolos Add Fast Yolos Processor (#37292) 2025-04-15 14:23:08 +02:00
yoso Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
zamba Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
zamba2 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
zoedepth Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00