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
refactor: use pooler utility functions to avoid duplicate code
Use build_output and get_prompt_lens from pooler.py instead of
implementing duplicate logic:
- Replace manual PoolerOutput construction with build_output
- Replace prompt length extraction logic with get_prompt_lens
- Remove unused imports (PoolingSequenceGroupOutput, PoolingTensors)
This addresses the review feedback to avoid duplicate code.
Signed-off-by: Sigrid Jin (Sionic AI) <sigrid@sionic.ai>
0 commit comments