Skip to content
Discussion options

You must be logged in to vote

Yep, we recommend separating model parameters (weights) from program code. Here are our docs on using parameter files:

Also, if you are dumping IR, see the IR printing options at https://mlir.llvm.org/docs/PassManagement/#ir-printing together with https://mlir.llvm.org/getting_started/Debugging/. You can do something like --mlir-print-ir-after-all --mlir-elide-elementsattrs-if-larger=64 to dump all IR but print constants larger than 64 bytes in redacted form. IREE adds more options on top of those like --dump-compilation-phases-to=${PATH} which prints after high level phases in t…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ScottTodd
Comment options

Answer selected by FlintWangacc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants