mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
[Flax] Fix flax test save pretrained (#12256)
* fix_torch_device_generate_test * remove @ * fix flax save pretrained test
This commit is contained in:
parent
b75b5605c9
commit
4e9a6796c7
1 changed files with 0 additions and 3 deletions
|
|
@ -247,9 +247,6 @@ class FlaxModelTesterMixin:
|
|||
config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()
|
||||
|
||||
for model_class in self.all_model_classes:
|
||||
if model_class.__name__ != "FlaxBertModel":
|
||||
continue
|
||||
|
||||
with self.subTest(model_class.__name__):
|
||||
model = model_class(config)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue