Skip to content

Commit

Permalink
Fix typos of ONNXRuntimme -> ONNXRuntime (#1155)
Browse files Browse the repository at this point in the history
ONNXRuntimme -> ONNXRuntime
  • Loading branch information
mgoin authored Jul 3, 2023
1 parent ace598e commit 1939df0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion optimum/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
from .base import BaseOptimumCLICommand, CommandInfo, RootOptimumCLICommand
from .env import EnvironmentCommand
from .export import ExportCommand, ONNXExportCommand, TFLiteExportCommand
from .onnxruntime import ONNXRuntimeCommand, ONNXRuntimmeOptimizeCommand, ONNXRuntimmeQuantizeCommand
from .onnxruntime import ONNXRuntimeCommand, ONNXRuntimeOptimizeCommand, ONNXRuntimeQuantizeCommand
from .optimum_cli import register_optimum_cli_subcommand
4 changes: 2 additions & 2 deletions optimum/commands/onnxruntime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# limitations under the License.

from .base import ONNXRuntimeCommand
from .optimize import ONNXRuntimmeOptimizeCommand
from .quantize import ONNXRuntimmeQuantizeCommand
from .optimize import ONNXRuntimeOptimizeCommand
from .quantize import ONNXRuntimeQuantizeCommand
8 changes: 4 additions & 4 deletions optimum/commands/onnxruntime/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"""optimum.onnxruntime command-line interface base classes."""

from .. import BaseOptimumCLICommand, CommandInfo
from .optimize import ONNXRuntimmeOptimizeCommand
from .quantize import ONNXRuntimmeQuantizeCommand
from .optimize import ONNXRuntimeOptimizeCommand
from .quantize import ONNXRuntimeQuantizeCommand


class ONNXRuntimeCommand(BaseOptimumCLICommand):
Expand All @@ -28,11 +28,11 @@ class ONNXRuntimeCommand(BaseOptimumCLICommand):
CommandInfo(
name="optimize",
help="Optimize ONNX models.",
subcommand_class=ONNXRuntimmeOptimizeCommand,
subcommand_class=ONNXRuntimeOptimizeCommand,
),
CommandInfo(
name="quantize",
help="Dynammic quantization for ONNX models.",
subcommand_class=ONNXRuntimmeQuantizeCommand,
subcommand_class=ONNXRuntimeQuantizeCommand,
),
)
2 changes: 1 addition & 1 deletion optimum/commands/onnxruntime/optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def parse_args_onnxruntime_optimize(parser: "ArgumentParser"):
)


class ONNXRuntimmeOptimizeCommand(BaseOptimumCLICommand):
class ONNXRuntimeOptimizeCommand(BaseOptimumCLICommand):
@staticmethod
def parse_args(parser: "ArgumentParser"):
return parse_args_onnxruntime_optimize(parser)
Expand Down
2 changes: 1 addition & 1 deletion optimum/commands/onnxruntime/quantize.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def parse_args_onnxruntime_quantize(parser: "ArgumentParser"):
)


class ONNXRuntimmeQuantizeCommand(BaseOptimumCLICommand):
class ONNXRuntimeQuantizeCommand(BaseOptimumCLICommand):
@staticmethod
def parse_args(parser: "ArgumentParser"):
return parse_args_onnxruntime_quantize(parser)
Expand Down

0 comments on commit 1939df0

Please sign in to comment.