Skip to content

Commit cb50485

Browse files
authored
Merge branch 'microsoft:main' into img_patch1
2 parents 076d19a + 417aa00 commit cb50485

File tree

1,557 files changed

+73481
-43222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,557 files changed

+73481
-43222
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This sets the default behaviour, overriding core.autocrlf
1+
# This sets the default behavior, overriding core.autocrlf
22
* text=auto
33

44
# All source files should have unix line-endings in the repository,

.github/ISSUE_TEMPLATE/05-performance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Performance
22
description: issues related to performance
33
title: "[Performance] "
4+
labels: ["performance"]
45
body:
56
- type: markdown
67
attributes:

.github/labeler.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
1-
api:javascript: '/\bjavascript\b/i'
1+
api:CSharp: '/(\bc\s*sharp\b|\bc#)/i'
22
api:java: '/\bjava\b/i'
3+
api:javascript: '/\bjavascript\b/i'
34
ep:ACL: '/\bacl\b/i'
45
ep:ArmNN: '/\barmnn\b/i'
5-
ep:CUDA: '/\bcuda\b/i'
6-
ep:DML: '/(\bdirectml\b|\bdml\b)/i'
7-
ep:MIGraphX: '/\bmigraphx\b/i'
8-
ep:oneDNN: '/\bonednn\b/i'
6+
ep:CANN: '/\bcann\b/i'
7+
ep:CoreML: '/\bcore\s*ml\b/i'
8+
ep:DML: '/(\bdirect\s*ml\b|\bdml\b)/i'
9+
ep:MIGraphX: '/\bmi\s*graph\s*x\b/i'
10+
ep:oneDNN: '/\bone\s*dnn\b/i'
911
ep:OpenVINO: '/\bopen\s*vino\b/i'
10-
ep:RockchipNPU: '/\brockchip\b/i'
12+
ep:QNN: '/\bqnn\b/i'
13+
ep:RockchipNPU: '/\brockchip(?:npu)?\b/i'
1114
ep:ROCm: '/\brocm\b/i'
12-
ep:TensorRT: '/(\btensor\s*rt\b|\btrt\b)/i'
15+
ep:SNPE: '/\bsnpe\b/i'
1316
ep:tvm: '/\btvm\b/i'
1417
ep:VitisAI: '/\bvitis(?:ai)?\b/i'
15-
platform:jetson: '/\bjetson\b/i'
16-
platform:mobile: '/(\bobj(?:ective)?-?c\b|\bnnapi\b|\bcore-?ml\b|\bmobile\b|\bandroid\b|\bios\b|\bxamarin\b|\bmaui\b)/i'
17-
platform:web: '/(\bwebgl\b|\bweb-?gpu\b|\bwasm\b|\bonnxruntime-node\b|\bonnxruntime-web\b)/i'
18-
platform:windows: '/(\bwindows\b|\bwinrt\b|\bwinml\b)/i'
19-
model:transformer: '/(\bbert\b|\bgpt-?2\b|\bhugging-?face\b|\blong-?former\b|\bt5\b)/i'
20-
quantization: '/(is this a quantized model\?\n\nYes|\bquantization\b)/i'
18+
ep:WebGPU: '/\bwebgpu\b/i'
19+
ep:WebNN: '/\bwebnn\b/i'
20+
ep:Xnnpack: '/\bxnn\s*pack\b/i'
21+
.NET: '/(\bdot\s*net\b|\bnuget\b|\.net\b)/i'
22+
platform:jetson: '/(\bjetson\b|\bjetpack\b)/i'
23+
platform:mobile: '/(\bobj(?:ective)?-?c\b|\bnnapi\b|\bmobile\b|\bandroid\b|\bios\b|\bxamarin\b|\bmaui\b)/i'
24+
platform:web: '/(\bwebgl\b|\bweb-?gpu\b|\bwasm\b|\bonnxruntime-node\b|\bonnxruntime-web\b|\bonnxruntime-react-native\b|\bnpm\b|\btransformers\.js\b)/i'
25+
model:transformer: '/\btransformers(?!\.js)\b/i'

.github/title-only-labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ep:CUDA: '/\bcuda\b/i'
2+
ep:TensorRT: '/(\btensor\s*rt\b|\btrt\b)/i'
3+
platform:windows: '/(\bwindows\b|\bwinrt\b|\bwinml\b)/i'
4+
quantization: '/(quant|\bqdq\b)/i'

