Closed zeke closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
instruct-pix2pix-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Jan 26, 2023 at 5:11AM (UTC) |
Gonna go ahead and merge to keep things moving, but please still review!
Do we want to say anything to the user to let them know it happened?
Considering that it's just a toy / proof of concept, it doesn't really seem necessary.
Even with a relatively small input image like 1024x1024, it's pretty easy to make the model run out of memory:
This PR adds a server-side module thats downscales input images before they're sent to the API, to improve overall performance and avoid OOM errors from the model.