v0.0.30
Highlights
[Alpha] On-demand Docker Clusters
This release adds support for using a base Docker image in conjunction with an on-demand cluster. By specifying the image_id
field in the format docker:<registry>/<image>:<tag>
in the cluster factory, the corresponding Docker container will be downloaded when the cluster is launched. The Runhouse server is then started inside the Docker container, ensuring that anything that goes through Runhouse will be run inside the container environment.
For more information on usage, such as setting up environment variables for using private Docker registries, please refer to the User Guide.
docker_cluster = rh.ondemand_cluster(
name="pytorch_cluster",
image_id="docker:nvcr.io/nvidia/pytorch:23.10-py3",
instance_type="CPU:2+",
provider="aws",
)
docker_cluster.up_if_not()