Skip to content

Commit 6977365

Browse files
committed
doc
1 parent 4f2de47 commit 6977365

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxtext/checkpoint_conversion/to_maxtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ def main(
911911
# Recommendation:
912912
# - Use 'safetensors' as the default. Since transformers 5.8.0, model initialization
913913
# changed and the 'transformers' method may produce different key structures.
914-
# - Use 'transformers' only if explicitly needed for backward-compatible key mapping.
914+
# - Use 'transformers' only if explicitly needed for backward-compatible key mapping (e.g. Gemma3).
915915
if eager_load_method == "transformers":
916916
max_logging.log("Eager load with Transformers backend, from_pretrained with auto dtype")
917917
# For auto mode, loaded dtype is the same as `dtype` specified in config.json (or `torch_dtype` for older version)

0 commit comments

Comments
 (0)