Skip to content

Conversation

@michalwols
Copy link
Contributor

This adds a github action to run a test suite, which at the moment only instantiates each model and runs a forward pass.

Here's how that looks live: https://github.com/michalwols/pytorch-image-models/runs/651871707?check_suite_focus=true

Results include timing for each model:
image

The runners are really underpowered so it might make sense to pick the smallest variant of each model class to keep the runtime of the action reasonable.

I added a timeout of 60s for each model, which they all comfortably pass on my laptop but it should probably be changed for the CI env since it will lead to flaky tests.

@rwightman rwightman merged commit 14e01b8 into huggingface:master May 7, 2020
guoriyue pushed a commit to guoriyue/pytorch-image-models that referenced this pull request May 24, 2024
Setup Github Action to instantiate and run a forward pass with each registered model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants