We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f2de47 commit 6977365Copy full SHA for 6977365
1 file changed
src/maxtext/checkpoint_conversion/to_maxtext.py
@@ -911,7 +911,7 @@ def main(
911
# Recommendation:
912
# - Use 'safetensors' as the default. Since transformers 5.8.0, model initialization
913
# changed and the 'transformers' method may produce different key structures.
914
- # - Use 'transformers' only if explicitly needed for backward-compatible key mapping.
+ # - Use 'transformers' only if explicitly needed for backward-compatible key mapping (e.g. Gemma3).
915
if eager_load_method == "transformers":
916
max_logging.log("Eager load with Transformers backend, from_pretrained with auto dtype")
917
# For auto mode, loaded dtype is the same as `dtype` specified in config.json (or `torch_dtype` for older version)
0 commit comments