How do i attach a volume to a FLAME machine?

Hey all, I’m trying to use FLAME to scale some llm calls in my app, but I can’t figure out how to attach volumes to machines created as part of the FLAME pool.
I figure i’d need as many volumes as the max number of workers in my pool, which is fine, but I still need a way to attach those volumes to flame workers on startup.

is there any way to do this?

There wasn’t really a way. I opened a PR to give FLAME support for adding volumes to fly machines.

May have also discovered a document bug along the way.

The PR for those looking in the future: Adds mounts to fly backend by benbot · Pull Request #22 · phoenixframework/flame · GitHub

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.