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

utilized the cache to filter base classes #905

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

jmartin-tech
Copy link
Collaborator

There is no longer a need to import the plugin base module all plugin class entries are the responsibility of the PluginCache.

time python -m garak --list_detectors
time python -m garak --list_probes

Should be sub 2 seconds on an SSD based filesystem.

There is no longer a need to import the plugin base module all plugin class
entries are the responsibility of the `PluginCache`.

Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
@leondz leondz merged commit ff4ee33 into leondz:main Sep 9, 2024
8 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants