Skip to main content

MLIR

The MLIR frontend contains a translation of core MLIR dialects to SDFGs. It also contains a custom linalg dialect extension to represent operations that are missing in the core linalg dialect of MLIR.

Build from Sources

To build the MLIR component from source install LLVM/MLIR dependencies first:

sudo apt-get install -y libmlir-21 libmlir-21-dev mlir-21-tools

Second, build from the root of the repository using cmake:

mkdir build && cd build
cmake -G Ninja \
    -DCMAKE_C_COMPILER=clang-21 \
    -DCMAKE_CXX_COMPILER=clang++-21 \
    -DCMAKE_BUILD_TYPE=Debug \
    -DMLIR_BUILD_FRONTEND=ON \
    -DMLIR_BUILD_TESTS=ON \
    -DMLIR_DIR=/usr/lib/llvm-21/lib/cmake/mlir \
    -DLLVM_EXTERNAL_LIT=/usr/lib/llvm-21/build/utils/lit/lit.py \
    -DWITH_SYMENGINE_THREAD_SAFE=ON \
    -DWITH_SYMENGINE_RCP=ON \
    -DINSTALL_GTEST=OFF \
    -DBUILD_TESTS:BOOL=OFF \
    -DBUILD_BENCHMARKS:BOOL=OFF \
    -DBUILD_BENCHMARKS_GOOGLE:BOOL=OFF \
    ..
ninja -j$(nproc)

To verify, the basic dialects and translation work, run the tests:

ninja check-docc-mlir

License

This component is part of docc and is published under the BSD-3-Clause license. See LICENSE for details.

Metadata

Release files for docc-ai 0.8.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for docc-ai 0.8.3
File Actions
docc_ai-0.8.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for docc_ai-0.8.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
docc_ai-0.8.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details for docc_ai-0.8.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
docc_ai-0.8.3-cp312-cp312-macosx_14_0_arm64.whl CPython 3.12 CPython 3.12 macOS 14.0+ ARM64 Details for docc_ai-0.8.3-cp312-cp312-macosx_14_0_arm64.whl
docc_ai-0.8.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for docc_ai-0.8.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
docc_ai-0.8.3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details for docc_ai-0.8.3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
docc_ai-0.8.3-cp311-cp311-macosx_14_0_arm64.whl CPython 3.11 CPython 3.11 macOS 14.0+ ARM64 Details for docc_ai-0.8.3-cp311-cp311-macosx_14_0_arm64.whl

Total release size: 168.0 MB

Release files / docc_ai-0.8.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL docc_ai-0.8.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 17.8 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
dee9c128ddbb02c8b7742f49e8b0e03f43f355d36d5995a09d3c699e22c1d617
BLAKE2b-256 checksum
How to use checksums
f44a65436598181ddf8df9a5fe57f31f7bdb9bb32ad3feeb3dc52fccb8019b01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.16

Release files / docc_ai-0.8.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL docc_ai-0.8.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 17.1 MB
Tags CPython 3.12 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
fcc996b7a95f0c306ace776ccab086c0b7f5689a284b26a4c569ebfbb8af7070
BLAKE2b-256 checksum
How to use checksums
8c4ce1253452f1fb06e9a3d44d77892d7228121e912f053d2cb0af5fcb4a3282
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.16

Release files / docc_ai-0.8.3-cp312-cp312-macosx_14_0_arm64.whl

Download URL docc_ai-0.8.3-cp312-cp312-macosx_14_0_arm64.whl
Size 49.1 MB
Tags CPython 3.12 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
6f69d3b2162dcdfff53e6631884af1bc5d16df4abbec213d000fa005cc350fc9
BLAKE2b-256 checksum
How to use checksums
0147c5163b5af6521395899112af2c57dcb8dce3ff9755a46aebacafe5f2d11c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.16

Release files / docc_ai-0.8.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL docc_ai-0.8.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 17.8 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
759be049e563709848cf21007002a167ea67aa9309e2828ef2e6f89468838e93
BLAKE2b-256 checksum
How to use checksums
40cda7cb03e4f714cf91dad86f1ee03c698d6e2ec1281a001fbdb176dd70f7e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.16

Release files / docc_ai-0.8.3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL docc_ai-0.8.3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 17.1 MB
Tags CPython 3.11 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
fab6483b7792a791c4f52886340d5dd0ddd460c0eda774e4ccd2473b8024212b
BLAKE2b-256 checksum
How to use checksums
02289c125d7463c84f793d34559c2affa3e9c5d0fdc9486097f8d91eaee26955
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.16

Release files / docc_ai-0.8.3-cp311-cp311-macosx_14_0_arm64.whl

Download URL docc_ai-0.8.3-cp311-cp311-macosx_14_0_arm64.whl
Size 49.1 MB
Tags CPython 3.11 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
79c61cee26bbd827f62a25bb7f51299847380c3bed3d064d022f66835fbaa8f4
BLAKE2b-256 checksum
How to use checksums
b8524cb795486f88a05a8e4e6281b6c4d22a0eaec2811d333ae89cefdadab72e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.16

Security for docc-ai 0.8.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page