Skip to content

Add numeric_limits for MLFloat16 and BFloat16 #34431

Add numeric_limits for MLFloat16 and BFloat16

Add numeric_limits for MLFloat16 and BFloat16 #34431

Triggered via pull request September 25, 2024 21:30
Status Success
Total duration 13m 57s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
Optional Lint C++: include/onnxruntime/core/framework/float16.h#L335
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: include/onnxruntime/core/framework/float16.h:335: Lines should be <= 120 characters long [whitespace/line_length] [2]
Optional Lint C++: include/onnxruntime/core/framework/float16.h#L372
[cpplint] reported by reviewdog 🐶 Add #include <limits> for numeric_limits<> [build/include_what_you_use] [4] Raw Output: include/onnxruntime/core/framework/float16.h:372: Add #include <limits> for numeric_limits<> [build/include_what_you_use] [4]
Optional Lint C++: onnxruntime/core/providers/cuda/math/clip.cc#L66
[cpplint] reported by reviewdog 🐶 Add #include <limits> for numeric_limits<> [build/include_what_you_use] [4] Raw Output: onnxruntime/core/providers/cuda/math/clip.cc:66: Add #include <limits> for numeric_limits<> [build/include_what_you_use] [4]