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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Analyzer] fix analyzer tests #3197

Merged

Conversation

YuliangLiu0306
Copy link
Contributor

@YuliangLiu0306 YuliangLiu0306 commented Mar 22, 2023

馃搶 Checklist before creating the PR

  • I have created an issue for this PR for traceability
  • The title follows the standard format: [doc/gemini/tensor/...]: A concise description
  • I have added relevant tags if possible for us to better distinguish different PRs

馃毃 Issue number

fixed #3198

馃摑 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.

馃挜 Checklist before requesting a review

  • I have linked my PR to an issue (instruction)
  • My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
  • I have performed a self-review of my code
  • I have added thorough tests.
  • I have added docstrings for all the functions/methods I implemented

猸愶笍 Do you enjoy contributing to Colossal-AI?

  • 馃対 Yes, I do.
  • 馃寶 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

@YuliangLiu0306 YuliangLiu0306 added bug Something isn't working Run Build and Test labels Mar 22, 2023
@github-actions
Copy link
Contributor

The code coverage for the changed files is 48%.

Click me to view the complete report
Name                                                      Stmts   Miss  Cover
-----------------------------------------------------------------------------
tests/test_analyzer/test_fx/test_bias_addition.py            75     43    43%
tests/test_analyzer/test_fx/test_shape_prop.py               45     22    51%
tests/test_analyzer/test_fx/test_symbolic_profile.py         37     20    46%
tests/test_analyzer/test_fx/zoo.py                            4      0   100%
tests/test_analyzer/test_subclasses/test_flop_tensor.py      29     13    55%
tests/test_analyzer/test_subclasses/test_meta_mode.py        29     16    45%
-----------------------------------------------------------------------------
TOTAL                                                       219    114    48%

1 similar comment
@github-actions
Copy link
Contributor

The code coverage for the changed files is 48%.

Click me to view the complete report
Name                                                      Stmts   Miss  Cover
-----------------------------------------------------------------------------
tests/test_analyzer/test_fx/test_bias_addition.py            75     43    43%
tests/test_analyzer/test_fx/test_shape_prop.py               45     22    51%
tests/test_analyzer/test_fx/test_symbolic_profile.py         37     20    46%
tests/test_analyzer/test_fx/zoo.py                            4      0   100%
tests/test_analyzer/test_subclasses/test_flop_tensor.py      29     13    55%
tests/test_analyzer/test_subclasses/test_meta_mode.py        29     16    45%
-----------------------------------------------------------------------------
TOTAL                                                       219    114    48%

@FrankLeeeee FrankLeeeee merged commit 019a847 into hpcaitech:main Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE]: fix analyzer tests for torch 1.12.1
2 participants