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

Little optimization on device check #1112

Merged
merged 1 commit into from
Sep 16, 2019

Conversation

pommedeterresautee
Copy link
Contributor

@pommedeterresautee pommedeterresautee commented Sep 16, 2019

close #1104
Provide a constant 1s improvement on conll 2003. (26s -> 25s, I am now using batch of 256, because since I don't know when, it matters on inference speed, AFAIK on the last released version it didn't on my GPU)
The best thing is that it makes the global variable more useful :-)

@alanakbik
Copy link
Collaborator

Cool, thanks for adding this :)

@alanakbik
Copy link
Collaborator

👍

1 similar comment
@yosipk
Copy link
Collaborator

yosipk commented Sep 16, 2019

👍

@yosipk yosipk merged commit 56771ae into flairNLP:master Sep 16, 2019
@pommedeterresautee pommedeterresautee deleted the set_optimization 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.

Is there some scenario where the embeddings are not initially stored on flair.device?
3 participants