-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor and Extend Logging, Error Handling, and Context Passing
This commit encompasses a number of changes primarily aimed at enhancing logging, error handling, and context passing across various modules. Key changes include: Introduced logging to MPC and Toy classes to better trace and debug the code execution. Extended error handling to provide more informative error messages and ensure robustness. Refactored context passing in arithmetic operations to ensure consistency and clarity. Removed DistributedArithmeticSharedTensor as it was no longer needed. Added new utility functions for more efficient tensor operations and random number generation, enhancing code modularity and readability. Improved handling of tensor operations in DTensor to better support in-place operations and tensor metadata extraction. These changes collectively enhance the code maintainability, ease debugging, and ensure better error handling across the codebase, particularly in the MPC module and arithmetic operations. Signed-off-by: sagewe <wbwmat@gmail.com>
- Loading branch information
Showing
15 changed files
with
195 additions
and
721 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
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
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
Oops, something went wrong.