Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove alias
Signed-off-by: Kaihui-intel <[email protected]>
  • Loading branch information
Kaihui-intel committed Jun 18, 2024
commit f099c927296ce705202bad3b3a37bff5893a169f
4 changes: 2 additions & 2 deletions neural_compressor/torch/utils/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

from typing import Callable, Dict, List, Tuple, Union

import prettytable as pt
import torch
from typing_extensions import TypeAlias
from prettytable import PrettyTable

from neural_compressor.common.utils import LazyImport, Mode, logger

Expand Down Expand Up @@ -182,7 +182,7 @@ def __init__(self, data, header, field_names, output_handle=logger.info):
self.header = header
self.data = data
self.output_handle = output_handle
self.tb = pt.PrettyTable(min_table_width=40)
self.tb = PrettyTable(min_table_width=40)

def print_stat(self):
"""Print the statistics."""
Expand Down