Skip to content

Conversation

@prajjwal1
Copy link
Contributor

Summary:
This diff addresses the following task: T209753398

Currently trained_batches is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 10, 2025
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Nov 10, 2025

@prajjwal1 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D86697665.

prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Nov 11, 2025
…3534)

Summary:

This diff addresses the following task: T209753398

Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Nov 11, 2025
…3534)

Summary:

This diff addresses the following task: T209753398

Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Nov 11, 2025
…3534)

Summary:

This diff addresses the following task: T209753398

Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Nov 11, 2025
…3534)

Summary:

This diff addresses the following task: T209753398

Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Nov 11, 2025
…3534)

Summary:

This diff addresses the following task: T209753398

Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665
@prajjwal1 prajjwal1 force-pushed the export-D86697665 branch 2 times, most recently from eaa4961 to 00a7b69 Compare November 11, 2025 20:30
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Nov 11, 2025
…3534)

Summary:

This diff addresses the following task: T209753398

Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Nov 12, 2025
…3534)

Summary:

This diff addresses the following task: T209753398

Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Nov 12, 2025
…3534)

Summary:

This diff addresses the following task: T209753398

Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Nov 12, 2025
…3534)

Summary:

This diff addresses the following task: T209753398

Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665
…3534)

Summary:

This diff addresses the following task: T209753398

Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.

Differential Revision: D86697665
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant