mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-27 22:45:57 +00:00
### Description
Enhanced SkipLayerNorm by implementing broadcasting for both CPU and
CUDA
### Motivation and Context
The input and skip tensors no longer have to be the same size which
means that it can accept data where the skip shape can be the same size
as the input shape, have a shape of {1, sequence_length, hidden_size},
or {sequence_length, hidden_size}.
---------
Co-authored-by: Tianlei Wu <tlwu@microsoft.com>
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
// Always remove trailing whitespaces
|
|
"files.trimTrailingWhitespace": true,
|
|
"files.insertFinalNewline": true,
|
|
"files.trimFinalNewlines": true,
|
|
"editor.rulers": [
|
|
120
|
|
],
|
|
"[python]": {
|
|
"editor.tabSize": 4,
|
|
// Auto sort imports
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": true
|
|
},
|
|
},
|
|
// Enable Python linting and Pylance type checking
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
"python.formatting.provider": "black",
|
|
"python.formatting.blackArgs": [
|
|
"--line-length",
|
|
"120"
|
|
],
|
|
"python.sortImports.args": [
|
|
"--profile",
|
|
"black",
|
|
"--line-length",
|
|
"120"
|
|
],
|
|
"python.linting.enabled": true,
|
|
"python.linting.flake8Enabled": true,
|
|
"python.linting.pylintEnabled": true,
|
|
"python.linting.pydocstyleEnabled": true,
|
|
"python.linting.pydocstyleArgs": [
|
|
"--convention=google"
|
|
],
|
|
"python.linting.banditEnabled": true,
|
|
"cpplint.lineLength": 120,
|
|
"cpplint.filters": [
|
|
"-build/include_subdir",
|
|
"-runtime/references"
|
|
]
|