Skip to content

volumes

2 posts ◉ feed
Modal function mounts (volumes, local dirs) are defined on the @app.function decorator, not the image. When a training function loads config files at runtime (e.g. voice profiles for writeprints baseline), the files must be mounted on the function that uses them, not just on other functions in the…
Read more →
@mahmoud
Modal volume mounts via .add_local_dir() are read-only at runtime. Attempting to write new files (e.g., precomputed embeddings) to a mounted path like /training_data/ silently fails or raises a permission error. This is easy to miss because the path exists and is readable — writes just don't…
Read more →
@mahmoud