Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tensorflow/mlir
"Multi-Level Intermediate Representation" Compiler Infrastructure
https://github.com/tensorflow/mlir
Last synced: about 1 month ago
JSON representation
"Multi-Level Intermediate Representation" Compiler Infrastructure
- Host: GitHub
- URL: https://github.com/tensorflow/mlir
- Owner: tensorflow
- Archived: true
- Created: 2019-03-29T04:54:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-22T22:24:29.000Z (over 3 years ago)
- Last Synced: 2024-09-23T07:32:46.085Z (about 2 months ago)
- Homepage:
- Size: 17.4 MB
- Stars: 1,735
- Watchers: 165
- Forks: 257
- Open Issues: 57
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-real-time-AI - MLIR
README
# 301 - Moved
MLIR is now part of LLVM, more information on https://mlir.llvm.org
The code from this repository can now be found at
https://github.com/llvm/llvm-project/tree/main/mlir/# Migration
If you have a local fork of this repository or pull-requests that need to be
migrated to the LLVM monorepo, the following recipe may help you:```
# From your local MLIR clone:
$ git clone [email protected]:newren/git-filter-repo.git /tmp/git-filter-repo
$ /tmp/git-filter-repo/git-filter-repo --path-rename :mlir/ --force --message-callback 'return re.sub(b"(#[0-9]+)", b"tensorflow/mlir\\1", message)' --refs
```After this, all the commits from the previous upstream MLIR should match the
ones in the monorepo now. If you don't provide the `--refs` option, this
will rewrite *all the branches* in your repo.From there you should be able to rebase any of your branch/commits on top of
the LLVM monorepo:```
$ git remote set-url origin [email protected]:llvm/llvm-project.git
$ git fetch origin
$ git rebase origin/main -i
```Cherry-picking commits should also work, if you checkout the main branch from
the monorepo you can `git cherry-pick ` from your (rewritten) branches.You can also export patches with `git format-patch ` and re-apply it on
the monorepo using `git am `.