- Specify a CUDA-enabled parent image in your
DockerSettings
tensorflow/tensorflow:latest-gpu image as detailed in the official TensorFlow documentation or in their DockerHub overview.
- Add ZenML as an explicit pip requirement
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to ensure your pipelines or steps run on GPU-backed hardware
DockerSettingsdocker_settings = DockerSettings(parent_image="pytorch/pytorch:1.12.1-cuda11.3-cudnn8-runtime")
@pipeline(settings={"docker": docker_settings})
def my_pipeline(...):
...
tensorflow/tensorflow:latest-gpu image as detailed in the official TensorFlow documentation or in their DockerHub overview.
docker_settings = DockerSettings(parent_image="pytorch/pytorch:1.12.1-cuda11.3-cudnn8-runtime", requirements=["zenml==0.20.5", "torchvision"])
@pipeline(settings={"docker": docker_settings})
def my_pipeline(...):
...