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

Add PyTorch memory budget limit setting #2472

Merged
merged 7 commits into from Jan 21, 2024
Merged

Add PyTorch memory budget limit setting #2472

merged 7 commits into from Jan 21, 2024

Conversation

joeyballentine
Copy link
Member

Partially reimplements #2088. However, I don't understand what the Mac stuff is doing there, so someone else (@stonerl?) will have to finish that out. For just limiting VRAM, this works. This was mostly based on the existing NCNN setting.

image

closes #2450.

@joeyballentine joeyballentine changed the title Add PyTorch memory (VRAM) budget limit setting Add PyTorch memory budget limit setting Jan 21, 2024
@joeyballentine joeyballentine merged commit 213f734 into main Jan 21, 2024
14 checks passed
@joeyballentine joeyballentine deleted the limit-vram branch January 21, 2024 16:40
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.

Set a limit for maximum VRAM that can be used on Windows Version
2 participants