-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question on compilation time of boolean pipeline #1273
Comments
Hey! The int32 time seems fairly long, I'll repro on my device too and let you know how it goes.
Yes, if you pass the I'm also wondering if maybe reordering some of the canonicalizations after linalg is lowered or fusing loops will also help to rely more on MLIR's simplifications (CSE / etc) rather than yosys. |
Thank you for your advice! I will test them out on my device! |
This advice works! Explicitly running with The current time cost is: 13m28.084s I will further test other suggestion. |
I further test on the
For int32, |
I further test on the time cost of
It seems that
I still wondering what happens in boolean pipeline to makes it slow. I will further explore it more. If you have any suggestions, I'd really appreciate you sharing them with me! Thanks so much for your help! |
In addition, I think maybe int32 is not necessary in most cases. Focusing on the pipeline for int8 should be the better choice. Do you agree on this? |
Hello, sorry for disturbing you.
I am testing on a simple multiplication case from standard MLIR following the setting there #1175 .
When I have the input with types int32, the compilation time is 155m4.853s.
Here is the test case:
The command for compilation is:
time bazel run //tools:heir-opt -- --tosa-to-boolean-tfhe $PWD/new_test_i32.mlir &> output_i32.mlir
I also tested on different data types:
My Questions:
Thank you for your help!
The text was updated successfully, but these errors were encountered: