stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Feature Request] Saving outputs to S3

Open kohs100 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. I'm running webui with GPU-intensive instance of some kind of cloud service, and in my situation, it is pretty hard to add block storage or expand the capacity. Currently I'm utilizing NFS or sshfs to mount the outputs directory at separate external server, but rather, I want the webui itself to have the ability to export output directly to s3, without consuming disk capacity.

Describe the solution you'd like Feature to export output to a particular s3 bucket using aws credentials given through environmental variables or other files

Describe alternatives you've considered NFS, sshfs, s3fs, etc.

kohs100 avatar Oct 19 '22 17:10 kohs100

Bump, right now i'm doing this using a script that is executed every minute by crontab aws s3 sync ./stable-diffusion-webui/outputs s3://s3-bucket/

DuckyBlender avatar Oct 19 '22 18:10 DuckyBlender

This could be implemented with a Custom Scripts. You can even make it your own.

fa0311 avatar Oct 19 '22 19:10 fa0311