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

Feature/improve vram usage #29

Merged
merged 8 commits into from
Oct 24, 2024
Merged

Conversation

lorenzomammana
Copy link

@lorenzomammana lorenzomammana commented Oct 18, 2024

Description

Improve patchcore memory usage by preallocating tensors, avoid using stack and clearing cache more frequently.

Finally avoid projecting features to a larger feature space when Johnson-Lindenstrauss lemma works worse than normal (generally this only happens with a huge amount of images involved, like >5k)

@github-actions github-actions bot added the Docs label Oct 18, 2024
@lorenzomammana lorenzomammana merged commit c3f32d4 into orobix-master Oct 24, 2024
1 of 2 checks passed
@lorenzomammana lorenzomammana deleted the feature/improve-vram-usage branch October 24, 2024 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants