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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add smoke tests for torch models #2495

Merged
merged 3 commits into from
Dec 14, 2022

Conversation

lostella
Copy link
Contributor

Description of changes: This adds a generic smoke test that can be used to check in new torch models. The idea is that any model will explicitly declare its input type and shape through input_shapes and input_types, and those can be used to generate a batch and check that the output is as expected.

Also doing minor changes to MQF2MultiHorizonModel , and to SimpleFeedForwardModel in order to support the test.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

@lostella lostella added tests This item concerns improving tests enhancement New feature or request labels Dec 14, 2022
@lostella lostella merged commit 7327eab into awslabs:dev Dec 14, 2022
@lostella lostella deleted the add-torch-modules-tests branch December 14, 2022 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests This item concerns improving tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants