Serve File to External GPU
Any advice on how best so serve audio blob to external gpu running on on runpod
I can enable the nextjs app running on vercel to save the audio blob to convex and i can get the nextjs client to retrieve the the audio... how best can the file be served to an external gpu?
I'd prefer to have the nextjs server route serve the file rather than the client as access to the gpu route is via private keys I am looking into the vercel storage and aws s3 signed ssl... but would prefer not to spin up additional stuff big picture i need the gpu to get the audio embeddings so open to ideas. also i have read what docs i found on serve file and http actions https://docs.convex.dev/file-storage/serve-files https://docs.convex.dev/functions/http-actions
I'd prefer to have the nextjs server route serve the file rather than the client as access to the gpu route is via private keys I am looking into the vercel storage and aws s3 signed ssl... but would prefer not to spin up additional stuff big picture i need the gpu to get the audio embeddings so open to ideas. also i have read what docs i found on serve file and http actions https://docs.convex.dev/file-storage/serve-files https://docs.convex.dev/functions/http-actions
Serving Files | Convex Developer Hub
Files stored in Convex can be served to your users by generating a URL pointing
HTTP Actions | Convex Developer Hub
HTTP actions allow you to build an HTTP API right in Convex!
1 Reply
Can you send the File/Blob to the GPU via
fetch
in an action?
Or if the GPU side can fetch
, can you pass it the storage URL?