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

Performance, caching optimizations #235

Merged
merged 18 commits into from
Feb 18, 2024
Merged

Performance, caching optimizations #235

merged 18 commits into from
Feb 18, 2024

Conversation

naddeoa
Copy link
Collaborator

@naddeoa naddeoa commented Feb 17, 2024

No description provided.

Anthony Naddeo added 14 commits February 15, 2024 22:03
Experimenting performance improvements.
Presidio was doing some init work outside of the init method without
caching.

Also, workflows now return metadata about performance times.
We need to be able to not download torch so we can control it from
consuming applications.
Making everything explicit since it isn't clear that this object isn't
the primary output of the api.
Anthony Naddeo added 4 commits February 17, 2024 15:04
Apparently the new version of spacy doesn't pull down packages
automatically via .load() anymore. Now you have to explicitly download
the package first. They don't have an api intended for python use but
their CLI is python and you can still call it directly.

They don't have a nice way of pinning the version yet though, short of
copying the github url that they use to store the wheels.
@naddeoa naddeoa merged commit 81af2de into workflow Feb 18, 2024
2 checks passed
@naddeoa naddeoa deleted the perf branch February 18, 2024 01: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.

1 participant