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

Changed default tile size to 256 for ONNX #2007

Merged

Conversation

RunDevelopment
Copy link
Member

This should make it possible for people with only 4GB of VRAM to upscale using ESRGAN models.

I chose 256, because it only required 3.2 GB of RAM to upscale an 1k RGB image on my system. 512 required 9.1GB, which makes it a non-starter for cards with only 8GB VRAM.

378 required only 5.3GB of VRAM, but took 3 times as long as 256 and 512 on my system (about 30sec (256/512) vs 1min 30sec (378)). I don't know whether other systems behave similarly, but I don't want to risk it.

@joeyballentine joeyballentine merged commit c62c498 into chaiNNer-org:main Jul 28, 2023
11 checks passed
@RunDevelopment RunDevelopment deleted the onnx-defaulttile-size branch July 28, 2023 13:09
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.

None yet

2 participants