Commit graph

54 commits

Author SHA1 Message Date
Faith Xu
69fdb7c75a
Labeler: Add ROCm ep issue labeling (#13923)
### Description
Add ROCm EP to auto labeler
2022-12-12 16:27:20 -08:00
Nat Kershaw (MSFT)
21dd341e52
Add Google Analytics to python apidocs (#13901) 2022-12-09 15:44:12 -08:00
Nat Kershaw (MSFT)
43a7b520e4
Convert label config to one line regexes (#13702) 2022-11-19 11:38:29 -08:00
Yi Zhang
67bde18d0d
Update Win_GPU_CI trigger (#13290)
### Description
supplement of #13248

Add PR trigger 

https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#pr-triggers

fix: master -> main

Testted with #13289 #13292

NB:
the real pipeline is always triggered if the workflow yaml changed even
it's added in the path filter.

### 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. -->
Make sure the real pipeline not run in the backend.
2022-10-12 15:22:42 +08:00
Yi Zhang
8a3407d54f
update file name in the comment (#13275)
### Description
Correct the file name in the comments of the generated yaml.

### 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. -->
2022-10-12 08:35:42 +08:00
Nat Kershaw (MSFT)
fb86edb19f
Update publish-c-apidocs.yml to use main instead of master (#13281) 2022-10-11 15:37:59 -07:00
Yi Zhang
ea128cdb18
skip windows GPU check if changes only in doc (#13248)
### Description
Use Path filter and fake workflow to skip windows GPU check if there's
only changes in doc.
Refs:

https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks

The fake github yaml is generated by code.

### 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. -->

###verifications:###
In this PR:
since the win-gpu-ci-pipeline.yml and .github are updated, so the real
Windows GPU workflows are always triggered.

in #13256
To avoid update win-gpu-ci-pipleline.yml, I added the path filter in
devops page. the fake win GPU workflows triggered, and the real
workflows are skipped.
2022-10-11 13:51:44 +08:00
Justin Chu
595a0c8658
Disable clang-tidy CI (#13207)
Disable clang-tidy CI for now because it is creating a lot of false
positives like in https://github.com/microsoft/onnxruntime/pull/12998
2022-10-04 07:37:49 -07:00
Nat Kershaw (MSFT)
68218935b9
Fix syntax error in labeler.yml (#13193) 2022-09-30 23:10:21 -07:00
Nat Kershaw (MSFT)
0bf0991fa2
Update labeler.yml (#13186) 2022-09-30 15:43:33 -07:00
Nat Kershaw (MSFT)
eef0a98cae
Update and fix labeling rules (#13129) 2022-09-30 10:19:23 -07:00
Justin Chu
402e1995f0
Create clang-tidy CI (#12653)
Update clang-tidy config to prepare for creating a CI workflow to run
clang-tidy.
Added clangtidy check in CI

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2022-09-30 08:05:38 -07:00
Faith Xu
440f31668f
Labeler: Test /i regex for case sensitivity (#13115)
### Description
Test if regex change will make auto labeling case insensitive
2022-09-27 13:58:09 -07:00
Nat Kershaw (MSFT)
ce2ea44a56
Try to fix GitHub labeling action (#12999) 2022-09-26 11:46:28 -07:00
Justin Chu
2f9b559391
Declutter pull_request_template (#13026)
Turn the instructions in pull_request_template into comments so
templated language no longer clutter the PR description section.
2022-09-21 14:56:30 -07:00
Faith Xu
94d9e9ad6d
[Issue labeler] Separate out C# api as separate label (#12951)
Separate out C# api as separate label
2022-09-15 17:36:57 -07:00
Cassie Breviu
5099dda42f
Lint updates csharp docs (#12962)
* fix lint issues on docfx.vendor.js file

* fix ci

* remove submodule

* fix ci

* Update var name to AcceptedList

* remove test branch from ci
2022-09-14 17:56:41 -05:00
sophies927
b1984278d9
Enable blank issues (#12885) 2022-09-07 23:28:17 -07:00
sophies927
f63bd0765d
New GitHub templates (#12777)
* Create 01-build.yml

* Create 02-documentation.yml

* Create 03-mobile.yml

* Create 04-web.yml

* Create 05-performance.yml

* Create 06-training.yml

* Create 07-feature_request.yml

* Create 08-general.yml

* Create config.yml

* Delete bug-performance-issue.md

* Delete feature_request.md

* Create labeler.yml

* Create labeler.yml

* Update Performance template to make model info optional.

* Update feature request description placeholder
2022-09-07 11:59:56 -07:00
Cassie Breviu
98b2b7f5bb
Update csharp documentation (#12830) 2022-09-01 22:14:03 -07:00
sophies927
548938fb97
Update stale.yml (#12813)
* Update stale.yml

Change the number of days of inactivity before an issue becomes stale from 60 to 5 and the number of days of inactivity before a stale issue is closed from 7 to 5. Update the exempt labels based on the redefined set of GH labels.

* Implement stale.yml feedback.
2022-09-01 20:50:46 -07:00
Justin Chu
6fe712b587
Create codeql.yml to replace LGTM (#12790)
**Description**: Create codeql.yml to replace LGTM

**Motivation and Context**

LGTM.com is shutting down and moving to github code scanning. This PR enables github code scanning.

cpp and c# support will be added in a separate pr.
2022-09-01 16:37:43 -07:00
Nat Kershaw (MSFT)
cc94ba7740
Update C# API docs workflow (#12796) 2022-08-31 09:41:01 -07:00
Cassie Breviu
3e57cd88fc
Csharp docfx update (#12755)
* update dest to csharp folder, update ci to remove unused files, update git ignore

* add test branch to ci
2022-08-29 08:13:45 -05:00
Cassie Breviu
e85dce8cea
Add csharp docfx (#12596)
* add docfx and gh action to build docs

* kick off build from feature branch

* Fix LGTM linting

* update az pipeline to win22 & remove nuget install

* remove azure ci changes

* fix implicit using to support 5.0

* fix more js issues

* remove resource designer changes

* remove space

* fix linting misspellings in autogenerated js temp

* fix misspellings in generated code

* delete log file
2022-08-25 09:51:32 -05:00
Nat Kershaw (MSFT)
cc9b3e1c37
Automate generation of javadocs and create PR with changes (#12515) 2022-08-12 12:03:38 -07:00
Adam Pocock
8a86b346a5
[Java] JNI refactor for ONNX Tensor (#12281)
Working on JNI refactor for OnnxTensor.
  Simplifying the error handling logic in createTensor.
  Collapsing casting branches and migrating to ONNX element type enum.
  Disable cpplint for JNI C files.
2022-08-08 12:48:30 -07:00
Changming Sun
44ec2cf088
Update publish-python-apidocs.yml (#12433) 2022-08-03 10:17:00 -07:00
Nat Kershaw (MSFT)
df8dd41a8e
Automatically run workflows to generate API docs PRs (#11749) 2022-07-29 10:24:59 -07:00
Justin Chu
d2b25a7c1c
Reduce CI noise from Python lint (#12270)
Description: Reduce CI noise from Python lint

Motivation and Context

Disable "missing-docstring" in pylint. This is usually noisy in tests
Show only added lint messages only for pyright
2022-07-27 13:42:29 -07:00
Alexey Gladyshev
d31db1aa57
[TVM EP][CI] Integrate TVM EP into ORT public CI on Windows (#12161)
* Integrate TVM EP into ORT public CI on Windows

* empty commit for restart pylint

* empty commit for restart pylint
2022-07-18 11:12:16 +02:00
Valery Chernov
3b0aaa9e0e
[TVM EP] support build on Windows (#11851)
* add description of build ORT+TVM EP on Windows

* fix cmake error related to symlink creation on Windows

* add llvm config path to build flags for correct build on Windows

* update TVM_EP.md for llvm_config build arg

* fix warnings skipping during build on Windows

* fix using string or wstring for model path to correct build on Windows (MSVC error)

* fix error in custom logger for correct build on Windows

* implement glob algorithm for Windows

* additional build fixes

* update TVM with export of VM symbols for dll

* description of nasm issue and workaround

* update TVM with export of Executable from VM symbols for dll

* description of installation of ipp-crypto dependencies on Windows

* cmake key for ipp-crypto build

* fix wstring for TVMso EP

* fix ipp-crypto build

* cmake key onnxruntime_TVM_USE_HASH switch off not specific methods, but full hash functionality

* fix absolute path to compiled lib

* update TVM_EP.md, fix lint warnings

* update TVM_EP.md

* small fixes after review

* switch on handshake functionality for Linux workflow

Co-authored-by: Valery Chernov <valery.chernov@deelvin.com>
Co-authored-by: KJlaccHoeUM9l <wotpricol@mail.ru>
2022-07-13 10:48:42 +02:00
Valery Chernov
8ba8146650
[TVM] handshake mechanism for support of TVMso EP (#11437)
* infrastructure for handshake mechanism was implemented. sha256 was selected as first hash algorithm

* check hash during compile in TVMso EP

* add IPP-CRYPTO to external dependencies for TVM EP

* made checkHash method constant

* removed the public implementation of the SHA-256 algorithm so as not to cause a license conflict

* implemented SHA-256 calculation using ipp-crypto library

* fix dependency for ipp-crypto

* add provider options for hash check

* update documentation for added provider options

* add hash check condition

* fix docs

* fix lint

* fix ORT_THROW

Co-authored-by: Valery Chernov <valery.chernov@deelvin.com>
Co-authored-by: KJlaccHoeUM9l <wotpricol@mail.ru>
2022-06-29 14:57:18 +02:00
Changming Sun
a93ebd2503
Move tvm pipeline to Github Actions (#11721) 2022-06-13 11:38:44 -07:00
Justin Chu
913100885b
Remove the redundant black check in CI (#11790)
We have two black checks in CI for different scopes (PR, full repo). Now that the repo level black check is required, we can remove the PR level check.
2022-06-08 16:58:43 -07:00
Gary Miguel
b67c0f639c
Remove filter_mode input from pyflakes GitHub action (#11644)
Previously it triggered:

`Warning: Unexpected input(s) 'filter_mode', valid inputs are ['entryPoint', 'args', 'github_token', 'level', 'reporter']`
2022-05-27 07:59:17 -07: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
f94b25933a
ci(cpplint): Ignore runtime/references warnings (#11499)
Allow non-const references 6f85d3e5c8/docs/Coding_Conventions_and_Standards.md (L11-L12)
2022-05-12 07:51:45 -07:00
Justin Chu
4ec5fe5c8a
Github action: Inline lint python / js / cpp (#11328)
Uses the reviewdog action which supports inline reporting.
2022-04-26 14:17:28 -07:00
Faruk D
a00d24066a
Fix CITATION.cff and add automatic validation of your citation metadata (#10478)
* Add cffconvert.yml to validate CITATION.cff

* Fix CITATION.cff by removing duplicate title and correcting the license

Co-authored-by: Abel Soares Siqueira <abel.s.siqueira@gmail.com>
2022-04-13 10:03:52 -07:00
Nat Kershaw (MSFT)
2d961604b1
Refactor Python API docs to better explain IO binding scenarios (#10651) 2022-03-15 09:40:59 -07:00
Nat Kershaw (MSFT)
d52d3c0052
Update C/C++ API docs automation to create a PR (instead of push to publish branch) (#10093) 2022-01-07 16:16:47 -08:00
Nat Kershaw (MSFT)
0c517112c4
Automate Python API docs generation (#10116) 2022-01-03 18:22:22 -08:00
Nat Kershaw (MSFT)
b4434c7694
Automate generation of C/C++ API docs (#9997) 2021-12-10 17:45:50 -08:00
Pranav Sharma
969eb545d1
Update issue template to ask users to check known issues to avoid repetition. (#8288) 2021-07-02 15:36:14 -07:00
Pranav Sharma
a9548283d0
Don't mark issues that are marked as enhancement as stale (#6134) 2020-12-14 18:57:40 -08:00
Nat Kershaw (MSFT)
81ff168833
Update stale.yml with current labels and mark stale items as "stale" (#4831) 2020-08-18 13:25:57 -07:00
Faith Xu
a4127fc185
Add stale bot (#4323)
* Add stalebot

* Update exemptLabels
2020-06-30 01:51:09 -07:00
Pranav Sharma
497e83eda5
Minor update to the issue template. Add a line to attach model where applicable. (#3339) 2020-03-26 14:28:27 -07:00
Faith Xu
5b93b02c69 Issue template update (#1339)
* Update to include urgency

* Wording update

* Wording update
2019-07-07 23:38:52 -07:00