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

Use compact string type to reduce memory consumption #198

Closed
pemistahl opened this issue Jun 13, 2023 · 1 comment
Closed

Use compact string type to reduce memory consumption #198

pemistahl opened this issue Jun 13, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@pemistahl
Copy link
Owner

All language models together consume a large amount of memory. By using a compact string type such as compact_str, the memory consumption ought to be reduced.

@pemistahl pemistahl added this to the Lingua 1.5.0 milestone Jun 13, 2023
@pemistahl pemistahl added the enhancement New feature or request label Jun 13, 2023
@pemistahl
Copy link
Owner Author

Memory consumption could be reduced by 20 %. Not bad. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant