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

Remove assertions or replace with logging error #468

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

brandenchan
Copy link
Contributor

This PR either removes asserts or replaces them with logging errors. The idea behind this is to improve the stability of FARM in production so that it doesn't crash halfway through a long inference or training job. Asserts that check initialization of components are maintained.

@brandenchan brandenchan requested a review from Timoeller July 21, 2020 16:12
@brandenchan brandenchan merged commit 79669fc into master Jul 22, 2020
@brandenchan
Copy link
Contributor Author

See #444 for some earlier discussions around the topic

@brandenchan brandenchan mentioned this pull request Jul 22, 2020
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