Volume
classgworker_client.resources.Volume
Persistent storage volume. Mounted into task containers at a specified path. Data persists across deploys, retries, and restarts. Backed by distributed block storage; safe for model weights, checkpoints, and datasets.
Class
python
1class VolumeMethods
from_name
python
1from_name(name: str, create: bool = True, region: str = 'ANY') -> VolumeReference a volume by name. With create=True (default), the volume is provisioned automatically on first deploy. region pins the volume to a datacenter — should match the task's region for lowest latency.