Examples tests improvements
See original GitHub issueThere are a few things about the examples/
tests that are suboptimal:
- They never use cuda or fp16, even if they are available.
- The
@slow
decorator used in the main tests is not importable, so there are no @slow tests. test_run_glue
uses distilbert-case-cased. It should use a smaller model, one of thetiny
family here or a new tiny model.- There is no test coverage for TPU.
Any help on any of these fronts would be much appreciated!
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
6 Ideas for Continuous Improvement in Software Testing
1.Devising A Plan And Defining Strategy · 2.Scenario Analysis · 3.Test Data Identification · 4.Automated Testing · 5.Pick the Right QA Tools.
Read more >11 Ways to Improve Software Testing through Planning, Work ...
Learn the ways to improve software testing and quality assurance through planning, establishing a productive work environment, ...
Read more >Model for Improvement - Testing Interventions
Explains how the Model for Improvement was used in a community health setting. ... Examples of completed PDSA Worksheets: Example 1 (pdf, 1...
Read more >Science of Improvement: Testing Changes | IHI
Reasons to Test Changes. To increase your belief that the change will result in improvement. ... Example of a Test of Change (Plan-Do-Study-Act...
Read more >Software Testing Process Improvements for Test / QA Managers
You have learnt till now that testing should be used to enhance software quality as well as the final product. Just as the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes!
Good idea.
torch.cuda.is_available()
:Try to do that for all tests. Some will likely break. You can add a TODO to those and keep them running on CPU for now.
1b) You probably need a GPU to do this PR.