Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into snnn-patch-5
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed May 14, 2024
2 parents 5878f5e + 113aa29 commit f8b74ff
Show file tree
Hide file tree
Showing 6,353 changed files with 3,227,052 additions and 354,415 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 3 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ BasedOnStyle: Google
ColumnLimit: 0
SortIncludes: false
DerivePointerAlignment: false
# Avoid adding spaces between tokens in GSL_SUPPRESS arguments.
# E.g., don't change "GSL_SUPPRESS(r.11)" to "GSL_SUPPRESS(r .11)".
WhitespaceSensitiveMacros: ["GSL_SUPPRESS"]

# if you want to customize when working locally see https://clang.llvm.org/docs/ClangFormatStyleOptions.html for options.
# See ReformatSource.ps1 for a script to update all source according to the current options in this file.
Expand All @@ -19,4 +22,3 @@ DerivePointerAlignment: false
# NamespaceIndentation: All

...

2 changes: 1 addition & 1 deletion .config/tsaoptions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"notificationAliases": ["chasun@microsoft.com"],
"notificationAliases": ["ort-engsys@microsoft.com"],
"areaPath": "ONNX Runtime\\Engineering Systems",
"codebaseName": "onnxruntime",
"instanceUrl": "https://aiinfra.visualstudio.com/",
Expand Down
27 changes: 0 additions & 27 deletions .flake8

This file was deleted.

2 changes: 1 addition & 1 deletion .gdn/.gdntsa
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"codebaseName": "onnxruntime_master"
"codebaseName": "onnxruntime_main"
}
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/04-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ body:
attributes:
label: Execution Provider
options:
- WebGL
- WASM
- "'webgl' (WebGL)"
- "'wasm'/'cpu' (WebAssembly CPU)"
- "'xnnpack' (WebAssembly XNNPACK)"
- "'webgpu' (WebGPU)"
- Other / Unknown
multiple: yes
validations:
Expand Down
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
open-pull-requests-limit: 5

- package-ecosystem: "github-actions"
# Workflow files stored in the
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
34 changes: 10 additions & 24 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,20 @@
api:javascript: '/\bjavascript\b/i'
api:java: '/\bjava\b/i'
ep:ACL: '/\bacl\b/i'
ep:ArmNN: '/\barmnn\b/i'
ep:CUDA: '/\bcuda\b/i'
ep:DML:
- '/\bdirectml\b/i'
- '/\bdml\b/i'
ep:DML: '/(\bdirectml\b|\bdml\b)/i'
ep:MIGraphX: '/\bmigraphx\b/i'
ep:oneDNN: '/\bonednn\b/i'
ep:OpenVINO: '/\bopen\s*vino\b/i'
ep:RockchipNPU: '/\brockchip\b/i'
ep:TensorRT:
- '/\btensor\s*rt\b/i'
- '/\btrt\b/i'
ep:ROCm: '/\brocm\b/i'
ep:TensorRT: '/(\btensor\s*rt\b|\btrt\b)/i'
ep:tvm: '/\btvm\b/i'
ep:VitisAI: '/\bvitis(?:ai)?\b/i'
platform:jetson: '/\bjetson\b/i'
platform:mobile:
- '/\bobj(?:ective)?-?c\b/i'
- '/\bnnapi\b/i'
- '/\bcore-?ml\b/i'
- '/\bmobile\b/i'
platform:windows:
- '/\bwindows\b/i'
- '/\bwinrt\b/i'
- '/\bwinml\b/i'
model:transformer:
- '/\bbert\b/i'
- '/\bgpt-?2\b/i'
- '/\bhugging-?face\b/i'
- '/\blong-?former\b/i'
- '/\bt5\b/i'
quantization:
- '/is this a quantized model\?\n\nYes/i'
- '/\bquantization\b/i'
platform:mobile: '/(\bobj(?:ective)?-?c\b|\bnnapi\b|\bcore-?ml\b|\bmobile\b|\bandroid\b|\bios\b|\bxamarin\b|\bmaui\b)/i'
platform:web: '/(\bwebgl\b|\bweb-?gpu\b|\bwasm\b|\bonnxruntime-node\b|\bonnxruntime-web\b)/i'
platform:windows: '/(\bwindows\b|\bwinrt\b|\bwinml\b)/i'
model:transformer: '/(\bbert\b|\bgpt-?2\b|\bhugging-?face\b|\blong-?former\b|\bt5\b)/i'
quantization: '/(is this a quantized model\?\n\nYes|\bquantization\b)/i'
22 changes: 0 additions & 22 deletions .github/stale.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/cffconvert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out a copy of the repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/[email protected]
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -47,11 +47,19 @@ jobs:
# Details on CodeQL's query packs refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
queries: security-extended,security-and-quality

# Setup Java to use a version that is not too old for the project
- if: ${{ matrix.language == 'java' }}
name: Setup Java 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'microsoft'

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- if: ${{ matrix.language != 'cpp' }}
name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/generate-skip-doc-change.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
GITHUB_DIR = Path(__file__).resolve().parent.parent


class Skipped_Workflow:
class Skipped_Workflow: # noqa: N801
def __init__(self, workflow_name: str, job_names: list, output_file_name: str):
self.workflow_name = workflow_name
self.job_names = job_names
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/generated_fake_win_gpu_ci.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Check gradle-wrapper.jar checksums against official Gradle releases.
# See: https://github.com/marketplace/actions/gradle-wrapper-validation
# This workflow was copied from the link above.

name: "Validate Gradle Wrapper"
on: [push, pull_request]

jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3
5 changes: 4 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ on:
issues:
types: [opened, edited]

permissions:
issues: write

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v2.5
- uses: github/issue-labeler@v3.4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
Expand Down
Loading

0 comments on commit f8b74ff

Please sign in to comment.