[tests] remove tf/flax tests in /generation (#36235)
This commit is contained in:
@@ -19,7 +19,6 @@ import timeout_decorator # noqa
|
||||
from transformers import BartConfig, BartTokenizer, is_flax_available
|
||||
from transformers.testing_utils import require_flax, slow
|
||||
|
||||
from ...generation.test_flax_utils import FlaxGenerationTesterMixin
|
||||
from ...test_modeling_flax_common import FlaxModelTesterMixin, floats_tensor, ids_tensor, random_attention_mask
|
||||
|
||||
|
||||
@@ -324,7 +323,7 @@ class BartHeadTests(unittest.TestCase):
|
||||
|
||||
|
||||
@require_flax
|
||||
class FlaxBartModelTest(FlaxModelTesterMixin, unittest.TestCase, FlaxGenerationTesterMixin):
|
||||
class FlaxBartModelTest(FlaxModelTesterMixin, unittest.TestCase):
|
||||
is_encoder_decoder = True
|
||||
all_model_classes = (
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user