Skip to content

Commit

Permalink
add warning (#1959)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpatel2000 authored Feb 9, 2023
1 parent 5be8642 commit da420d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/trainer/checkpointing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,10 @@ This will load the first epoch's checkpoints from GCS and resume training in the
Note: For GCS, remember to input your `HMAC access id and secret <https://cloud.google.com/storage/docs/authentication/hmackeys/>`__
to the environment variables ``GCS_KEY`` and ``GCS_SECRET`` respectively or the save operation will fail.

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


API Reference
-------------
Expand Down

0 comments on commit da420d0

Please sign in to comment.