4 Commits

Author SHA1 Message Date
Darshan P
1c0d0499ff Early exit
used the any function to short-circuit the loop as soon as an empty tensor is found.
2023-04-03 16:00:13 +00:00
Darshan P
c4c5072402 escaped conditional trap with for loop
optimizer selection logic for improved readability and maintainability.
2023-04-02 20:30:06 +00:00
Darshan P
ca8db6ddf4 Refactored rank-specific logger
#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
2023-04-02 18:19:39 +00:00
twitter-team
78c3235eee Twitter's Recommendation Algorithm - Heavy Ranker and TwHIN embeddings 2023-03-31 13:05:14 -05:00