-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Unit test for PEA FX Tracable (#2368)
Summary: Pull Request resolved: #2368 In converting VLE to TBE to use TorchRec Eager Mode Transform, we realized that the underlying PEA module is not FX tracable. This adds a unit test to check if the sharded, quant PEA module is FX tracable - Main changes: 1. An almost identical copy of the existing FX trace unit test for EBC, following D42192307. This test will trace over the Quantized, sharded PEA module 2. A new method to generate a model & inputs with a Sparse Arch that is a Quantized, Sharded PEA. This will be used for the Fx Trace unit test. Reviewed By: PaulZhang12 Differential Revision: D61943896 fbshipit-source-id: f563fc4dea2518a1aaf858811fa50916e4c785a4
- Loading branch information
1 parent
906cc26
commit 4abc147
Showing
2 changed files
with
32 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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