Commit 5d2851f
committed
Migrate internal changes
This synchronization round requires squashing a number of commits to
avoid conflicts. Relevant commits messages are as follows:
[docs] NFC: Add documentation for the compiler C++/C/Python APIs
[cmake] NFC: Add CMP0177 policy
[compiler] NFC: Make the extension API uniform across task types
[compiler] Improve the compiler extension API
[compiler] NFC: Fixup TensorRTToExecutable task
[compiler] NFC: reduce the number of overloads in CompilerClient
[compiler] Add mlir-tensorrt-compiler tool
[compiler] Use a Pass option for configuring default backends in StablehloToExecutable
[compiler] Eliminate some unnecessary complexity from compilation task management
[cmake] Further improvements to the CMake build system
[executor] Account for platform minimum alignment in allocation functions
NFC: Add '--use-pep517' to 'pip install' commands
[tensorrt] NFC: remove use of redundant CMake option
[compiler] NFC: more improvements to the CMake build system
[Integration] add nvfp4 Q-DQ into CI tests
[tensorrt] Update support types for ops that expand to `tensorrt.shuffle`
[plan] Fix a bug in `plan-remove-equivalent-buffer-results` pass.
[compiler] NFC: remove unused include in CUDA dialect implementation
[tensorrt] NFC: Fix unguarded CMake inclusion of TRT plugin test passes
[tensorrt] NFC: fix unguarded inclusion in TRT plugin shape inference pass
NFC: remove useless DEPENDS target from the 'mlir-tensorrt-opt' tool
Fix uses of 'long' instead of 'int64_t'
[cmake] More CMake fixes for fixing the TensorRT dependency
NFC: various cleanup/improvements for the CMake build system
[tensorrt] Add FP4 support
[common] Update C++ TensorRT version check utilities to avoid assuming TRT headers are available
[compiler] Fix phase ordering for CUDAToExecutor conversion
[compiler] NFC: Separate Plan attributes and types into separate files
[compiler] NFC: fix typo in naming of helper function
[tensorrt] Update type support for `tensorrt.shuffle` op
[executor] Drop "unpacked memref calling convention"
[executor] Drop opaque ref type from executor
[executor]: Fix static_assert in a template.
[Compiler] Add donation argument support in `compiler`
[compiler] Remove unnecessary canonicalization pass
[executor] NFC: Separate Executor Attributes into a dedicated translation unit
[compiler] Separate the attribute interface for bounds into a common library
NFC: Rename '*ClusterKindAttr' to '*BackendAttr'
NFC: Rename backend-configuration related attribute names in the Plan dialect
NFC: Rename 'PlanClusterKindAttrInterface' to 'CompilerBackendAttrInterface'
NFC: Deduplicate "region closure" utility
NFC: update copybara configurations and add some additional documentation notes
[executor][LuaAllocation]: Use llvm::stable_sort to preserve original order.
[executor][TranslateToLua]: Add Lua variable allocation.
[executor] Enable all Sol2 safety checks
[compiler] Fix missing changes from recent LIT config change
[compiler] Fix emitc integration test configuration issues
[executor] Fix CMake build under minimal configuration
[executor] Eliminate use of CUDA fp16, bf16, fp8 types/headers
[executor] Make the Executor sub-project independently buildable
[cmake] NFC: Fixup dependency provider CMake code
[cmake] NFC: Improve CMake module code organization
[cmake] Better validation of CMake options related to CUDA requirement
NFC: Move TensorRTVersion.h utils header to common project
Update lit.cfg.py to add SM features
GitOrigin-RevId: fb878f289480850a0fef26762422f32ae313e1341 parent 35eb233 commit 5d2851f
File tree
312 files changed
+11063
-5789
lines changed- mlir-tensorrt
- build_tools
- cmake
- scripts
- common
- include/mlir-tensorrt-common
- Interfaces
- Support
- Utils
- lib
- Interfaces
- Support
- Utils
- test
- compiler
- include/mlir-tensorrt
- Backends
- Host
- TensorRT
- Compiler
- StablehloToExecutable
- TensorRTToExecutable
- Conversion
- CUDAToExecutor
- Dialect
- Plan
- IR
- Transforms
- TensorRTRuntime/IR
- Interfaces
- lib
- Backends
- Host
- TensorRT
- CAPI/Compiler
- Registration
- Compiler
- StablehloToExecutable
- TensorRTToExecutable
- Conversion
- CUDAToExecutor
- ChloToStablehloExt
- PlanToExecutor
- StablehloToLinalg
- StablehloToPlan
- StablehloToTensorRT
- TensorRTCommon
- TensorRTRuntimeToExecutor
- TensorRTToEmitC
- TensorRTToTensorRTRuntime
- Dialect
- CUDA
- IR
- Transforms
- Plan
- Analysis
- IR
- Transforms
- ModuleBufferization
- StablehloExt/IR
- TensorRTRuntime/IR
- Interfaces
- test
- Backend
- Host
- TensorRT
- Compiler
- StablehloToExecutable
- TensorRTToExecutable
- Conversion
- CUDAToExecutor
- StablehloToLinalg
- StablehloToPlan
- Dialect/Plan
- IntegrationTests
- EmitC
- Host
- FromStablehlo
- Target/Lua/IntegrationTests/ClusteringDynamicShape
- Tools
- lib/Analysis
- python
- IntegrationTests
- Torch
- mlir_tensorrt_compiler
- mlir_tensorrt_runtime
- tools
- mlir-tensorrt-compiler
- mlir-tensorrt-opt
- executor
- cmake
- include
- mlir-executor-c/Common
- mlir-executor
- Conversion
- Executor
- IR
- Transforms
- Runtime
- API
- Backend
- Common
- Lua
- Utils
- Target/Lua
- lib
- CAPI
- Common
- Runtime
- Conversion
- Executor
- IR
- Transforms
- Runtime
- API
- Backend
- Common
- C
- Lua
- Modules
- CUDA
- Core
- CuBLAS
- NCCL
- TensorRT
- StandaloneCPP
- Support
- Support
- Target/Lua
- Tools
- Utils
- test
- Conversion
- IntegrationTests
- Translation
- Unit
- CAPI
- Runtime
- Runtime
- LuaRuntime
- lib
- Transforms/Clustering
- tools/executor-opt
- integrations/python
- bindings/Compiler
- mlir_tensorrt_tools/mlir_tensorrt/tools
- tensorrt
- cmake
- include/mlir-tensorrt-dialect
- Analysis
- Interface
- Target
- TensorRT
- IR
- Transforms
- Utils
- lib
- Analysis
- CAPI
- Interface
- Target
- TensorRTEncodingOpInterface
- TensorRT
- IR
- Target
- Transforms
- Utils
- Utils
- python
- test
- Dialect/TensorRT
- OpaqueV2PluginTransforms
- Target/TensorRT/TRT10
- lib
- Target
- TensorRT
- tools/tensorrt-opt
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
312 files changed
+11063
-5789
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
| |||
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 25 | | |
59 | 26 | | |
60 | 27 | | |
| |||
63 | 30 | | |
64 | 31 | | |
65 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
66 | 52 | | |
67 | 53 | | |
68 | 54 | | |
| |||
85 | 71 | | |
86 | 72 | | |
87 | 73 | | |
88 | | - | |
| 74 | + | |
89 | 75 | | |
90 | 76 | | |
| 77 | + | |
91 | 78 | | |
92 | 79 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
121 | 88 | | |
122 | 89 | | |
123 | 90 | | |
124 | 91 | | |
125 | 92 | | |
126 | 93 | | |
127 | 94 | | |
128 | | - | |
129 | | - | |
130 | 95 | | |
131 | 96 | | |
132 | 97 | | |
| |||
168 | 133 | | |
169 | 134 | | |
170 | 135 | | |
171 | | - | |
172 | | - | |
173 | 136 | | |
174 | 137 | | |
175 | 138 | | |
176 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
177 | 144 | | |
178 | 145 | | |
179 | 146 | | |
| |||
192 | 159 | | |
193 | 160 | | |
194 | 161 | | |
195 | | - | |
196 | | - | |
197 | 162 | | |
198 | 163 | | |
199 | 164 | | |
| |||
222 | 187 | | |
223 | 188 | | |
224 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
225 | 193 | | |
226 | 194 | | |
227 | 195 | | |
| |||
244 | 212 | | |
245 | 213 | | |
246 | 214 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments