Skip to content

Commit f0d0dd7

Browse files
committed
misc
1 parent 7bb3395 commit f0d0dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchtitan/components/checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class AsyncMode(str, enum.Enum):
5252
# For now, we will manually pop the freqs_cis buffer, as we made this permanent
5353
# temporarily and we don't want to include it in the exported state_dict.
5454
# Context: https://github.com/pytorch/torchtitan/blob/main/torchtitan/models/llama3/model.py#L404
55-
excluded_parameters_for_model_only = {}
55+
excluded_parameters_for_model_only = {"freqs_cis"}
5656

5757

5858
class ModelWrapper(Stateful):

0 commit comments

Comments
 (0)