PennyLaneAI / PennyLaneAI/catalyst
Filter compile flags based on compile options.
Open
Nobody has claimed this yet.
chore
frontend
good first issue
- Dominant language
- Python
- Stars
- 234
- Forks
- 84
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 66
Description
Instead of having two pipelines, (one for async and one for non-async), we could have one single pipeline by predicating the compiler passes. For example:
A_PIPELINE = (
"A_PIPELINE_NAME",
[
("a-pass", lambda options: return options.enable_a_pass), # conditionally added
("b-pass", lambda options: return True), # always added
]
And then we can just use a filter to get the final pass list.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating the separate async and non-async pipeline definitions and the code that assembles compiler passes; done means one pipeline can filter passes from compile options without changing existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100