.github/workflows/lint.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
checkout_path: ${{ github.workspace }}
7474

7575
lint-cpp:
76-
name: Lint C++
76+
name: Optional Lint C++
7777
runs-on: ubuntu-latest
7878
steps:
7979
- uses: actions/checkout@master
@@ -89,15 +89,23 @@ jobs:
8989
- name: Generate ONNX protobuf files
9090
run: cmake --build build/Debug --config Debug --target onnx_proto
9191
- uses: reviewdog/action-cpplint@master
92+
continue-on-error: true
9293
with:
9394
github_token: ${{ secrets.github_token }}
9495
reporter: github-pr-check
95-
level: warning
96+
level: info
9697
flags: --linelength=120
9798
--exclude=java/src/main/native/*.c
9899
--exclude=onnxruntime/core/mlas/inc/*
99100
--exclude=onnxruntime/core/mlas/lib/*
100101
--exclude=onnxruntime/contrib_ops/cuda/bert/flash_attention/*
102+
--exclude=build/Debug/*
103+
--exclude=cmake/*
104+
--exclude=csharp/test/*
105+
--exclude=onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/GeneratedShaders/*
106+
--exclude=orttraining/orttraining/test/*
107+
--exclude=onnxruntime/test/*
108+
--exclude=winml/*
101109
filter: "-runtime/references"
102110

103111
lint-js:

.github/workflows/publish-python-apidocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions:
2222
jobs:
2323
build:
2424
name: Generate Python API docs
25-
runs-on: ubuntu-latest
25+
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-ubuntu-CPU"]
2626
steps:
2727
- uses: actions/checkout@v4
2828
- name: Install tools
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Title Only Issue Labeler"
2+
on:
3+
issues:
4+
types: [opened, edited]
5+
6+
permissions:
7+
issues: write
8+
9+
jobs:
10+
triage:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: github/issue-labeler@v3.4
14+
with:
15+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
16+
configuration-path: .github/title-only-labeler.yml
17+
not-before: 2020-01-15T02:54:32Z
18+
enable-versioned-regex: 0
19+
include-title: 1
20+
include-body: 0

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
[submodule "cmake/external/emsdk"]
88
path = cmake/external/emsdk
99
url = https://github.com/emscripten-core/emsdk.git
10-
branch = 3.1.59
10+
branch = 3.1.62

.lintrunner.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ include_patterns = [
127127
]
128128
exclude_patterns = [
129129
'java/**', # FIXME: Enable clang-format for java
130-
'js/**',
131130
'onnxruntime/contrib_ops/cuda/bert/tensorrt_fused_multihead_attention/**', # Contains data chunks
132131
'onnxruntime/core/flatbuffers/schema/*.fbs.h', # Generated code
133132
'onnxruntime/test/flatbuffers/*.fbs.h', # Generated code
@@ -137,6 +136,7 @@ exclude_patterns = [
137136
'onnxruntime/core/mickey/gemm/**', # CUTLASS based libs recommends NO automatic code formatting
138137
'winml/lib/Api.Image/shaders/**', # Contains data chunks
139138
'onnxruntime/contrib_ops/cuda/bert/flash_attention/flash_fwd_launch_template.h', # Bool Switches hang Clang
139+
'onnxruntime/core/providers/coreml/mlprogram_test_scripts/**', # test scripts only
140140
]
141141
command = [
142142
'python',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="python" version="3.9.7" targetFramework="native" />
4-
<package id="Microsoft.AI.DirectML" version="1.14.1" targetFramework="native" />
4+
<package id="Microsoft.AI.DirectML" version="1.15.1" targetFramework="native" />
55
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
66
</packages>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="pythonx86" version="3.9.7" targetFramework="native" />
4-
<package id="Microsoft.AI.DirectML" version="1.14.1" targetFramework="native" />
4+
<package id="Microsoft.AI.DirectML" version="1.15.1" targetFramework="native" />
55
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
66
</packages>

ThirdPartyNotices.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4820,7 +4820,7 @@ SOFTWARE.
48204820

48214821
----------------------------------------------------------------------------
48224822

4823-
This is the MIT/Expat Licence. For more information see:
4823+
This is the MIT/Expat License. For more information see:
48244824

48254825
1. http://www.opensource.org/licenses/mit-license.php
48264826

VERSION_NUMBER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.19.0
1+
1.20.0

cgmanifests/generate_cgmanifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def add_github_dep(name, parsed_url):
7373
return
7474
# Make a REST call to convert to tag to a git commit
7575
url = f"https://api.github.com/repos/{org_name}/{repo_name}/git/refs/tags/{tag}"
76-
print("requesting %s ..." % url)
76+
print(f"requesting {url} ...")
7777
res = requests.get(url, auth=(args.username, args.token))
7878
response_json = res.json()
7979
tag_object = response_json["object"]

cgmanifests/generated/cgmanifest.json

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"component": {
77
"type": "git",
88
"git": {
9-
"commitHash": "d52c46520124845b1e0e0525f2759299d840143f",
9+
"commitHash": "0fde04880048f743056bed17cb0543a42e040fae",
1010
"repositoryUrl": "https://github.com/emscripten-core/emsdk.git"
1111
},
1212
"comments": "git submodule at cmake/external/emsdk"
@@ -36,7 +36,7 @@
3636
"component": {
3737
"type": "git",
3838
"git": {
39-
"commitHash": "4a2c63365eff8823a5221db86ef490e828306f9d",
39+
"commitHash": "f46495ea96f68fc3f6c394f099b2992743f6ff7f",
4040
"repositoryUrl": "https://github.com/abseil/abseil-cpp.git"
4141
},
4242
"comments": "abseil_cpp"
@@ -116,7 +116,7 @@
116116
"component": {
117117
"type": "git",
118118
"git": {
119-
"commitHash": "344117638c8ff7e239044fd0fa7085839fc03021",
119+
"commitHash": "a6ad7fbbdc2e14fab82bb8a6d27760d700198cbf",
120120
"repositoryUrl": "https://github.com/google/benchmark.git"
121121
},
122122
"comments": "google_benchmark"
@@ -136,7 +136,7 @@
136136
"component": {
137137
"type": "git",
138138
"git": {
139-
"commitHash": "530d5c8c84abd2a46f38583ee817743c9b3a42b4",
139+
"commitHash": "e39786088138f2749d64e9e90e0f9902daa77c40",
140140
"repositoryUrl": "https://github.com/google/googletest.git"
141141
},
142142
"comments": "googletest"
@@ -216,7 +216,7 @@
216216
"component": {
217217
"type": "git",
218218
"git": {
219-
"commitHash": "06adf4461ac84035bee658c6cf5df39f7ab6071d",
219+
"commitHash": "62bdde2a04fcd53c2409cb895ee18db445b7e755",
220220
"repositoryUrl": "https://github.com/onnx/onnx-tensorrt.git"
221221
},
222222
"comments": "onnx_tensorrt"
@@ -256,7 +256,7 @@
256256
"component": {
257257
"type": "git",
258258
"git": {
259-
"commitHash": "3e9dfa2866941655c56877882565e7577de6fc7b",
259+
"commitHash": "941f45bcb51457884fa1afd6e24a67377d70f75c",
260260
"repositoryUrl": "https://github.com/pybind/pybind11.git"
261261
},
262262
"comments": "pybind11"
@@ -266,7 +266,7 @@
266266
"component": {
267267
"type": "git",
268268
"git": {
269-
"commitHash": "959002f82d7962a473d8bf301845f2af720e0aa4",
269+
"commitHash": "ca678952a9a8eaa6de112d154e8e104b22f9ab3f",
270270
"repositoryUrl": "https://github.com/pytorch/cpuinfo.git"
271271
},
272272
"comments": "pytorch_cpuinfo"
@@ -276,7 +276,7 @@
276276
"component": {
277277
"type": "git",
278278
"git": {
279-
"commitHash": "2b354c6ad0d0479dcff68dab23fb0d1143a482c2",
279+
"commitHash": "6dcd83d60f7944926bfd308cc13979fc53dd69ca",
280280
"repositoryUrl": "https://github.com/google/re2.git"
281281
},
282282
"comments": "re2"
@@ -351,6 +351,16 @@
351351
},
352352
"comments": "directx_headers"
353353
}
354+
},
355+
{
356+
"component": {
357+
"type": "git",
358+
"git": {
359+
"commitHash": "98ca4e1941fe3263f128f74f10063a3ea35c7019",
360+
"repositoryUrl": "https://github.com/NVIDIA/cudnn-frontend.git"
361+
},
362+
"comments": "cudnn_frontend"
363+
}
354364
}
355365
]
356366
}

0 commit comments

Comments
 (0)