Comments (13)
Ok, here is the solution then:
- Compile a fresh Halide as described in the Halide github page: https://github.com/halide/Halide (you do not need to compiler LLVM from sources)
- Then use that Halide to compile Tiramisu. You need only to edit the two lines here:
Line 49 in 8ca4173
to point to your new Halide.
In principle, if you get a fresh Halide from the halide repo, that one is good. The Halide that we have is a bit old and does not have the fix to avoid the problem you specified.
from tiramisu.
Ok this is perfect! So if I understood well, you problem is solved now?
You want to patch the old Halide or the new one?
from tiramisu.
Hi @kazimuth , yes indeed. If we use the new Halide (and not our fork of Halide which is a bit old), that would solve the problem. On one of our internal machines, Tiramisu works fine with a new Halide, but I just did not have time to propagate the change to CI.
If you are interested in helping on that I can give you assistance and we can try.
from tiramisu.
I might be able to pick that up, sure. I'm contemplating using Tiramisu for some MIT coursework this semester, but to do that I'll need a functioning build on my machine :)
from tiramisu.
Oh Ok I see. That one is independent though. You should be able to compile and use Tiramisu without a problem. The problem that we have with CI is only related to a mismatch in the LLVM versions we are using or something. There is a PR that tries to address that, but I still didn't have time to test it.
Go ahead and just install Tiramisu on your machine and let us know if you have a problem. If you get a problem I'll be happy to help you out.
from tiramisu.
Yeah, I was running into the same problem cause I was trying to avoid recompiling LLVM lol.
Will do.
from tiramisu.
Let me know if this works for you.
from tiramisu.
Compiling old LLVM and halide works fine.
Using current halide gives a few compile errors; they seem fixable, though. I might take a shot at patching them over the weekend.
from tiramisu.
I think it would be possible to just patch tiramisu to use the new halide. Most of the changes seem to be small changes to function signatures, unless there have been any major underlying architecture changes in Halide I'm not seeing.
from tiramisu.
In theory, even Tiramisu should not be modified. It should work with the new Halide without a change. Only the github submodule pointer has to point to the public halide instead of pointing to the current outdated Halide. I have tried before to make it work with the new Halide and it just worked with the need to change Tiramisu so it should be fine! (unless I'm missing something)
from tiramisu.
Hm, there seem to be some compilation errors? Changed signatures and stuff, with the most recent halide release.
from tiramisu.
from tiramisu.
Are there new errors compared to those I reported? #217 (note that I didn't try to build Tiramisu with Halide master)
from tiramisu.
Related Issues (20)
- W add autodiff like Halide?
- Will you plan to add autodiff like Halide? HOT 1
- Does tiramisu support FPGA as backend hardware now? HOT 3
- Is there any methods in Tiramisu for parallelizing or loop tiling that automatically resolves data dependency? HOT 3
- The link in the readme to a VirtualBox VM is broken HOT 1
- What's the difference between Tiramisu and TACO compiler HOT 1
- unstructured weight sparsity mentioned by the paper HOT 2
- Build a Python extention HOT 1
- Can I adjust the CPU core number in Tiramisu compiler? HOT 1
- Is there a possible way to limit the core number used of a generated tiramisu CPU kernel? HOT 8
- [Bug] CPU convolution sample in benchmark runfailed when setting BATCH_SIZE=1 HOT 1
- questions about tiramisu capabilities HOT 3
- Deep Learning Based Cost Model HOT 2
- Trouble With Compiling Dependencies HOT 2
- No module named 'TiramisuCodeGenerator'
- How to implement XOR operator of a expression HOT 3
- Run distributed test HOT 1
- Any luck building the autoscheduler tutorial with the latest Halide
- Conversion from Tiramisu DSL to C Language For-loop Code HOT 1
- failed to build tiramisu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiramisu.