Skip to content

Commit 91e96c4

Browse files
Merge pull request #925 from JamieWeider72/RUN-12616-gpu-memory-swap-update
GPU memory swap update
2 parents bb26507 + 91e74aa commit 91e96c4

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)