Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vshampor committed Oct 31, 2023
1 parent a8be5bd commit e6feb4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/experimental/openvino/bert/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
from pathlib import Path
from typing import Any, Iterable

import datasets
import evaluate
import numpy as np
import openvino.runtime as ov
import torch
import transformers

import datasets
import nncf
from nncf.parameters import ModelType

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import abc
from collections import Counter
from collections import namedtuple
from dataclasses import dataclass
Expand Down Expand Up @@ -154,7 +155,7 @@ def get_graph(self) -> nx.DiGraph:
return graph


class ThreeInputGraphWithConcatAndBinaryOp(GraphProvider, ABC):
class ThreeInputGraphWithConcatAndBinaryOp(GraphProvider, abc.ABC):
BINARY_OP_NAME = "binary_op"
CONCAT_NODE_NAME = "concat"

Expand Down
3 changes: 1 addition & 2 deletions tests/torch/sparsity/movement/training_scripts/run_glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
from pathlib import Path
from typing import Dict, List, Optional, Tuple

import datasets
import evaluate
import jstyleson
import numpy as np
from transformers.training_args import ParallelMode

import datasets

# isort: off
from nncf import NNCFConfig
from nncf.api.compression import CompressionAlgorithmController
Expand Down

0 comments on commit e6feb4d

Please sign in to comment.