Repository navigation
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The spelling-cleanup change has no active review issues.
No open issues 🎉
What changed in this PR
This PR corrects spelling across ONNX Runtime to support the blocking misspell check introduced by companion PR #33779. Changes preserve execution logic and public interfaces.
Changes:
- Correct typos in comments, documentation, and docstrings.
- Fix spelling in a TensorRT error message and Python test output.
- Consistently rename misspelled local variables and function parameters.
| File | Description |
|---|---|
pyproject.toml |
Corrects a lint-configuration comment. |
onnxruntime/test/shared_lib/test_model_builder_api.cc |
Corrects “initializer” in a helper comment. |
onnxruntime/test/python/onnxruntime_test_python_ort_parallel.py |
Corrects the hang-detection output message. |
onnxruntime/test/framework/allocation_planner_test.cc |
Corrects a free-list comment. |
onnxruntime/python/tools/transformers/models/stable_diffusion/README.md |
Corrects “version” in setup documentation. |
onnxruntime/python/tools/qnn/preprocess.py |
Corrects an argument docstring. |
onnxruntime/core/providers/webnn/builders/impl/expand_op_builder.cc |
Corrects a constant-initializer comment. |
onnxruntime/core/providers/webgpu/shader_helper.h |
Corrects shader-generation comments. |
onnxruntime/core/providers/webgpu/program_manager.cc |
Corrects cache and string-format comments. |
onnxruntime/core/providers/vitisai/vitisai_execution_provider.h |
Corrects a compilation-related comment. |
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc |
Corrects “Unknown” in a preview-feature error. |
onnxruntime/core/providers/qnn/builder/opbuilder/lstm_op_builder.cc |
Corrects spelling in LSTM output comments. |
onnxruntime/core/providers/partitioning_utils.cc |
Renames the redundant-clip local variable consistently. |
onnxruntime/core/providers/migraphx/migraphx_provider_factory.cc |
Renames a local character-count variable to written. |
onnxruntime/core/providers/cuda/nn/conv.cc |
Corrects a fusion comment. |
onnxruntime/core/providers/cuda/nn/conv_transpose.cc |
Corrects padding and fusion comments. |
onnxruntime/core/providers/cpu/ml/tree_ensemble_attribute.h |
Corrects a membership-value comment. |
onnxruntime/core/providers/coreml/builders/impl/normalization_op_builder.cc |
Corrects a normalization-attribute comment. |
onnxruntime/core/mlas/lib/qlutgemm.cpp |
Corrects “alignment” in buffer documentation. |
onnxruntime/core/graph/graph_utils.h |
Corrects initializer-copy documentation. |
onnxruntime/contrib_ops/webgpu/moe/final_mix.wgsl.template |
Corrects a token-offset comment. |
onnxruntime/contrib_ops/cuda/llm/cutlass_extensions/gemm/kernel/fused_moe_kernel.cuh |
Corrects the available-shared-memory parameter name. |
onnxruntime/contrib_ops/cuda/llm/cutlass_extensions/gemm/kernel/fused_moe_kernel_traits.cuh |
Applies the same parameter spelling correction. |
onnxruntime/contrib_ops/cuda/fused_conv.cc |
Corrects a padding comment. |
include/onnxruntime/ep/adapter/kernel_registry.h |
Corrects a control-flow kernel comment. |
include/onnxruntime/core/providers/cann/cann_provider_options.h |
Corrects a subgraph-generation comment. |
Review effort: Balanced
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes the 37 genuine spelling typos that the
misspelllinter (golangci/misspell v0.8.0, run byreviewdog/action-misspellin.github/workflows/lint.yml) reports onmainunder the updated linter configuration. Every change is limited to a comment, docstring, string literal, or local identifier:automaticly,overriden,expecially,substract,accomodate,allignment,similiar,seperated,succesful,varient,compliation,Explaination,stlye,neccessary,specifiying,verison,implmented,initalizer,aggresiveUnkown or unsupported preview feature→Unknown ...(no test asserts on this text)avaliable_smem_size→available_smem_size(function parameter),redundent_clip_node→redundant_clip_node,writen→writtenHang occured→Hang occurredNo functional changes.
Validation:
misspell.exe -i nto,spectre,interm <all tracked files except package-lock.json, docfx.vendor.js, csharp/ApiDocs/_exported_templates>(misspell v0.8.0): 37 findings before → 0 findings after.lintrunner <changed files>: passed ("No lint issues").Motivation and Context
Pairs with #33779, which reconfigures the misspell step (no locale, ignore
nto,spectre,interm, exclude lockfiles/vendored templates) and makes the PR check blocking. With both PRs merged,mainis clean for the misspell linter.