Skip to content
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

Python wheel release for 2.1.2 and differences between .cpp version #112

Closed
amirjamez opened this issue Jun 24, 2024 · 3 comments
Closed

Comments

@amirjamez
Copy link

Using the latest main HEAD, we can build 2.1.2 on .cpp side whereas there are no python releases matching that here.

$ ./ir2vec --version
IR2Vec Version : 2.1.2
LLVM (http://llvm.org/):
  LLVM version 17.0.6
  Optimized build.

We have seen differences between a 2.1.2 (.cpp version) vs. 2.1.1 (python) output. Steps to reproduce using a test case under llvm:

python3 ir2vecFeatures.py -fa -p "llvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg1.ll" > ir2vec.csv"
IR2Vec/build/bin/ir2vec  -fa -o ir2vec.csv  -level p llvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg1.ll"

image

Here is the output file with two rows:
ir2vec.csv

Is it on the to-do list?

Thanks

  • Amir
@svkeerthy
Copy link
Member

Hi @amirjamez,

The whl files corresponding to the latest commit of the main branch are available in the artifacts generated by the build wheels action. You can get it here. Typically we push it to pypi when we release a version. We have an issue (#103) to track this.

Hope it helps!

Best,
Venkat

@amirjamez
Copy link
Author

Thanks @svkeerthy ! However, I don't see any aarch64 version in the list :(

@svkeerthy
Copy link
Member

Hi @amirjamez,

We do not have our Python packages built to support Aarch64 as of now! But, I believe the code in
Manylinux2014_Compliant_Source can be used to build whl files for Aarch64 with a little effort. Or, you can use the binaries/library in this case if it helps.

Thanks,
Venkat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants