Fix memory issues when installing models on Windows by gogurtenjoyer · Pull Request #8652 · invoke-ai/InvokeAI
added 2 commits
November 3, 2025 16:45Wrap gguf.GGUFReader and then use a context manager to load memory-mapped GGUF files, so that they will automatically close properly when no longer needed. Should prevent the 'file in use in another process' errors on Windows.
gogurtenjoyer
changed the title
Fix installing models on Windows
Fix memory issues when installing models on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters