Skip to content

Commit 35d93ee

Browse files
Update gpu-memory-swap.md
1 parent bbf99d9 commit 35d93ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Researcher/scheduling/gpu-memory-swap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The example above uses `100Gi` as the size of the swap memory.
6464
You can also use the `patch` command from your terminal:
6565

6666
``` yaml
67-
kubectl patch -n runai runaiconfigs.run.ai/runai --type='merge' --patch '{"spec":{"global":{"core":{"swap":{"enabled": true}}}}}'
67+
kubectl patch -n runai runaiconfigs.run.ai/runai --type='merge' --patch '{"spec":{"global":{"core":{"swap":{"enabled": true, "limits": {"cpuRam": "100Gi"}}}}}}'
6868
```
6969

7070
To make a workload swappable, a number of conditions must be met:

0 commit comments

Comments
 (0)