Skip to content

Add eviction writeback callback to FeatureEvict (#5832)#5832

Closed
lizhe-ji wants to merge 1 commit into
pytorch:mainfrom
lizhe-ji:export-D107491725
Closed

Add eviction writeback callback to FeatureEvict (#5832)#5832
lizhe-ji wants to merge 1 commit into
pytorch:mainfrom
lizhe-ji:export-D107491725

Conversation

@lizhe-ji

@lizhe-ji lizhe-ji commented Jun 4, 2026

Copy link
Copy Markdown

Summary:

X-link: https://github.com/facebookresearch/FBGEMM/pull/2754

Add EvictionWritebackCallback type and wire it through FeatureEvict eviction loops. When a dirty block is evicted from DRAM, its data is serialized and passed to the callback for writeback to SSD. The callback is invoked after releasing the DRAM shard lock to avoid holding locks during SSD I/O.

Reviewed By: EddyLXJ

Differential Revision: D107491725

@meta-cla meta-cla Bot added the cla signed label Jun 4, 2026
@lizhe-ji
lizhe-ji force-pushed the export-D107491725 branch from 5599df8 to c156d29 Compare June 4, 2026 19:21
@meta-codesync meta-codesync Bot changed the title Add eviction writeback callback to FeatureEvict Add eviction writeback callback to FeatureEvict (#5832) Jun 4, 2026
@lizhe-ji
lizhe-ji force-pushed the export-D107491725 branch from c156d29 to 11d0d0d Compare June 4, 2026 21:40
lizhe-ji pushed a commit to lizhe-ji/FBGEMM-1 that referenced this pull request Jun 4, 2026
Summary:

X-link: facebookresearch/FBGEMM#2754

Add EvictionWritebackCallback type and wire it through FeatureEvict eviction loops. When a dirty block is evicted from DRAM, its data is serialized and passed to the callback for writeback to SSD. The callback is invoked after releasing the DRAM shard lock to avoid holding locks during SSD I/O.

Differential Revision: D107491725
@lizhe-ji
lizhe-ji force-pushed the export-D107491725 branch from 11d0d0d to 6c0c5cb Compare June 5, 2026 01:18
lizhe-ji pushed a commit to lizhe-ji/FBGEMM-1 that referenced this pull request Jun 5, 2026
Summary:

X-link: facebookresearch/FBGEMM#2754

Add EvictionWritebackCallback type and wire it through FeatureEvict eviction loops. When a dirty block is evicted from DRAM, its data is serialized and passed to the callback for writeback to SSD. The callback is invoked after releasing the DRAM shard lock to avoid holding locks during SSD I/O.

Differential Revision: D107491725
lizhe-ji pushed a commit to lizhe-ji/FBGEMM-1 that referenced this pull request Jun 9, 2026
Summary:

X-link: facebookresearch/FBGEMM#2754

Add EvictionWritebackCallback type and wire it through FeatureEvict eviction loops. When a dirty block is evicted from DRAM, its data is serialized and passed to the callback for writeback to SSD. The callback is invoked after releasing the DRAM shard lock to avoid holding locks during SSD I/O.

Differential Revision: D107491725
@lizhe-ji
lizhe-ji force-pushed the export-D107491725 branch from 6c0c5cb to 1628c1e Compare June 9, 2026 04:31
lizhe-ji pushed a commit to lizhe-ji/FBGEMM-1 that referenced this pull request Jun 11, 2026
Summary:

X-link: facebookresearch/FBGEMM#2754

Add EvictionWritebackCallback type and wire it through FeatureEvict eviction loops. When a dirty block is evicted from DRAM, its data is serialized and passed to the callback for writeback to SSD. The callback is invoked after releasing the DRAM shard lock to avoid holding locks during SSD I/O.

Differential Revision: D107491725
@lizhe-ji
lizhe-ji force-pushed the export-D107491725 branch from 1628c1e to 524325d Compare June 11, 2026 00:21
lizhe-ji pushed a commit to lizhe-ji/FBGEMM-1 that referenced this pull request Jun 11, 2026
Summary:

X-link: facebookresearch/FBGEMM#2754

Add EvictionWritebackCallback type and wire it through FeatureEvict eviction loops. When a dirty block is evicted from DRAM, its data is serialized and passed to the callback for writeback to SSD. The callback is invoked after releasing the DRAM shard lock to avoid holding locks during SSD I/O.

Differential Revision: D107491725
@lizhe-ji
lizhe-ji force-pushed the export-D107491725 branch 2 times, most recently from bf7002d to 4366eff Compare June 13, 2026 07:22
lizhe-ji pushed a commit to lizhe-ji/FBGEMM-1 that referenced this pull request Jun 13, 2026
Summary:

X-link: facebookresearch/FBGEMM#2754

Add EvictionWritebackCallback type and wire it through FeatureEvict eviction loops. When a dirty block is evicted from DRAM, its data is serialized and passed to the callback for writeback to SSD. The callback is invoked after releasing the DRAM shard lock to avoid holding locks during SSD I/O.

Reviewed By: EddyLXJ

Differential Revision: D107491725
Summary:

X-link: facebookresearch/FBGEMM#2754

Add EvictionWritebackCallback type and wire it through FeatureEvict eviction loops. When a dirty block is evicted from DRAM, its data is serialized and passed to the callback for writeback to SSD. The callback is invoked after releasing the DRAM shard lock to avoid holding locks during SSD I/O.

Reviewed By: EddyLXJ

Differential Revision: D107491725
@lizhe-ji
lizhe-ji force-pushed the export-D107491725 branch from 4366eff to 8b934a9 Compare June 15, 2026 18:09
@meta-codesync meta-codesync Bot closed this in 1eab597 Jun 16, 2026
@meta-codesync meta-codesync Bot added the Merged label Jun 16, 2026
@meta-codesync

meta-codesync Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This pull request has been merged in 1eab597.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants