You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently i discovered that jTransUP paddingItems function has performance issue in mine project at evaluating stage: we should iterate through whole range of items in loop however it could be done with LongTensor without iterating at all if i_map, new_map containing whole range of items without spaces.
In my case there is some difference in function. However, fixing such small thing reduce time for evaluating from 15 minutes to 20 seconds. My padding function.
Thank you for pointing out the performance issue in the paddingItems function. I recently encountered a similar issue in my project, where iterating over the entire item range caused significant delays during the evaluation stage. By modifying the function to utilize LongTensor without iterating over the range, I was able to eliminate the performance bottleneck.
Recently i discovered that jTransUP paddingItems function has performance issue in mine project at evaluating stage: we should iterate through whole range of items in loop however it could be done with LongTensor without iterating at all if i_map, new_map containing whole range of items without spaces.
In my case there is some difference in function. However, fixing such small thing reduce time for evaluating from 15 minutes to 20 seconds. My padding function.
Also there is TODO to simplify init stage, which possibly can be fixed with my initialisation function for embedding.
The text was updated successfully, but these errors were encountered: