[Mlir-commits] [mlir] Sub-channel quantized type implementation (PR #120172)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jan 3 10:23:01 PST 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff d37aa5135c732b37ae3daab9d9bdcc4c45f7a17d ce179a564273312ce7ca28dc9ecbed625b97e4ab --extensions cpp,h,c -- mlir/lib/Dialect/Quant/Transforms/NormalizeQuantTypes.cpp mlir/include/mlir-c/Dialect/Quant.h mlir/include/mlir/Dialect/Quant/IR/QuantTypes.h mlir/lib/Bindings/Python/DialectQuant.cpp mlir/lib/CAPI/Dialect/Quant.cpp mlir/lib/Dialect/Quant/IR/QuantDialectBytecode.cpp mlir/lib/Dialect/Quant/IR/QuantOps.cpp mlir/lib/Dialect/Quant/IR/QuantTypes.cpp mlir/lib/Dialect/Quant/IR/TypeDetail.h mlir/lib/Dialect/Quant/IR/TypeParser.cpp mlir/lib/Dialect/Quant/Transforms/LowerQuantOps.cpp mlir/test/CAPI/quant.c
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/lib/Bindings/Python/DialectQuant.cpp b/mlir/lib/Bindings/Python/DialectQuant.cpp
index e7ebfd40d1..ef16c23814 100644
--- a/mlir/lib/Bindings/Python/DialectQuant.cpp
+++ b/mlir/lib/Bindings/Python/DialectQuant.cpp
@@ -12,8 +12,8 @@
 #include "mlir-c/BuiltinAttributes.h"
 #include "mlir-c/Dialect/Quant.h"
 #include "mlir-c/IR.h"
-#include "mlir/Bindings/Python/NanobindAdaptors.h"
 #include "mlir/Bindings/Python/Nanobind.h"
+#include "mlir/Bindings/Python/NanobindAdaptors.h"
 
 namespace nb = nanobind;
 using namespace llvm;

``````````

</details>


https://github.com/llvm/llvm-project/pull/120172


More information about the Mlir-commits mailing list