Make Your Container Read the Model
Overview
Deploying an edition (see Upload and Deploy) delivers the verified
model file to the device. If your deploy request uses ATOMIC_SWAP_AND_RESTART_CONTAINER, WEDA
also moves the file into its final location and restarts your inference container so it re-reads
the file — but it only restarts the container. It does not create or mount a volume for you.
Your inference container must already be configured to mount the device's secured volume before the first deploy. This page covers that one-time container setup.
WEDA automatically creates and manages the secured volume for you as part of deployment — there is no API to provision or configure it directly. Your container connects to it as a read-only volume using the connection details your WEDA deployment provides.
The secured volume's internal management is not exposed as a public REST API in v1.1.0. Mounting it in your container's own deployment definition, as shown below, is the supported approach today.
Where the Model File Lands
Once a deployment reaches DEPLOYED, the verified file is available inside the secured volume.
Use the edgeFilePath value returned in the deployment result (see
Check Deployment Result) as the path within
the mounted volume — it is already relative, in the form
/ai-models/<modelName>/<edition>/<fileName>. Don't construct or assume any other path; the
underlying mount structure is managed entirely by WEDA and may change between releases.