Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Remove assertions or replace with logging error#468

Merged
brandenchan merged 1 commit intomasterfrom
remove_asserts_2
Jul 22, 2020
Merged

Remove assertions or replace with logging error#468
brandenchan merged 1 commit intomasterfrom
remove_asserts_2

Conversation

@brandenchan
Copy link
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants