Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Yulong Wang 8c5336449d
Stop VSCode appending file associations to settings.json (#21944)
### Description

If you open onnxruntime source code using VSCode with C/C++ extension,
it's keeping adding file associations for C/C++ headers into this
settings.json. This is annoying when staging/committing changes.

Add a configuration to disable this behavior.

see:
-
https://stackoverflow.com/questions/65220185/how-to-stop-vs-code-to-keep-adding-standard-c-libraries-to-the-file-associatio
-
https://github.com/microsoft/vscode-cpptools/issues/722#issuecomment-480329005
2024-08-31 19:04:12 -07:00
Yufeng Li 22176a5fa8
disable gemm f16 on CPU (#19744)
### Description
<!-- Describe your changes. -->
Temporarily disable fp16 gemm on CPU because it usually needs a
following Cast which offsets the gain. Need more fp16 operators
implementation and performance tuning.

Also fix a fusion error of LayerNormalization.
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
2024-03-01 13:44:29 -08:00
Yulong Wang 0a0ef958eb
update .vscode/settings.json (#19084)
### Description

`"explicit"` now replaced `true` to config entry
"source.organizeImports". Latest VSCode will automatically modify this
config.
2024-01-10 19:26:01 -08:00
cloudhan 2f608338cb
Setup default python formatter for new python plugin (#18563) 2023-11-24 18:04:48 +08:00
Justin Chu d87d480857
Remove deprecated vscode settings (#18349)
### Description
Remove deprecated vscode settings. The python settings are deprecated
and will cause vscode to pop up with a warning.
2023-11-10 18:00:35 -08:00
Kaz Nishimura f43acf2d33
Close the JSON object in settings.json (#17583)
### Description

This patch adds a closing curly bracket at the end of `settings.json`.

### Motivation and Context

`settings.json` is just not closed. It was accidentally removed at
4e6ea730d6
2023-09-26 09:51:13 -07:00
Khalia Spear 4e6ea730d6
Broadcasting for SLN for CPU and CUDA (#16510)
### 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>
2023-08-07 09:55:42 -07:00
msftlincoln 424120d0fa
cpplint & Eager mode: refactor and add comments to empty_* functions, general lint cleanup in ort_aten (#12238)
* empty* comments and code reuse

* lint

* more cpplint

* add cpplint settings

* test empty
2022-07-20 11:47:57 -04:00
Justin Chu d9c9adb78b
Add python static type checking in CI checks (#11518)
- Enable pyright and pylint (https://github.com/microsoft/pyright) in CI
- Enable pyright, pylint and bandit by default in VS code

Pylint has some good style checks. pyright is Microsoft's static type checker.
2022-05-16 13:26:56 -07:00
Justin Chu 6fb29f5b9a
Add python docstring linting in vscode settings (#11316)
Add python docstring linting in vscode settings
Use black and isort for python code formatting in VScode. Import sorting enabled on save. Code formatting available in VSCode with manual trigger.
Adopted from pytorch https://github.com/pytorch/pytorch/blob/master/.vscode/settings_recommended.json
2022-04-23 06:23:04 -07:00