这是indexloc提供的服务,不要输入任何密码
Skip to content

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
@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

3 participants