You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gpu-sharing/mps/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,18 +9,18 @@ There are multiple ways to enable MPS in a Kubernetes cluster. This README focus
9
9
### Prerequisites
10
10
To use GPU sharing, ensure the following requirements are met:
11
11
* KAI Scheduler is installed and running in your cluster, with gpu-sharing feature enabled.
12
-
2. MPS server is running on all GPU-enabled hosts (`nvidia-cuda-mps-control`), with the `CUDA_MPS_PIPE_DIRECTORY` environment variable set to `/tmp/nvidia-mps`.
12
+
* MPS server is running on all GPU-enabled hosts (`nvidia-cuda-mps-control`), with the `CUDA_MPS_PIPE_DIRECTORY` environment variable set to `/tmp/nvidia-mps`.
13
13
14
-
### MPS Enabled PODs
14
+
### MPS Enabled Pods
15
15
To submit a pod that can share a GPU device and connect to the MPS server, run the following command:
16
16
```
17
17
kubectl apply -f gpu-sharing-with-mps.yaml
18
18
```
19
19
20
-
In the gpu-sharing-with-mps.yaml file, the pod defines an MPS volume using a hostPath set to /tmp/nvidia-smp, which is mounted to the same path within the container.
20
+
In the `gpu-sharing-with-mps.yaml` file, the Pod defines an MPS volume using a hostPath set to `/tmp/nvidia-mps`, which is mounted to the same path within the container.
21
21
22
22
### Configuring MPS
23
-
If the MPS server on the host is configured with a custom `CUDA_MPS_PIPE_DIRECTORY` (e.g., `/other/path`), make sure the same path is mounted in the pod yaml.
23
+
If the MPS server on the host is configured with a custom `CUDA_MPS_PIPE_DIRECTORY` (e.g., `/other/path`), make sure the same path is mounted in the Pod YAML.
24
24
25
25
For additional MPS-related environment variables, refer to the [NVIDIA MPS documentation](https://docs.nvidia.com/deploy/mps/index.html#environment-variables).
0 commit comments