diff --git a/cmake/onnxruntime_providers.cmake b/cmake/onnxruntime_providers.cmake index b9e7873132..4861643832 100644 --- a/cmake/onnxruntime_providers.cmake +++ b/cmake/onnxruntime_providers.cmake @@ -1750,7 +1750,7 @@ if (onnxruntime_USE_TVM) target_include_directories(onnxruntime_providers_tvm PRIVATE ${TVM_INCLUDES} - ${PYTHON_INLCUDE_DIRS}) + ${PYTHON_INCLUDE_DIRS}) onnxruntime_add_include_to_target(onnxruntime_providers_tvm onnxruntime_common onnxruntime_framework onnx onnx_proto ${PROTOBUF_LIB} flatbuffers::flatbuffers Boost::mp11 safeint_interface) add_dependencies(onnxruntime_providers_tvm ${onnxruntime_EXTERNAL_DEPENDENCIES}) diff --git a/onnxruntime/core/providers/cpu/tensor/upsamplebase.h b/onnxruntime/core/providers/cpu/tensor/upsamplebase.h index c13c9d42dd..99522cdf07 100644 --- a/onnxruntime/core/providers/cpu/tensor/upsamplebase.h +++ b/onnxruntime/core/providers/cpu/tensor/upsamplebase.h @@ -239,7 +239,7 @@ class UpsampleBase { if (coordinate_transform_mode_name == "half_pixel_symmetric") { return HALF_PIXEL_SYMMETRIC; } - ORT_THROW("coordinate_transform_mode:[" + coordinate_transform_mode_name + "] is not supportted!"); + ORT_THROW("coordinate_transform_mode:[" + coordinate_transform_mode_name + "] is not supported!"); } GetOriginalCoordinateFunc GetOriginalCoordinateFromResizedCoordinate( diff --git a/onnxruntime/python/tools/tensorrt/perf/benchmark.py b/onnxruntime/python/tools/tensorrt/perf/benchmark.py index d440cafb23..acd836c915 100644 --- a/onnxruntime/python/tools/tensorrt/perf/benchmark.py +++ b/onnxruntime/python/tools/tensorrt/perf/benchmark.py @@ -2176,7 +2176,7 @@ def parse_arguments(): required=False, default=True, action="store_true", - help="Inlcude Float16 into benchmarking.", + help="Include Float16 into benchmarking.", ) parser.add_argument("--trtexec", required=False, default=None, help="trtexec executable path.") diff --git a/onnxruntime/python/tools/transformers/convert_to_packing_mode.py b/onnxruntime/python/tools/transformers/convert_to_packing_mode.py index 0b8dbdcdd9..4da97f0de7 100644 --- a/onnxruntime/python/tools/transformers/convert_to_packing_mode.py +++ b/onnxruntime/python/tools/transformers/convert_to_packing_mode.py @@ -67,7 +67,7 @@ class PackingAttentionBase: last_layernorm_node = node return last_layernorm_node - def _are_attentions_supportted(self) -> bool: + def _are_attentions_supported(self) -> bool: raise NotImplementedError() def _insert_removepadding_node(self, inputs: List[str], outputs: List[str]) -> None: @@ -105,7 +105,7 @@ class PackingAttentionBase: def convert(self, use_symbolic_shape_infer: bool = True) -> None: logger.debug("start converting to packing model...") - if not self._are_attentions_supportted(): + if not self._are_attentions_supported(): return attention_mask = self._try_getting_attention_mask() @@ -164,7 +164,7 @@ class PackingAttention(PackingAttentionBase): def __init__(self, model: OnnxModel): super().__init__(model, Operators.ATTENTION) - def _are_attentions_supportted(self) -> bool: + def _are_attentions_supported(self) -> bool: for node in self.attention_nodes: if OnnxModel.get_node_attribute(node, "past_present_share_buffer") is not None: return False @@ -237,7 +237,7 @@ class PackingMultiHeadAttention(PackingAttentionBase): return False return True - def _are_attentions_supportted(self) -> bool: + def _are_attentions_supported(self) -> bool: for node in self.attention_nodes: for attr in node.attribute: if attr.name not in ["num_heads", "mask_filter_value", "scale"]: diff --git a/onnxruntime/test/python/quantization/test_conv_dynamic.py b/onnxruntime/test/python/quantization/test_conv_dynamic.py index 9578c9fe70..18467bcbc1 100644 --- a/onnxruntime/test/python/quantization/test_conv_dynamic.py +++ b/onnxruntime/test/python/quantization/test_conv_dynamic.py @@ -95,7 +95,7 @@ class TestONNXModel(unittest.TestCase): for use_quant_config in [True, False]: self.dynamic_quant_conv_test(QuantType.QUInt8, extra_options={}, use_quant_config=use_quant_config) - # TODO: uncomment following after ConvInteger s8 supportted + # TODO: uncomment following after ConvInteger s8 supported # def test_quant_conv_s8s8(self): # self.dynamic_quant_conv_test(QuantType.QInt8, extra_options={'ActivationSymmetric': True}) diff --git a/tools/ci_build/build.py b/tools/ci_build/build.py index c4fb549998..c25a61ee5d 100644 --- a/tools/ci_build/build.py +++ b/tools/ci_build/build.py @@ -2055,7 +2055,7 @@ def build_nuget_package( ): if not (is_windows() or is_linux()): raise BuildError( - "Currently csharp builds and nuget package creation is only supportted on Windows and Linux platforms." + "Currently csharp builds and nuget package creation is only supported on Windows and Linux platforms." ) csharp_build_dir = os.path.join(source_dir, "csharp")