[tests] remove tf/flax tests in /generation (#36235)
This commit is contained in:
@@ -24,7 +24,6 @@ from transformers.testing_utils import (
|
||||
slow,
|
||||
)
|
||||
|
||||
from ...generation.test_tf_utils import TFGenerationIntegrationTests
|
||||
from ...test_configuration_common import ConfigTester
|
||||
from ...test_modeling_tf_common import TFModelTesterMixin, ids_tensor, random_attention_mask
|
||||
from ...test_pipeline_mixin import PipelineTesterMixin
|
||||
@@ -244,7 +243,7 @@ class TFMistralModelTester:
|
||||
|
||||
|
||||
@require_tf
|
||||
class TFMistralModelTest(TFModelTesterMixin, TFGenerationIntegrationTests, PipelineTesterMixin, unittest.TestCase):
|
||||
class TFMistralModelTest(TFModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
|
||||
all_model_classes = (
|
||||
(TFMistralModel, TFMistralForCausalLM, TFMistralForSequenceClassification) if is_tf_available() else ()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user