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: examples/lifelong_learning/cityscapes/cityscapes-segmentation-lifelong-learning-tutorial.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -211,6 +211,23 @@ spec:
211
211
EOF
212
212
```
213
213
214
+
### GPU enabled (optional)
215
+
If you want GPU to accelerate training or inference in Sedna, you can follow the steps below to enable GPU:
216
+
217
+
> 1. Follow the instructions in [nvidia-device-plugin](https://github.com/NVIDIA/k8s-device-plugin#quick-start) to make nvidia-docker to be docker runtime.
218
+
> 2. Set config `devicePluginEnabled` to `true` and restart edgecore in the gpu edge node.
219
+
> 3. Deploy the [device-plugin daemonset](https://github.com/NVIDIA/k8s-device-plugin#enabling-gpu-support-in-kubernetes) and check the device-plugin-pod running status in the gpu edge node.
220
+
> 4. Check the capacity and allocatable of gpu edge node status.
221
+
> 5. Deploy the [cuda-add pod](https://github.com/NVIDIA/k8s-device-plugin#enabling-gpu-support-in-kubernetes), and wait some time for the pod to be running since the size of cuda-add image is 1.97GB.
222
+
> 6. Check the cuda-add pod status, the log of "Test PASSED" means the gpu is enabled successfully.
223
+
224
+
The disscussion can be found in this [issue](https://github.com/kubeedge/kubeedge/issues/2324#issuecomment-726645832)
225
+
226
+
When GPU plugin has been enabled, you can use the [robot-dog-delivery-gpu.yaml](./yaml/robot-dog-delivery-gpu.yaml) configuration to create and run lifelong learning job.
227
+
228
+
To enable GPU in other Sedna features can be similarly configured like the above steps.
0 commit comments