transformers/tests/models
Joao Gante 38f9f10dd9
Cache: revert DynamicCache init for BC (#33861)
* tmp commit

* tmp commit

* make fixup

* missing removal

* fix condition

* fix end-to-end compilation

* if -> elif

* BC

* BC

* use @deprecate_kwarg("num_hidden_layers", version="4.47.0")

* wups the import

* 🥴

---------

Co-authored-by: Arthur Zucker <arthur.zucker@gmail.com>
2024-10-04 22:47:08 +02:00
..
albert Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
align Uniformize kwargs for image-text-to-text processors (#32544) 2024-09-24 21:28:19 -04:00
altclip Uniformize model processors (#31368) 2024-10-02 10:41:08 +02:00
audio_spectrogram_transformer Remove trust_remote_code when loading Libri Dummy (#31748) 2024-07-23 14:54:38 +08:00
auto Generation: deprecate PreTrainedModel inheriting from GenerationMixin (#33203) 2024-09-23 18:28:36 +01:00
autoformer Rename test_model_common_attributes -> test_model_get_set_embeddings (#31321) 2024-06-07 19:40:26 +01:00
bark Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
bart Forbid PretrainedConfig from saving generate parameters; Update deprecations in generate-related code 🧹 (#32659) 2024-08-23 11:12:53 +01:00
barthez Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
bartpho Adds pretrained IDs directly in the tests (#29534) 2024-03-13 14:53:27 +01:00
beit Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
bert support 3D attention mask in bert (#32105) 2024-09-06 14:20:48 +02:00
bert_generation Adds pretrained IDs directly in the tests (#29534) 2024-03-13 14:53:27 +01:00
bert_japanese Adds pretrained IDs directly in the tests (#29534) 2024-03-13 14:53:27 +01:00
bertweet Adds pretrained IDs directly in the tests (#29534) 2024-03-13 14:53:27 +01:00
big_bird Fix tests skip (#32012) 2024-07-17 08:37:43 +01:00
bigbird_pegasus Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
biogpt Generate: unify LogitsWarper and LogitsProcessor (#32626) 2024-08-16 11:20:41 +01:00
bit Use self.config_tester.run_common_tests() (#31431) 2024-06-19 10:18:08 +01:00
blenderbot Forbid PretrainedConfig from saving generate parameters; Update deprecations in generate-related code 🧹 (#32659) 2024-08-23 11:12:53 +01:00
blenderbot_small Forbid PretrainedConfig from saving generate parameters; Update deprecations in generate-related code 🧹 (#32659) 2024-08-23 11:12:53 +01:00
blip rename all test_processing_*.py to test_processor_*.py (#33878) 2024-10-02 16:43:43 +02:00
blip_2 rename all test_processing_*.py to test_processor_*.py (#33878) 2024-10-02 16:43:43 +02:00
bloom VLMs: enable generation tests (#33533) 2024-09-19 12:04:24 +02:00
bridgetower rename all test_processing_*.py to test_processor_*.py (#33878) 2024-10-02 16:43:43 +02:00
bros update ruff version (#30932) 2024-05-22 06:40:15 +02:00
byt5 Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
camembert [RoBERTa-based] Add support for sdpa (#30510) 2024-08-28 10:26:00 +02:00
canine Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
chameleon Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
chinese_clip adding positional encoder changes and tests (#32600) 2024-09-25 19:05:01 +01:00
clap Remove trust_remote_code when loading Libri Dummy (#31748) 2024-07-23 14:54:38 +08:00
clip adding positional encoder changes and tests (#32600) 2024-09-25 19:05:01 +01:00
clipseg adding positional encoder changes and tests (#32600) 2024-09-25 19:05:01 +01:00
clvp clean_up_tokenization_spaces=False if unset (#31938) 2024-09-26 19:38:20 +02:00
code_llama Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
codegen Generation tests: update imagegpt input name, remove unused functions (#33663) 2024-09-24 16:40:48 +01:00
cohere Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
conditional_detr Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
convbert Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
convnext Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
convnextv2 Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
cpm Remove unnecessary CPM model tests (#33621) 2024-09-20 14:20:57 +01:00
cpmant Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
ctrl Refactor: Removed un-necessary object base class (#32230) 2024-07-26 10:33:02 +02:00
cvt Use self.config_tester.run_common_tests() (#31431) 2024-06-19 10:18:08 +01:00
dac Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
data2vec Remove trust_remote_code when loading Libri Dummy (#31748) 2024-07-23 14:54:38 +08:00
dbrx Generate: end-to-end compilation (#30788) 2024-07-29 10:52:13 +01:00
deberta Refactor: Removed un-necessary object base class (#32230) 2024-07-26 10:33:02 +02:00
deberta_v2 Refactor: Removed un-necessary object base class (#32230) 2024-07-26 10:33:02 +02:00
decision_transformer Forbid PretrainedConfig from saving generate parameters; Update deprecations in generate-related code 🧹 (#32659) 2024-08-23 11:12:53 +01:00
deformable_detr Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
deit Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
depth_anything Add Depth Anything V2 Metric models (#32126) 2024-08-13 16:16:30 +02:00
detr Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
dinat Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
dinov2 Sdpa dino v2 (#33403) 2024-09-21 01:58:00 +01:00
distilbert Refactor: Removed un-necessary object base class (#32230) 2024-07-26 10:33:02 +02:00
dit Update old existing feature extractor references (#24552) 2023-06-29 10:17:36 +01:00
donut rename all test_processing_*.py to test_processor_*.py (#33878) 2024-10-02 16:43:43 +02:00
dpr Remove static pretrained maps from the library's internals (#29112) 2024-03-25 10:33:38 +01:00
dpt Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
efficientnet CI: fix efficientnet pipeline timeout and prevent future similar issues due to large image size (#33123) 2024-08-27 11:58:27 +01:00
electra Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
encodec Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
encoder_decoder tests: fix pytorch tensor placement errors (#33485) 2024-09-25 12:21:53 +01:00
ernie Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
esm Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
falcon Compile compatibilty for decoder-only models (#32617) 2024-09-09 10:59:04 +02:00
falcon_mamba Generation tests: update imagegpt input name, remove unused functions (#33663) 2024-09-24 16:40:48 +01:00
fastspeech2_conformer Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
flaubert Refactor: Removed un-necessary object base class (#32230) 2024-07-26 10:33:02 +02:00
flava Remove repeated prepare_images in processor tests (#33163) 2024-09-09 13:20:27 +01:00
fnet fix: Removed duplicate field definitions in some classes (#31888) 2024-07-10 13:46:31 +01:00
focalnet Use self.config_tester.run_common_tests() (#31431) 2024-06-19 10:18:08 +01:00
fsmt Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
funnel update ruff version (#30932) 2024-05-22 06:40:15 +02:00
fuyu rename all test_processing_*.py to test_processor_*.py (#33878) 2024-10-02 16:43:43 +02:00
gemma Fix attn mask ignore logic in training-time trace (#32613) 2024-10-04 19:00:45 +02:00
gemma2 Cache: don't throw warnings on gemma2 when instantiating a new cache (#33595) 2024-09-19 17:42:47 +01:00
git adding positional encoder changes and tests (#32600) 2024-09-25 19:05:01 +01:00
glpn Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
gpt_bigcode Generation tests: update imagegpt input name, remove unused functions (#33663) 2024-09-24 16:40:48 +01:00
gpt_neo Generation tests: update imagegpt input name, remove unused functions (#33663) 2024-09-24 16:40:48 +01:00
gpt_neox Compile compatibilty for decoder-only models (#32617) 2024-09-09 10:59:04 +02:00
gpt_neox_japanese Compile compatibilty for decoder-only models (#32617) 2024-09-09 10:59:04 +02:00
gpt_sw3 🚨 No more default chat templates (#31733) 2024-07-24 17:36:32 +01:00
gpt2 🚨 No more default chat templates (#31733) 2024-07-24 17:36:32 +01:00
gptj Generation tests: update imagegpt input name, remove unused functions (#33663) 2024-09-24 16:40:48 +01:00
granite Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
granitemoe Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
grounding_dino [tests] make more tests device-agnostic (#33580) 2024-09-20 10:16:43 +01:00
groupvit Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
herbert Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
hiera 🚨 Fix torch.jit.trace for interpolate_pos_encoding in all vision models (#33226) 2024-09-05 16:17:34 +02:00
hubert Remove trust_remote_code when loading Libri Dummy (#31748) 2024-07-23 14:54:38 +08:00
ibert [warnings] fix E721 warnings (#32223) 2024-07-25 15:12:23 +02:00
idefics Uniformize kwargs for Idefics/2 processors (#32568) 2024-10-03 18:08:24 +02:00
idefics2 Uniformize kwargs for Idefics/2 processors (#32568) 2024-10-03 18:08:24 +02:00
idefics3 rename all test_processing_*.py to test_processor_*.py (#33878) 2024-10-02 16:43:43 +02:00
imagegpt Generation tests: update imagegpt input name, remove unused functions (#33663) 2024-09-24 16:40:48 +01:00
informer tests: fix pytorch tensor placement errors (#33485) 2024-09-25 12:21:53 +01:00
instructblip Uniformize kwargs for image-text-to-text processors (#32544) 2024-09-24 21:28:19 -04:00
instructblipvideo Uniformize kwargs for image-text-to-text processors (#32544) 2024-09-24 21:28:19 -04:00
jamba fix to jamba config, asserting attention and expert offset (#33316) 2024-09-17 19:29:27 +01:00
jetmoe Fix JetMoeIntegrationTest (#32332) 2024-08-14 16:22:06 +02:00
kosmos2 Add support for custom inputs and batched inputs in ProcessorTesterMixin (#33711) 2024-10-01 23:52:03 +02:00
layoutlm Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
layoutlmv2 [tests] skip tests for xpu (#33553) 2024-09-19 19:28:04 +01:00
layoutlmv3 Enable padding_side as call time kwargs (#33385) 2024-09-13 11:58:38 +01:00
layoutxlm Enable padding_side as call time kwargs (#33385) 2024-09-13 11:58:38 +01:00
led Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
levit Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
lilt Remove static pretrained maps from the library's internals (#29112) 2024-03-25 10:33:38 +01:00
llama Fix attn mask ignore logic in training-time trace (#32613) 2024-10-04 19:00:45 +02:00
llava Add support for args to ProcessorMixin for backward compatibility (#33479) 2024-09-20 11:40:59 -04:00
llava_next Uniformize kwargs for image-text-to-text processors (#32544) 2024-09-24 21:28:19 -04:00
llava_next_video VLMs: enable generation tests (#33533) 2024-09-19 12:04:24 +02:00
llava_onevision rename all test_processing_*.py to test_processor_*.py (#33878) 2024-10-02 16:43:43 +02:00
longformer Import structure & first three model refactors (#31329) 2024-09-10 11:10:53 +02:00
longt5 Speedup model init on CPU (by 10x+ for llama-3-8B as one example) (#31771) 2024-07-16 09:32:01 -04:00
luke fix: Updated test_embeded_special_tokens for luke and mluke models (#32413) 2024-08-05 15:19:42 +01:00
lxmert Refactor: Removed un-necessary object base class (#32230) 2024-07-26 10:33:02 +02:00
m2m_100 Speedup model init on CPU (by 10x+ for llama-3-8B as one example) (#31771) 2024-07-16 09:32:01 -04:00
mamba Fix Mamba slow path bug with dtype mismatch. (#32691) 2024-10-01 09:28:40 +02:00
mamba2 Update modeling_mamba2.py, fix pad size (#32599) 2024-09-20 11:40:57 +01:00
marian Forbid PretrainedConfig from saving generate parameters; Update deprecations in generate-related code 🧹 (#32659) 2024-08-23 11:12:53 +01:00
markuplm Enable padding_side as call time kwargs (#33385) 2024-09-13 11:58:38 +01:00
mask2former fixed Mask2Former image processor segmentation maps handling (#33364) 2024-09-10 11:19:56 +01:00
maskformer Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
mbart Forbid PretrainedConfig from saving generate parameters; Update deprecations in generate-related code 🧹 (#32659) 2024-08-23 11:12:53 +01:00
mbart50 Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
megatron_bert Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
megatron_gpt2 Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
mgp_str Remove repeated prepare_images in processor tests (#33163) 2024-09-09 13:20:27 +01:00
mimi Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
mistral Fix attn mask ignore logic in training-time trace (#32613) 2024-10-04 19:00:45 +02:00
mixtral Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
mllama Cache: revert DynamicCache init for BC (#33861) 2024-10-04 22:47:08 +02:00
mluke fix: Updated test_embeded_special_tokens for luke and mluke models (#32413) 2024-08-05 15:19:42 +01:00
mobilebert Refactor: Removed un-necessary object base class (#32230) 2024-07-26 10:33:02 +02:00
mobilenet_v1 Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
mobilenet_v2 Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
mobilevit Forbid PretrainedConfig from saving generate parameters; Update deprecations in generate-related code 🧹 (#32659) 2024-08-23 11:12:53 +01:00
mobilevitv2 Rename test_model_common_attributes -> test_model_get_set_embeddings (#31321) 2024-06-07 19:40:26 +01:00
mpnet Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
mpt Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
mra Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
mt5 Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
musicgen Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
musicgen_melody Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
mvp Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
nemotron Fix attn mask ignore logic in training-time trace (#32613) 2024-10-04 19:00:45 +02:00
nllb Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
nllb_moe Speedup model init on CPU (by 10x+ for llama-3-8B as one example) (#31771) 2024-07-16 09:32:01 -04:00
nougat Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
nystromformer update ruff version (#30932) 2024-05-22 06:40:15 +02:00
olmo Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
olmoe Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
omdet_turbo Add support for custom inputs and batched inputs in ProcessorTesterMixin (#33711) 2024-10-01 23:52:03 +02:00
oneformer Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
openai Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
opt Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
owlv2 Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
owlvit Remove repeated prepare_images in processor tests (#33163) 2024-09-09 13:20:27 +01:00
paligemma rename all test_processing_*.py to test_processor_*.py (#33878) 2024-10-02 16:43:43 +02:00
patchtsmixer Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
patchtst Rename test_model_common_attributes -> test_model_get_set_embeddings (#31321) 2024-06-07 19:40:26 +01:00
pegasus Forbid PretrainedConfig from saving generate parameters; Update deprecations in generate-related code 🧹 (#32659) 2024-08-23 11:12:53 +01:00
pegasus_x Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
perceiver Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
persimmon Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
phi Compile compatibilty for decoder-only models (#32617) 2024-09-09 10:59:04 +02:00
phi3 Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
phimoe fix red check-copies (#33964) 2024-10-04 22:45:37 +02:00
phobert Adds pretrained IDs directly in the tests (#29534) 2024-03-13 14:53:27 +01:00
pix2struct Add support for custom inputs and batched inputs in ProcessorTesterMixin (#33711) 2024-10-01 23:52:03 +02:00
pixtral Add support for custom inputs and batched inputs in ProcessorTesterMixin (#33711) 2024-10-01 23:52:03 +02:00
plbart Speedup model init on CPU (by 10x+ for llama-3-8B as one example) (#31771) 2024-07-16 09:32:01 -04:00
poolformer Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
pop2piano Remove trust_remote_code when loading Libri Dummy (#31748) 2024-07-23 14:54:38 +08:00
prophetnet Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
pvt Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
pvt_v2 Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
qwen2 Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
qwen2_audio Add Qwen2-Audio (#32137) 2024-08-08 15:47:24 +02:00
qwen2_moe Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
qwen2_vl rename all test_processing_*.py to test_processor_*.py (#33878) 2024-10-02 16:43:43 +02:00
rag rag: fix CI (#33578) 2024-09-19 11:55:26 +01:00
recurrent_gemma Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
reformer Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
regnet Use self.config_tester.run_common_tests() (#31431) 2024-06-19 10:18:08 +01:00
rembert SPLIT PR: add user defined symbols and control symbols (#31305) 2024-06-21 01:48:10 -07:00
resnet Use self.config_tester.run_common_tests() (#31431) 2024-06-19 10:18:08 +01:00
roberta Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
roberta_prelayernorm Fix sentence fragment within test comments (#31218) 2024-06-04 10:09:24 +01:00
roc_bert update ruff version (#30932) 2024-05-22 06:40:15 +02:00
roformer Updated ruff to the latest version (#31926) 2024-07-23 17:07:31 +02:00
rt_detr Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
rwkv Generation tests: update imagegpt input name, remove unused functions (#33663) 2024-09-24 16:40:48 +01:00
sam Remove repeated prepare_images in processor tests (#33163) 2024-09-09 13:20:27 +01:00
seamless_m4t Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
seamless_m4t_v2 Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
segformer Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
seggpt Fast image processor (#28847) 2024-06-11 15:47:38 +01:00
sew Fix parametrization-based weight norm (#33275) 2024-09-17 08:05:21 +02:00
sew_d Fix parametrization-based weight norm (#33275) 2024-09-17 08:05:21 +02:00
siglip Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
speech_encoder_decoder tests: fix pytorch tensor placement errors (#33485) 2024-09-25 12:21:53 +01:00
speech_to_text Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
speecht5 Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
splinter Add SplinterTokenizer unit test (#32652) 2024-10-03 14:49:56 +02:00
squeezebert Refactor: Removed un-necessary object base class (#32230) 2024-07-26 10:33:02 +02:00
stablelm Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
starcoder2 Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
superpoint Use self.config_tester.run_common_tests() (#31431) 2024-06-19 10:18:08 +01:00
swiftformer Rename test_model_common_attributes -> test_model_get_set_embeddings (#31321) 2024-06-07 19:40:26 +01:00
swin Use self.config_tester.run_common_tests() (#31431) 2024-06-19 10:18:08 +01:00
swin2sr Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
swinv2 Fix dtype casting in swinv2 and swinv2sr to allow non-FP32 inference (#31589) 2024-06-26 18:46:48 +01:00
switch_transformers Fix get large model config for Switch Transformer encoder only tester (#32438) 2024-08-06 11:48:32 +01:00
t5 Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
table_transformer Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
tapas Enable padding_side as call time kwargs (#33385) 2024-09-13 11:58:38 +01:00
time_series_transformer Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
timesformer Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
timm_backbone Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
trocr Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
tvp Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
udop Uniformize kwargs for Udop processor and update docs (#33628) 2024-09-23 12:47:32 -04:00
umt5 Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
unispeech Remove trust_remote_code when loading Libri Dummy (#31748) 2024-07-23 14:54:38 +08:00
unispeech_sat Remove trust_remote_code when loading Libri Dummy (#31748) 2024-07-23 14:54:38 +08:00
univnet Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
upernet Use self.config_tester.run_common_tests() (#31431) 2024-06-19 10:18:08 +01:00
video_llava VLMs: enable generation tests (#33533) 2024-09-19 12:04:24 +02:00
videomae Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
vilt Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
vipllava VLMs: enable generation tests (#33533) 2024-09-19 12:04:24 +02:00
vision_encoder_decoder tests: fix pytorch tensor placement errors (#33485) 2024-09-25 12:21:53 +01:00
vision_text_dual_encoder tests: fix pytorch tensor placement errors (#33485) 2024-09-25 12:21:53 +01:00
visual_bert update ruff version (#30932) 2024-05-22 06:40:15 +02:00
vit Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
vit_mae Fix ViT-MAE decoder interpolate (#33330) 2024-09-30 18:47:13 +02:00
vit_msn Rename test_model_common_attributes -> test_model_get_set_embeddings (#31321) 2024-06-07 19:40:26 +01:00
vitdet Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
vitmatte Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
vits Generate tests: modality-agnostic input preparation (#33685) 2024-10-03 14:01:24 +01:00
vivit [Fix] ViViT interpolate_pos_encoding (#33815) 2024-10-01 20:14:35 +01:00
wav2vec2 Uniformize model processors (#31368) 2024-10-02 10:41:08 +02:00
wav2vec2_bert Uniformize model processors (#31368) 2024-10-02 10:41:08 +02:00
wav2vec2_conformer Remove trust_remote_code when loading Libri Dummy (#31748) 2024-07-23 14:54:38 +08:00
wav2vec2_phoneme clean_up_tokenization_spaces=False if unset (#31938) 2024-09-26 19:38:20 +02:00
wav2vec2_with_lm Pass datasets trust_remote_code (#31406) 2024-06-17 17:29:13 +01:00
wavlm Remove trust_remote_code when loading Libri Dummy (#31748) 2024-07-23 14:54:38 +08:00
whisper Fix distil whisper segment computation (#33920) 2024-10-04 11:18:01 +02:00
x_clip adding positional encoder changes and tests (#32600) 2024-09-25 19:05:01 +01:00
xglm Generation tests: update imagegpt input name, remove unused functions (#33663) 2024-09-24 16:40:48 +01:00
xlm Fix 29807 sinusoidal positional encodings in Flaubert, Informer and XLM (#29904) 2024-04-02 10:27:26 +02:00
xlm_roberta [RoBERTa-based] Add support for sdpa (#30510) 2024-08-28 10:26:00 +02:00
xlm_roberta_xl [RoBERTa-based] Add support for sdpa (#30510) 2024-08-28 10:26:00 +02:00
xlnet Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
xmod Fix sentence fragment within test comments (#31218) 2024-06-04 10:09:24 +01:00
yolos Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
yoso Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
zamba Add Zamba (#30950) 2024-10-04 22:28:05 +02:00
zoedepth Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00