Benjamin Bossan
1a934d2a5e
Add pytest-cov, requirements-dev, pyproject.toml
...
When tests finish, a report should be printed that shows the code
coverage of timm. This should give us a better idea where we should work
on test coverage.
I have tested this locally (on a subset of tests) and it worked.
Since the number of test dependencies was getting quite high, I created
a requirements-dev.txt and moved them there. GH action and
CONTRIBUTING.md are adjusted accordingly.
Furthermore, instead of extending the pytest invocation, I created a
pyproject.toml and added the coverage options there. For completeness, I
also added the black settings that come closest to the style of timm.
LMK if this is not desired.
For now, the coverage is only reported but not enforced. I.e. when a PR
is created that adds uncovered lines, CI will still succeed. We could
think about adding codecov or something like that, but it can be
annoying sometimes and the service was flaky for me in the past.
2 years ago
Fredo Guan
81ca323751
Davit update formatting and fix grad checkpointing ( #7 )
...
fixed head to gap->norm->fc as per convnext, along with option for norm->gap->fc
failed tests due to clip convnext models, davit tests passed
3 years ago
Ross Wightman
e8ddc6865c
Update torch to 1.13 and python to 3.10 in test workflow ( #1562 )
...
* Update torch and python version in test workflow
* Python back to 3.9 for test workflow, see if that's the cause of macos failure..
* Try windows runner
* Try Python 3.10 + macOS-12 in quest for working second target
* Remove macOS from tests, not working anymore
3 years ago
Ross Wightman
8ff45e41f7
Fix xdist dependency change
3 years ago
Ross Wightman
91fc4c7ed1
Update tests.yml
3 years ago
nateraw
cf549c28b1
🎨 deploy docs from main not master
3 years ago
nateraw
af0c644c5d
👷 remove --not_python_module flag
3 years ago
nateraw
8ef9c48cc5
👷 use main branch of doc-builder thats fixed now
3 years ago
nateraw
9343f6e431
👷 update ci
3 years ago
nateraw
5f9eef712c
👷 bump ci
3 years ago
nateraw
09a77700f6
👷 bump back. it was actions outage not me
3 years ago
nateraw
b8e3ffd498
👷 revert ci workflow to main
3 years ago
nateraw
6153816250
🚧 test doc-builder branch to fix build here
3 years ago
nateraw
2f1abc2cf9
👷 add build_documentation workflow
3 years ago
nateraw
3a429d04ee
🚑 supply --not_python_module for now
3 years ago
nateraw
d4d915caf3
🚧 update path_to_docs in pr doc builder workflow
3 years ago
nateraw
96109a909b
🚧 update docs path
3 years ago
nateraw
6c3d02a7e5
🚧 update inputs to build_pr_documentation workflow
3 years ago
nateraw
25059001a9
🚧 add repo_owner
3 years ago
nateraw
e4c99d2bd6
📝 add hfdocs documentation
3 years ago
Ross Wightman
2a5b5b2a7b
Update feature_request.md
3 years ago
Ross Wightman
e018253acc
Update config.yml
3 years ago
Ross Wightman
995e2691d6
Update config.yml
3 years ago
Ross Wightman
25d1526092
Update pytest for GitHub runner to use --forked with xdist, hopefully eliminate memory buildup
4 years ago
kozistr
df5afabc92
update: rollback pytest-xdist
4 years ago
kozistr
ca4fb7d154
feature: boost speed of pytest
4 years ago
Ross Wightman
9d6aad44f8
Update tests to run Python 3.9, PyTorch 1.10, torchvision 0.11.1
4 years ago
Ross Wightman
959eaff121
Add optimizer tests and update testing to pytorch 1.9
4 years ago
Ross Wightman
34522097b1
See if we can use tcmalloc in test runner
4 years ago
Ross Wightman
99d97e0d67
Hopefully the last test update for this PR...
4 years ago
Ross Wightman
317ea3e599
Tweak NFNet, ResNetV2, RexNet feature extraction, use pre-act features for simplicty. Update tests for pytorch 1.8. 0.4.5 version bump.
4 years ago
Ross Wightman
48371a33b1
Create FUNDING.yml
...
$cale up the training...
4 years ago
Ross Wightman
80cd31f21f
Create config.yml
5 years ago
Ross Wightman
d940a53cd9
Update issue templates
5 years ago
Ross Wightman
60c998af22
Update issue templates
5 years ago
Ross Wightman
9d73911e62
Update issue templates
5 years ago
Eli Uriegas
ab9f1fc995
Update torch -> 1.7.0, torchvision -> 0.8.1
5 years ago
Ross Wightman
0734c0d187
Update test workflow
5 years ago
Ross Wightman
9806f3e1ff
autosquash github workflow didn't work out, removing
5 years ago
Ross Wightman
7995295968
Merge branch 'logger' into features. Change 'logger' to '_logger'.
5 years ago
Ross Wightman
0915beddad
Add autosquash workflow
5 years ago
Ross Wightman
701dba303e
Again
5 years ago
Ross Wightman
648ba41b4b
Try again with the worfklow threads
5 years ago
Ross Wightman
52b6e72e86
Try defining num threads for github workflow tests explicity (2)
5 years ago
Ross Wightman
17270c69b9
Remove annoying InceptionV3 dependency on scipy and insanely slow trunc_norm init. Bring InceptionV3 code into this codebase and use upcoming torch trunch_norm_ init.
5 years ago
michal
8c77f14cae
Install cpu version of torch on ubuntu
5 years ago
michal
8da43e0617
Install extra dependencies required by some models and log test durations
5 years ago
Mike
16f1f77b41
Add a test workflow for github actions
5 years ago