Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

[Core] Delay Loading NGram-Blocking on GPU #4886

Merged
merged 3 commits into from
Dec 13, 2022
Merged

[Core] Delay Loading NGram-Blocking on GPU #4886

merged 3 commits into from
Dec 13, 2022

Conversation

klshuster
Copy link
Contributor

Patch description
Loading the ngram blocking on GPU not only fails for several builds, but can also be quite time consuming; I'm shifting to a lazy instantiation, such that loading does not occur unless the user explicitly asks for ngram blocking on GPU.

Testing steps
Local testing

@klshuster
Copy link
Contributor Author

cc @dexterju27

Copy link
Contributor

@dexterju27 dexterju27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@klshuster klshuster merged commit 3f70d6b into main Dec 13, 2022
@klshuster klshuster deleted the delay_ngram_load branch December 13, 2022 21:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants