Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Rewrite rules implementation for LLaMA-2/ LLaMA-3 #1811
base: main
Are you sure you want to change the base?
Rewrite rules implementation for LLaMA-2/ LLaMA-3 #1811
Changes from all commits
230dd68
d12336b
d861af0
7270b0a
2657017
e6dd74a
0d33872
e905e24
c19eff2
55a23b0
dbf22fa
77c130c
03126ef
60f66c8
9db6016
523795c
5cac16b
e598f39
2771a40
03ba9e9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 756 in onnxscript/ir/_core.py
Codecov / codecov/patch
onnxscript/ir/_core.py#L756
Check failure
Code scanning / lintrunner
MYPY/has-type Error
Check warning on line 115 in onnxscript/rewriter/function_rule.py
Codecov / codecov/patch
onnxscript/rewriter/function_rule.py#L114-L115
Check warning
Code scanning / lintrunner
RUFF/TRY004 Warning
Check warning on line 117 in onnxscript/rewriter/function_rule.py
Codecov / codecov/patch
onnxscript/rewriter/function_rule.py#L117
Check failure
Code scanning / lintrunner
MYPY/union-attr Error
Check failure
Code scanning / lintrunner
MYPY/return-value Error
Check warning on line 135 in onnxscript/rewriter/function_rule.py
Codecov / codecov/patch
onnxscript/rewriter/function_rule.py#L134-L135
Check failure
Code scanning / lintrunner
MYPY/attr-defined Error
Check warning on line 196 in onnxscript/rewriter/function_rule.py
Codecov / codecov/patch
onnxscript/rewriter/function_rule.py#L195-L196
Check warning on line 18 in onnxscript/rewriter/onnxruntime/transformers/layernorm.py
Codecov / codecov/patch
onnxscript/rewriter/onnxruntime/transformers/layernorm.py#L18
Check warning on line 21 in onnxscript/rewriter/onnxruntime/transformers/layernorm.py
Codecov / codecov/patch
onnxscript/rewriter/onnxruntime/transformers/layernorm.py#L21
Check warning on line 25 in onnxscript/rewriter/onnxruntime/transformers/layernorm.py
Codecov / codecov/patch
onnxscript/rewriter/onnxruntime/transformers/layernorm.py#L25
Check warning on line 32 in onnxscript/rewriter/onnxruntime/transformers/layernorm.py
Codecov / codecov/patch
onnxscript/rewriter/onnxruntime/transformers/layernorm.py#L32
Check warning on line 35 in onnxscript/rewriter/onnxruntime/transformers/layernorm.py
Codecov / codecov/patch
onnxscript/rewriter/onnxruntime/transformers/layernorm.py#L35