SR scale x1 with OOM: CUDA out of memory
I want to handle my photo(resolution 4080 × 3060), using RTX 4090, enabled Tiled, it failed!
What should i do? Does DiffBIR support quantization ?
Hey, try tiled options for inference. It can avoid memory limitation.
Hey, try tiled options for inference. It can avoid memory limitation.
hello.what is that mean?
Hey, try tiled options for inference. It can avoid memory limitation.
hello.what is that mean?
If you wanna inference large-resolution images with limited memory, try to specify --tiled related params as follows.
python inference.py \
.... \
--tiled --tile_size 512 --tile_stride 256
@ziyannchen 请问 tiled sample 是否意味着对图像分片超分?例如一张图像是1024x1024,tile_stride=256,那么就会把图像分成四份,对每份进行超分,然后拼接?