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

perf: only format model values if writing text model #4613

Merged
merged 3 commits into from
Jun 9, 2023

Conversation

jackgerrits
Copy link
Member

In my testing adding this fix reduced model saving time from 9.11s to 2.08s for a 190MB model.

@jackgerrits jackgerrits enabled auto-merge (squash) June 9, 2023 15:27
@jackgerrits jackgerrits merged commit b8c4ee3 into VowpalWabbit:master Jun 9, 2023
@jackgerrits jackgerrits deleted the model_text_formatting branch June 9, 2023 15:48
jackgerrits added a commit to VowpalWabbit/py-vowpal-wabbit-next that referenced this pull request Jun 9, 2023
…el (#85)

After implementing this change a 190MB model when from taking 63.26s to
9.11s to serialize.

Additionally, VowpalWabbit/vowpal_wabbit#4613
also drastically improves the situation.

#84
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.

2 participants