diff --git a/python/tvm/ir/instrument.py b/python/tvm/ir/instrument.py index 70c482e06125..d87bb1f164c0 100644 --- a/python/tvm/ir/instrument.py +++ b/python/tvm/ir/instrument.py @@ -53,7 +53,7 @@ def get_child_method(name): return getattr(self, name) # Create runtime pass instrument object. - # reister instance's enter_pass_ctx,exit_pass_ctx, should_run, run_before_pass and + # register instance's enter_pass_ctx,exit_pass_ctx, should_run, run_before_pass and # run_after_pass methods to it if present. self.__init_handle_by_constructor__( _ffi_instrument_api.PassInstrument, diff --git a/src/tir/transforms/inject_rolling_buffer.cc b/src/tir/transforms/inject_rolling_buffer.cc index 9fdab35c85f4..5f7b9b4156c3 100644 --- a/src/tir/transforms/inject_rolling_buffer.cc +++ b/src/tir/transforms/inject_rolling_buffer.cc @@ -59,7 +59,7 @@ class RollingBufferInjector : public StmtExprMutator { std::map> buffer_to_attrs{}; std::map rolling_buffer_to_info{}; // The actual key type is Var, ObjectRef has been used because - // of the ambiguous overload for ‘operator<’ + // of the ambiguous overload for 'operator<' std::map> hoist_buffer_to_for{}; public: diff --git a/tests/python/driver/tvmc/test_parse_config_file.py b/tests/python/driver/tvmc/test_parse_config_file.py index 6aec2cd453a3..767cc547d678 100644 --- a/tests/python/driver/tvmc/test_parse_config_file.py +++ b/tests/python/driver/tvmc/test_parse_config_file.py @@ -166,7 +166,7 @@ def test_tvmc_get_configs_json_dir(tmpdir_factory, monkeypatch): monkeypatch.setattr(tvm.driver.tvmc.config_options, "CONFIGS_JSON_DIR", None) monkeypatch.setenv("TVM_CONFIGS_JSON_DIR", "not_a_directory") result = get_configs_json_dir() - assert_msg = "Non-existant directory passed via TVM_CONFIGS_JSON_DIR should be ignored." + assert_msg = "Non-existent directory passed via TVM_CONFIGS_JSON_DIR should be ignored." assert result == default_dir, assert_msg # Set custom dir which does exist