[all-commits] [llvm/llvm-project] 66d409: [mlir] Introduce Python bindings for the quantizat...

ftynse via All-commits all-commits at lists.llvm.org
Wed Jan 5 07:26:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66d4090d9b15d0fd61e9c398df2fcb79dd9e0665
      https://github.com/llvm/llvm-project/commit/66d4090d9b15d0fd61e9c398df2fcb79dd9e0665
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2022-01-05 (Wed, 05 Jan 2022)

  Changed paths:
    M mlir/include/mlir/Bindings/Python/PybindAdaptors.h
    A mlir/lib/Bindings/Python/DialectQuant.cpp
    M mlir/lib/Bindings/Python/Dialects.h
    M mlir/lib/Bindings/Python/MainModule.cpp
    M mlir/python/CMakeLists.txt
    A mlir/python/mlir/_mlir_libs/_mlir/dialects/quant.pyi
    A mlir/python/mlir/dialects/quant.py
    A mlir/test/python/dialects/quant.py
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel

  Log Message:
  -----------
  [mlir] Introduce Python bindings for the quantization dialect

So far, only the custom dialect types are exposed.

The build and packaging is same as for Linalg and SparseTensor, and in
need of refactoring that is beyond the scope of this patch.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D116605




More information about the All-commits mailing list