[EN] Issues with ImageOps - VRAM and concurrency #37
Labels
backend
backend related reports
enhancement
New feature or request
imageops
Issues related to the Image-related operations, like safety & quality checks
Feature request / Suggestion
Currently, we have set
celery
's concurrency to 1 process with several threads, in order to get around race conditions and OutOfMemory issues with the deep learning models used for ImageOps. The problem here is that ImageOps is too slow when run serially. Figure out a way to parallelize image checks, while balancing RAM / VRAM usage.Possible implementation
Chunking might help here, the same way it works with MeshOps. Note that
subprocess
would not work withcelery
most likely, and threading on GPU has its own share of issues.Self-check
The text was updated successfully, but these errors were encountered: