runGpuPipeline

private suspend fun runGpuPipeline(pipeline: Pipeline, envContext: DockerContext = DockerContext()): Runner

Same as runNoDepsPipeline, but instead runs the pipeline with a specified GPU attached to it.

If DockerContext.RequestedSystemResources has no GPU enabled, it will mount any GPU into the container.

See also