Skip to content

Conversation

1darshanpatil
Copy link

@1darshanpatil 1darshanpatil commented Apr 2, 2023

#Refactored rank_specific functions.
#Implemented the logic without changing the behavior.
#The readability and maintainability of the code improved.

Tested against:
test_torch_logging.py

#Refactored rank_specific functions.
#Implemented the logic without changing the behavior.
#The readability and maintainability of the code improved.
-------------------------
Tested against:
test_torch_logging.py
@CLAassistant
Copy link

CLAassistant commented Apr 2, 2023

CLA assistant check
All committers have signed the CLA.

optimizer selection logic for improved readability and maintainability.
used the any function to short-circuit the loop as soon as an empty tensor is found.
@1darshanpatil
Copy link
Author

used the any function to short-circuit the loop as soon as an empty tensor is found.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants