Skip to content

Make Flash Attention work on Windows #30983

Make Flash Attention work on Windows

Make Flash Attention work on Windows #30983

Triggered via pull request June 21, 2024 20:28
Status Failure
Total duration 23m 22s
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/cuda/bert/flash_attention/alibi.h#L3
[cpplint] reported by reviewdog 🐶 Found C system header after other header. Should be: alibi.h, c system, c++ system, other. [build/include_order] [4] Raw Output: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h:3: Found C system header after other header. Should be: alibi.h, c system, c++ system, other. [build/include_order] [4]
Lint C++: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h#L4
[cpplint] reported by reviewdog 🐶 Found C system header after other header. Should be: alibi.h, c system, c++ system, other. [build/include_order] [4] Raw Output: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h:4: Found C system header after other header. Should be: alibi.h, c system, c++ system, other. [build/include_order] [4]
Lint C++: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h#L5
[cpplint] reported by reviewdog 🐶 Include the directory when naming header files [build/include_subdir] [4] Raw Output: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h:5: Include the directory when naming header files [build/include_subdir] [4]
Lint C++: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h#L10
[cpplint] reported by reviewdog 🐶 Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5] Raw Output: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h:10: Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint C++: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h#L20
[cpplint] reported by reviewdog 🐶 You don't need a ; after a } [readability/braces] [4] Raw Output: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h:20: You don't need a ; after a } [readability/braces] [4]
Lint C++: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h#L57
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cuda/bert/flash_attention/alibi.h:57: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/contrib_ops/cuda/bert/flash_attention/flash_api.h#L69
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cuda/bert/flash_attention/flash_api.h:69: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/contrib_ops/cuda/bert/flash_attention/flash_api.h#L120
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cuda/bert/flash_attention/flash_api.h:120: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/contrib_ops/cuda/bert/flash_attention/flash_fwd_kernel.h#L37
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cuda/bert/flash_attention/flash_fwd_kernel.h:37: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/contrib_ops/cuda/bert/flash_attention/flash_fwd_kernel.h#L60
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/contrib_ops/cuda/bert/flash_attention/flash_fwd_kernel.h:60: Lines should be <= 120 characters long [whitespace/line_length] [2]