Skip to content

[rewriter] Decouple llama rule sets #2128

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
titaiwangms opened this issue Mar 24, 2025 · 0 comments
Open

[rewriter] Decouple llama rule sets #2128

titaiwangms opened this issue Mar 24, 2025 · 0 comments

Comments

@titaiwangms
Copy link
Contributor

https://github.com/microsoft/onnxscript/blob/main/onnxscript/rewriter/llama_rule_sets.py

The file contains a lot of rewrite rules, but it's name is misleading, and its test (https://github.com/microsoft/onnxscript/blob/main/onnxscript/rewriter/llama_rule_sets_test.py) is also tangled. We need the API in optimizer explicitly specify what rules we are applying.

_DEFAULT_REWRITE_RULES = [

@titaiwangms titaiwangms changed the title [rewriter] llama rule sets [rewriter] Decouple llama rule sets Mar 24, 2025
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