{"id":27302521,"url":"https://github.com/finch-tensor/finch-mlir","last_synced_at":"2025-04-12T02:47:46.471Z","repository":{"id":256878228,"uuid":"825120343","full_name":"finch-tensor/Finch-mlir","owner":"finch-tensor","description":"Rewriting Finch in mlir","archived":false,"fork":false,"pushed_at":"2025-04-10T20:25:00.000Z","size":159,"stargazers_count":4,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-10T21:23:11.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"MLIR","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/finch-tensor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-06T20:49:47.000Z","updated_at":"2025-03-20T15:02:11.000Z","dependencies_parsed_at":"2025-02-12T14:43:32.730Z","dependency_job_id":"7cc73d82-67c0-4b7d-b79b-40eac2ab1d5d","html_url":"https://github.com/finch-tensor/Finch-mlir","commit_stats":null,"previous_names":["nullplay/finch-mlir","finch-tensor/finch-mlir"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finch-tensor%2FFinch-mlir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finch-tensor%2FFinch-mlir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finch-tensor%2FFinch-mlir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finch-tensor%2FFinch-mlir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/finch-tensor","download_url":"https://codeload.github.com/finch-tensor/Finch-mlir/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248508696,"owners_count":21115855,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-12T02:47:45.892Z","updated_at":"2025-04-12T02:47:46.461Z","avatar_url":"https://github.com/finch-tensor.png","language":"MLIR","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An out-of-tree MLIR dialect\n\nThis is an example of an out-of-tree [MLIR](https://mlir.llvm.org/) dialect along with a finch `opt`-like tool to operate on that dialect.\n\n## Install\n\n0. Do a recursive clone\n```sh\ngit clone --recursive https://github.com/finch-tensor/Finch-mlir.git\n```\n\nOr if you have already cloned this repository, run\n```sh\ngit submodule init --update --recursive\n```\n\nThis will take some time as it perform a shallow-clone of LLVM.\n\n1. Install prerequisites to build the dialect and the Python bindings:\n\n1a. Use your system package manager or `conda` to install a C/C++ compiler and CCache.\n\n1b. Install the build-time Python requirements:\n\n```sh\n# Generate the build requirements dynamically from `pyproject.toml` and install them.\n./scripts/install_build_reqs.sh\n```\n\n2. Build the wheel or install the package:\n\n```sh\npython -m build --no-isolation\n```\n\nOR\n\n```sh\npip install --no-build-isolation .\n```\nIn theory, the `--no-[build-]isolation` flag is unnecessary, but it caches the LLVM build which can greatly speed-up the buid process on repeated runs.\n\n## Run Tests\nOne can run the tests once the wheel is built and/or the package is installed with\n\n```sh\ncmake --build build --target check-finch\n```\n\nAssuming the CMake configure step doesn't need to run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinch-tensor%2Ffinch-mlir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinch-tensor%2Ffinch-mlir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinch-tensor%2Ffinch-mlir/lists"}