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

a28d067
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
a28d067
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jul 9, 2024 in 1s

63.15% of diff hit (target 74.70%)

View this Pull Request on Codecov

63.15% of diff hit (target 74.70%)

Annotations

Check warning on line 67 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#L65-L67

Added lines #L65 - L67 were not covered by tests

Check warning on line 69 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#L69

Added line #L69 was not covered by tests

Check warning on line 72 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#L72

Added line #L72 was not covered by tests

Check warning on line 77 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#L74-L77

Added lines #L74 - L77 were not covered by tests

Check warning on line 81 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#L79-L81

Added lines #L79 - L81 were not covered by tests

Check warning on line 83 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#L83

Added line #L83 was not covered by tests

Check warning on line 90 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#L90

Added line #L90 was not covered by tests

Check warning on line 93 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#L93

Added line #L93 was not covered by tests

Check warning on line 100 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#L100

Added line #L100 was not covered by tests

Check warning on line 104 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#L103-L104

Added lines #L103 - L104 were not covered by tests

Check warning on line 110 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#L110

Added line #L110 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