Skip to content

[CPU] SparseAttention op #31272

[CPU] SparseAttention op

[CPU] SparseAttention op #31272

Triggered via pull request July 2, 2024 20:48
Status Failure
Total duration 23m 33s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 16 warnings
Lint C++
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
Python format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Python format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint C++: onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc#L285
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc:285: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/contrib_ops/cpu/sparse/sparse_attention.cc#L16
[cpplint] reported by reviewdog 🐶 Found C system header after other header. Should be: sparse_attention.h, c system, c++ system, other. [build/include_order] [4] Raw Output: onnxruntime/contrib_ops/cpu/sparse/sparse_attention.cc:16: Found C system header after other header. Should be: sparse_attention.h, c system, c++ system, other. [build/include_order] [4]
Lint C++: onnxruntime/contrib_ops/cpu/sparse/sparse_attention.cc#L17
[cpplint] reported by reviewdog 🐶 Found C++ system header after other header. Should be: sparse_attention.h, c system, c++ system, other. [build/include_order] [4] Raw Output: onnxruntime/contrib_ops/cpu/sparse/sparse_attention.cc:17: Found C++ system header after other header. Should be: sparse_attention.h, c system, c++ system, other. [build/include_order] [4]
Lint C++: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h#L19
[cpplint] reported by reviewdog 🐶 Single-parameter constructors should be marked explicit. [runtime/explicit] [5] Raw Output: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h:19: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
Lint C++: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h#L69
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h:69: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h#L157
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h:157: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h#L158
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h:158: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h#L170
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h:170: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h#L189
[cpplint] reported by reviewdog 🐶 Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2] Raw Output: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h:189: Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Lint C++: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h#L264
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h:264: Lines should be <= 120 characters long [whitespace/line_length] [2]