Skip to content
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

Add unit test to check backward function for conv, checks there is no graph breaks #1709

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

lint

a42d94e
Select commit
Loading
Failed to load commit list.
Open

Add unit test to check backward function for conv, checks there is no graph breaks #1709

lint
a42d94e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jul 3, 2024 in 0s

64.28% of diff hit (target 75.58%)

View this Pull Request on Codecov

64.28% of diff hit (target 75.58%)

Annotations

Check warning on line 68 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L66-L68

Added lines #L66 - L68 were not covered by tests

Check warning on line 70 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L70

Added line #L70 was not covered by tests

Check warning on line 73 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L73

Added line #L73 was not covered by tests

Check warning on line 78 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L75-L78

Added lines #L75 - L78 were not covered by tests

Check warning on line 82 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L80-L82

Added lines #L80 - L82 were not covered by tests

Check warning on line 84 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L84

Added line #L84 was not covered by tests

Check warning on line 91 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L91

Added line #L91 was not covered by tests

Check warning on line 94 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L94

Added line #L94 was not covered by tests

Check warning on line 101 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L101

Added line #L101 was not covered by tests

Check warning on line 105 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L104-L105

Added lines #L104 - L105 were not covered by tests

Check warning on line 111 in onnxscript/function_libs/torch_lib/backward_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/function_libs/torch_lib/backward_test.py#L111

Added line #L111 was not covered by tests

Check warning on line 72 in onnxscript/tools/training_helper.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/tools/training_helper.py#L72

Added line #L72 was not covered by tests

Check warning on line 104 in onnxscript/tools/training_helper.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/tools/training_helper.py#L104

Added line #L104 was not covered by tests

Check warning on line 134 in onnxscript/tools/transformers_models/mistral_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/tools/transformers_models/mistral_test.py#L134

Added line #L134 was not covered by tests

Check warning on line 137 in onnxscript/tools/transformers_models/mistral_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/tools/transformers_models/mistral_test.py#L137

Added line #L137 was not covered by tests

Check warning on line 144 in onnxscript/tools/transformers_models/mistral_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/tools/transformers_models/mistral_test.py#L144

Added line #L144 was not covered by tests

Check warning on line 148 in onnxscript/tools/transformers_models/mistral_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/tools/transformers_models/mistral_test.py#L147-L148

Added lines #L147 - L148 were not covered by tests

Check warning on line 135 in onnxscript/tools/transformers_models/phi3_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/tools/transformers_models/phi3_test.py#L135

Added line #L135 was not covered by tests

Check warning on line 138 in onnxscript/tools/transformers_models/phi3_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/tools/transformers_models/phi3_test.py#L138

Added line #L138 was not covered by tests

Check warning on line 145 in onnxscript/tools/transformers_models/phi3_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/tools/transformers_models/phi3_test.py#L145

Added line #L145 was not covered by tests

Check warning on line 149 in onnxscript/tools/transformers_models/phi3_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

onnxscript/tools/transformers_models/phi3_test.py#L148-L149

Added lines #L148 - L149 were not covered by tests