Skip to content

Commit da420d0

Browse files
authored
add warning (#1959)
1 parent 5be8642 commit da420d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/source/trainer/checkpointing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,10 @@ This will load the first epoch's checkpoints from GCS and resume training in the
549549
Note: For GCS, remember to input your `HMAC access id and secret <https://cloud.google.com/storage/docs/authentication/hmackeys/>`__
550550
to the environment variables ``GCS_KEY`` and ``GCS_SECRET`` respectively or the save operation will fail.
551551

552+
.. warning::
553+
Do not load checkpoints from untrusted sources as they may contain malicious code.
554+
Users should ensure the proper sanity checks are in place before loading checkpoints.
555+
552556

553557
API Reference
554558
-------------

0 commit comments

Comments
 (0)