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

[BUG]RealESRGAN experiences resource contention issues under high concurrency." #616

Open
liuhao16 opened this issue Jan 7, 2025 · 2 comments
Labels

Comments

@liuhao16
Copy link

liuhao16 commented Jan 7, 2025

Model Which model are you using? Describe the bug A clear 和 concise description of what the bug is. Screenshots If applicable, add screenshots to help explain your problem. System Info Software version used - iopaint: 1.5.4- pytorch: - CUDA:

When the model is under high concurrency, images get mixed up - either image A contains elements from image B, or image A completely becomes image B. This occurs when I'm using the API for processing.

I noticed that these issues occur when the GPU is under full load.

curl --location 'http://0.0.0.0:8380/api/v1/run_plugin_gen_image' \ --header 'accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "name": "RealESRGAN", "image": "data:image/jpeg;base64,/xxxxxxxx", "scale": 4 }'

@liuhao16
Copy link
Author

liuhao16 commented Jan 7, 2025

iopaint start --model=lama --device=cuda --port=8080 --host=0.0.0.0 --enable-realesrgan --realesrgan-model RealESRGAN_x4plus --realesrgan-device cuda

Copy link

github-actions bot commented Feb 7, 2025

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant