Repository navigation
[FEA] Add a standalone TorchRec resolved-row lookup adapter - #560
Draft
WEIXILIN0307 wants to merge 2 commits into
Draft
WEIXILIN0307 wants to merge 2 commits into
WEIXILIN0307 wants to merge 2 commits into
Conversation
Signed-off-by: WEIXILIN <[email protected]>
Preserve upstream557 admission/counters and548 FP8/gradient/offset semantics. Validation manifests identify exact source/native hashes. Signed-off-by: WEIXILIN <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Provide forward Dense/EC/EBC over explicit rows and weights without taking optimizer ownership. This is an independent upstream Draft.
Problem
A standalone row adapter must be verifiable without receiver/sharding integration.
Changes
Scope / Out of Scope
Resolved lookup adapter only. Additional backends/layouts belong to their separate previews. Real network PS, NVLink/GIN and a complete combination matrix are not certified here. 563 is an independent existing-main failure fix; generic service transactions are not promised.
Validation
306 standalone constructed-row cases passed. Local packages match current Docker tags: PyTorch 2.13/cu130, FBGEMM 1.8, TorchRec v1.8.0-rc1 on SM120. Native/JIT was freshly built from current source. Current integrated 551 reports 865/6 per rank, but each prefix keeps its own evidence. Exact tested/published heads, documentation-only successors, source hashes and all commands: PR_VALIDATION_MATRIX.md. Root pre-commit passes; direct package mypy retains baseline errors without new normalized diagnostics. No CI/full-container pass is inferred.
Performance
No blanket throughput gain. Measured main regressions remain; the separate raw compatibility slice has isolated 11–12.7% raw improvement. PERFORMANCE_REPORT.md distinguishes measured commits, before/after controls and subsequent refusal-only changes. No isolated speedup is attributed to this prefix without its own measurement.
Dependencies / Follow-ups
Base: current main. Full ownership and actual base hashes: PR_SPLIT_PLAN.md. Design: #552; integration: #551. Keep Draft pending maintainer/CI/performance/deployment gates; this does not close #459.