mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 11:11:05 +06:00
Skip torchscript tests for MusicgenForConditionalGeneration
(#24782)
fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
e367a9770f
commit
717dadc6f3
@ -506,6 +506,9 @@ class MusicgenTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMixin,
|
||||
test_pruning = False # training is not supported yet for MusicGen
|
||||
test_headmasking = False
|
||||
test_resize_embeddings = False
|
||||
# not to test torchscript as the model tester doesn't prepare `input_values` and `padding_mask`
|
||||
# (and `torchscript` hates `None` values).
|
||||
test_torchscript = False
|
||||
|
||||
def setUp(self):
|
||||
self.model_tester = MusicgenTester(self)
|
||||
|
Loading…
Reference in New Issue
Block a user