Skip to content

Concurrent inference test#5316

Closed
hy-NJU wants to merge 1 commit into
pytorch:mainfrom
hy-NJU:export-D90726036
Closed

Concurrent inference test#5316
hy-NJU wants to merge 1 commit into
pytorch:mainfrom
hy-NJU:export-D90726036

Conversation

@hy-NJU

@hy-NJU hy-NJU commented Jan 15, 2026

Copy link
Copy Markdown

Summary:
We set up following kvzch inference test

ConcurrentReads - Tests multiple threads reading the same embeddings concurrently
ConcurrentWrites - Tests multiple threads writing different embeddings concurrently
ConcurrentReadWrite - Tests mixed concurrent read/write operations on overlapping data
ConcurrentWritesSameKey - Tests multiple threads writing to the same key (last writer wins semantics)
ConcurrentBatchOperations - Tests batch operations with multiple indices per read/write
ReadConsistencyDuringWrites - Tests that reads see either the complete old value or complete new value, never a partial update
MaxConcurrency - High contention stress test

Differential Revision: D90726036

Summary:
X-link: facebookresearch/FBGEMM#2308

We set up following kvzch inference test


ConcurrentReads - Tests multiple threads reading the same embeddings concurrently
ConcurrentWrites - Tests multiple threads writing different embeddings concurrently
ConcurrentReadWrite  - Tests mixed concurrent read/write operations on overlapping data
ConcurrentWritesSameKey - Tests multiple threads writing to the same key (last writer wins semantics)
ConcurrentBatchOperations - Tests batch operations with multiple indices per read/write
ReadConsistencyDuringWrites - Tests that reads see either the complete old value or complete new value, never a partial update
MaxConcurrency - High contention stress test

Reviewed By: EddyLXJ, emlin

Differential Revision: D90726036
@meta-codesync

meta-codesync Bot commented Jan 28, 2026

Copy link
Copy Markdown
Contributor

This pull request has been merged in 357c750.

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.

3 participants