Expose Reserve() in OrtAllocator to allow custom allocators to work when session.use_device_allocator_for_initializers is specified. #27824
lint.yml
on: pull_request
Optional Lint
44s
Python format
5m 1s
Lint C++
23m 19s
Lint JavaScript
28s
Annotations
12 warnings
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++:
include/onnxruntime/core/session/onnxruntime_c_api.h#L327
[cpplint] reported by reviewdog 🐶
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw Output:
include/onnxruntime/core/session/onnxruntime_c_api.h:327: Lines should be <= 120 characters long [whitespace/line_length] [2]
|
Lint C++:
onnxruntime/core/session/allocator_adapters.cc#L22
[cpplint] reported by reviewdog 🐶
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw Output:
onnxruntime/core/session/allocator_adapters.cc:22: Lines should be <= 120 characters long [whitespace/line_length] [2]
|
Lint C++:
onnxruntime/test/shared_lib/test_inference.cc#L2886
[cpplint] reported by reviewdog 🐶
Consider using ASSERT_EQ instead of ASSERT_TRUE(a == b) [readability/check] [2]
Raw Output:
onnxruntime/test/shared_lib/test_inference.cc:2886: Consider using ASSERT_EQ instead of ASSERT_TRUE(a == b) [readability/check] [2]
|
Lint C++:
onnxruntime/test/util/test_allocator.cc#L12
[cpplint] reported by reviewdog 🐶
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw Output:
onnxruntime/test/util/test_allocator.cc:12: Lines should be <= 120 characters long [whitespace/line_length] [2]
|
Lint C++:
onnxruntime/test/util/test_allocator.cc#L42
[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<size_t*>(...) instead [readability/casting] [4]
Raw Output:
onnxruntime/test/util/test_allocator.cc:42: Using C-style cast. Use reinterpret_cast<size_t*>(...) instead [readability/casting] [4]
|
Lint C++:
onnxruntime/test/util/test_allocator.cc#L43
[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<char*>(...) instead [readability/casting] [4]
Raw Output:
onnxruntime/test/util/test_allocator.cc:43: Using C-style cast. Use reinterpret_cast<char*>(...) instead [readability/casting] [4]
|