-
Notifications
You must be signed in to change notification settings - Fork 94
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
[storage] Cloudflare R2 support #11
Comments
Lol, I didn't actually realise the Cloudflare R2 was S3-compatible. So, I'd be very, very surprised if this wasn't working already, just set the build-arg:
and it should work out the box! (set also the other AWS_S3_ args too, of course, as per docs/storage.md). @jd0713 if you already have a cloudflare account maybe you could let us know some speeds from banana, if relevant. (I guess it's only relevant if you're using the dreambooth training, or otherwise have some hosted model on R2... if not, let me know your use case ^_^) |
It is working, I'm using it. Region has to be set to |
Speeds to banana are OK. Seem to be limited from Bananas side |
Ah amazing, thanks for reporting back! I've actually started using R2 too and am loving it (and host all our pre-built optimized models there). I still need to measure speeds to/from banana though. |
There has been a lot of interest around Cloudflare's R2 support too... I don't use it personally but will happily accept a PR for this (see e.g. https://github.com/kiri-art/docker-diffusers-api/tree/dev/utils/storage), or if will implement it myself if no one else does provided there's sufficient interest among docker-diffusers-api users (you can thumbs up this issue if it's important to you).
The text was updated successfully, but these errors were encountered: