You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Small improvements in catalyst cli docs, option help, and intermediate file naming (#1405)
**Context:**
This PR fixes some small bugs or lack of documentation for catalyst-cli
gathered from @dime10's feedbacks.
- The `--help` flag seems to dump a lot of unrelated options which makes
it difficult to navigate through catalyst options.
- The possible stages for the --checkpoint-stage option are not
mentioned in the documentation
- When using `--checkpoint-stage`, `--save-ir-after-each=pipeline` no
longer works.
- The output from --save-ir-after-each=pass produces one output for each
function when dealing with a function pass which results in a large
number of outputs and one has to find the function of interest randomly.
**Description of the Change:**
- `--help` option now prints all the catalyst-cli specific options first
before jumping into mlir-opt options
- Added more details to documentation
- Fixed the bug for `save-ir-after-each` and `save-ir-after-each`
coexisting together.
- Output from `save-ir-after-each` now appends the name of the function
to the file name making it easier to identify the desired output.
**Benefits:**
easier experience for catalyst-cli user
**Possible Drawbacks:**
**Related GitHub Issues:**
---------
Co-authored-by: Joey Carter <joseph.carter@xanadu.ai>
Co-authored-by: erick-xanadu <110487834+erick-xanadu@users.noreply.github.com>
Co-authored-by: David Ittah <dime10@users.noreply.github.com>
0 commit comments