mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
[Docker] Automagically add "runtime=nvidia" (#11125)
This commit is contained in:
@@ -32,8 +32,7 @@ docker:
|
||||
|
||||
# Example of running a GPU head with CPU workers
|
||||
# head_image: "rayproject/ray:0.8.7-gpu"
|
||||
# head_run_options:
|
||||
# - --runtime=nvidia
|
||||
# Allow Ray to automatically detect GPUs
|
||||
|
||||
# worker_image: "rayproject/ray:0.8.7"
|
||||
# worker_run_options: []
|
||||
|
||||
@@ -25,16 +25,11 @@ autoscaling_mode: default
|
||||
docker:
|
||||
image: "rayproject/ray:0.8.7-gpu"
|
||||
container_name: "ray-nvidia-docker-test" # e.g. ray_docker
|
||||
run_options:
|
||||
- --runtime=nvidia
|
||||
|
||||
# # Example of running a GPU head with CPU workers
|
||||
# head_image: "rayproject/ray:0.8.7-gpu"
|
||||
# head_run_options:
|
||||
# - --runtime=nvidia
|
||||
|
||||
# worker_image: "rayproject/ray:0.8.7"
|
||||
# worker_run_options: []
|
||||
|
||||
# The autoscaler will scale up the cluster to this target fraction of resource
|
||||
# usage. For example, if a cluster of 10 nodes is 100% busy and
|
||||
|
||||
@@ -37,11 +37,8 @@ docker:
|
||||
|
||||
# Example of running a GPU head with CPU workers
|
||||
# head_image: "rayproject/ray:0.8.7-gpu"
|
||||
# head_run_options:
|
||||
# - --runtime=nvidia
|
||||
|
||||
# worker_image: "rayproject/ray:0.8.7"
|
||||
# worker_run_options: []
|
||||
|
||||
# The autoscaler will scale up the cluster to this target fraction of resource
|
||||
# usage. For example, if a cluster of 10 nodes is 100% busy and
|
||||
|
||||
Reference in New Issue
Block a user