Skip to content

Commit 0260619

Browse files
committed
misc
1 parent 9dd3e3e commit 0260619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

checkpoint_engine/ps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -986,8 +986,8 @@ def register_checkpoint(
986986
use_shared_memory_pool: If True, uses a reusable shared pin memory pool instead of allocating new memory.
987987
Only one checkpoint can use the shared pool at a time. The pool's shape is fixed on first use and
988988
cannot accommodate checkpoints with different memory requirements.
989-
To free the shared pool for checkpoints with different shapes,
990-
unregister the current user of the shared memory pool using `unregister_checkpoint` with `force=True`.
989+
To free the actual memory of the shared pool or to modify its shape,
990+
please unregister the current user of the shared memory pool using `unregister_checkpoint` with `force=True`.
991991
"""
992992
try:
993993
if use_shared_memory_pool:

0 commit comments

Comments
 (0)