ColossalAI icon indicating copy to clipboard operation
ColossalAI copied to clipboard

[tests] model zoo add torchaudio models

Open ver217 opened this issue 2 years ago • 1 comments

📌 Checklist before creating the PR

  • [ ] I have created an issue for this PR for traceability
  • [x] 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

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge

e.g. fixed #1234, closed #1234, resolved #1234

Part of #3049

📝 What does this PR do?

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

Add torchaudio models to testing model zoo.

💥 Checklist before requesting a review

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

⭐️ Do you enjoy contributing to Colossal-AI?

  • [x] 🌝 Yes, I do.
  • [ ] 🌚 No, I don't.

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

ver217 avatar Mar 14 '23 11:03 ver217

The code coverage for the changed files is %.

Click me to view the complete report
Name                                           Stmts   Miss  Cover
------------------------------------------------------------------
tests/kit/model_zoo/__init__.py                    3      0   100%
tests/kit/model_zoo/torchaudio/__init__.py         1      0   100%
tests/kit/model_zoo/torchaudio/torchaudio.py      49     21    57%
------------------------------------------------------------------
TOTAL                                             53     21    60%

github-actions[bot] avatar Mar 14 '23 11:03 github-actions[bot]

Can you update the test files in tests/test_fx/test_tracer/test_torchaudio_model?

DONE

ver217 avatar Mar 15 '23 03:03 ver217

The code coverage for the changed files is 78%.

Click me to view the complete report
Name                                                                       Stmts   Miss  Cover
----------------------------------------------------------------------------------------------
tests/kit/model_zoo/__init__.py                                                3      0   100%
tests/kit/model_zoo/torchaudio/__init__.py                                     1      0   100%
tests/kit/model_zoo/torchaudio/torchaudio.py                                  49     18    63%
tests/test_fx/test_tracer/test_torchaudio_model/test_torchaudio_model.py      12      0   100%
tests/test_fx/test_tracer/test_torchaudio_model/torchaudio_utils.py           17      0   100%
----------------------------------------------------------------------------------------------
TOTAL                                                                         82     18    78%

github-actions[bot] avatar Mar 15 '23 03:03 github-actions[bot]