-
Notifications
You must be signed in to change notification settings - Fork 145
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
Compile in-memory MLIR Module #514
Conversation
636c338
to
8ce5631
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't figure out where the Compilation Context is instantiated on the Python side in order to check that the associated MLIRContext lives long enough.
compilers/concrete-compiler/compiler/include/concretelang/Support/LibrarySupport.h
Show resolved
Hide resolved
compilers/concrete-compiler/compiler/include/concretelang/Support/LibrarySupport.h
Show resolved
Hide resolved
8ce5631
to
e66cd37
Compare
Wasn't pushed sorry, here it is now https://github.com/zama-ai/concrete/pull/514/files#diff-6c99c7044f07fa639e664b590c593a676fbb5a73a1f52b7d267a950825a44038R161 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if CI is green!
mlir_to_compile = mlir if isinstance(mlir, str) else str(mlir) | ||
compilation_result = support.compile(mlir_to_compile, options) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have support for in memory modules in jit?
09c7ca5
to
2e7c9e2
Compare
2e7c9e2
to
882de25
Compare
No description provided.