Synchronize files to run your workload.
Users have the following options for submitting their application code as a Trainy workload.
file_mounts
and workdir
definitions.The first option is often slow given the size of deep learning images so we focus on the the latter two here.
We first need to decide which storage provider we are going to use. First, we have to place our cloud service account credentials into the Trainy cluster.
afterwards we configure the storage provider by setting ~/.konduktor/config.yaml
When we run konduktor launch
two things happen atomically in this order. If any step fails, the workload will fast-fail.
workdir
and file_mounts
are synchronized to object storageworkdir
and file_mounts
In our workload definition, we can define the following:
Cloning private repositories is supported via both file sync of ssh keys to your object store or through secrets. This section demonstrates how to file sync an ssh key from our workstation onto the workload and configure SSH for pulling from a private repository.
Synchronize files to run your workload.
Users have the following options for submitting their application code as a Trainy workload.
file_mounts
and workdir
definitions.The first option is often slow given the size of deep learning images so we focus on the the latter two here.
We first need to decide which storage provider we are going to use. First, we have to place our cloud service account credentials into the Trainy cluster.
afterwards we configure the storage provider by setting ~/.konduktor/config.yaml
When we run konduktor launch
two things happen atomically in this order. If any step fails, the workload will fast-fail.
workdir
and file_mounts
are synchronized to object storageworkdir
and file_mounts
In our workload definition, we can define the following:
Cloning private repositories is supported via both file sync of ssh keys to your object store or through secrets. This section demonstrates how to file sync an ssh key from our workstation onto the workload and configure SSH for pulling from a private repository.