Skip to content

Commit

Permalink
mi100 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Cemberk committed Apr 29, 2024
1 parent 4061329 commit c0052ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/generation/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,7 @@ def test_past_key_values_format(self):
past_kv[i][1].shape, (batch_size, num_attention_heads, seq_length, per_head_embed_dim)
)

@pytest.mark.skip(reason="UT compatability skip MI100")
def test_generate_from_inputs_embeds_decoder_only(self):
# When supported, tests that the decoder model can generate from `inputs_embeds` instead of `input_ids`
# if fails, you should probably update the `prepare_inputs_for_generation` function
Expand Down
3 changes: 1 addition & 2 deletions tests/models/opt/test_modeling_opt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import pytest
# coding=utf-8
# Copyright 2021, The HuggingFace Inc. team. All rights reserved.
#
Expand All @@ -15,7 +14,7 @@
# limitations under the License.
""" Testing suite for the PyTorch OPT model. """


import pytest
import copy
import tempfile
import unittest
Expand Down

0 comments on commit c0052ae

Please sign in to comment.