Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
Signed-off-by: changwangss <[email protected]>
  • Loading branch information
changwangss committed Sep 26, 2023
1 parent 183da95 commit a4a3142
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/ipex/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import unittest

import torch
from parameterized import parameterized

# TODO : add more tasks
from transformers import (
Expand All @@ -29,6 +28,7 @@

from optimum.intel import inference_mode as ipex_inference_mode
from optimum.intel.generation.modeling import TSModelForCausalLM
from parameterized import parameterized


MODEL_NAMES = {
Expand Down Expand Up @@ -56,12 +56,7 @@ class IPEXIntegrationTest(unittest.TestCase):
"roberta",
)

TEXT_GENERATION_SUPPORTED_ARCHITECTURES = (
"gptj",
"gpt2",
"gpt_neo",
"gpt_bigcode"
)
TEXT_GENERATION_SUPPORTED_ARCHITECTURES = ("gptj", "gpt2", "gpt_neo", "gpt_bigcode")

QA_SUPPORTED_ARCHITECTURES = (
"bert",
Expand Down

0 comments on commit a4a3142

Please sign in to comment.