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

Reduce detach calls on Flair embeddings #1132

Merged
merged 1 commit into from
Sep 19, 2019

Conversation

pommedeterresautee
Copy link
Contributor

Simple optimization.
Brings a constant 1s inference time on French data (characterized by very long sentences == many tokens per Sentence) -> from 13 to 12s
No measurable effect on Connl 2003.

@alanakbik
Copy link
Collaborator

Thanks!

@alanakbik
Copy link
Collaborator

👍

1 similar comment
@yosipk
Copy link
Collaborator

yosipk commented Sep 19, 2019

👍

@yosipk yosipk merged commit 15eb0b8 into flairNLP:master Sep 19, 2019
@pommedeterresautee pommedeterresautee deleted the less_detached branch September 19, 2019 14:47
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.

3 participants