Skip to content

Pipelines should have one source of truth #1762

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

Open
paul0403 opened this issue May 22, 2025 · 0 comments
Open

Pipelines should have one source of truth #1762

paul0403 opened this issue May 22, 2025 · 0 comments

Comments

@paul0403
Copy link
Member

paul0403 commented May 22, 2025

Currently we have two pipeline registries:
https://github.com/PennyLaneAI/catalyst/blob/main/frontend/catalyst/pipelines.py: the frontend pipeline is used by default qjit program flow
https://github.com/PennyLaneAI/catalyst/blob/main/mlir/lib/Driver/Pipelines.cpp: the cpp pipeline is used by cli and things like having stage names in the pipeline being passed into the pipeline kwarg on qjit, e.g. in the oqd, mbqc, ppm pytests.

This seems redundant, not to mention error-prone when developing and maintaining.

With more and more custom pipelines emerging and people start thinking about pipeline organization more (e.g. #1758 ), it would be good to have pipeline registration in just one place.

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

1 participant