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
I've done some profiling and find that decoding generated tokens one by one costs a lot (20% ~ 30% of total costs). Is there some work we can do to optimize this ?
PS: I've tried to decode generated tokens parallelly by process pool. But it works worse due to high overhead of cross-process conmunications.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've done some profiling and find that decoding generated tokens one by one costs a lot (20% ~ 30% of total costs). Is there some work we can do to optimize this ?
PS: I've tried to decode generated tokens parallelly by process pool. But it works worse due to high overhead of cross-process conmunications.
Beta Was this translation helpful? Give feedback.
All reactions