Commit graph

7 commits

Author SHA1 Message Date
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