Skip to content

Fix sglang plugin inerator bug - #1621

Open
popojk wants to merge 2 commits into
flyteorg:mainfrom
popojk:fix_sglang_bug
Open

popojk wants to merge 2 commits into
flyteorg:mainfrom
popojk:fix_sglang_bug

Conversation

@popojk

@popojk popojk commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Why

In plugins/sglang/src/flyteplugins/sglang/_model_loader/shim.py _get_weights_iterator, we should use yield instead of return to make the generator work.

Signed-off-by: Alex Wu <c.alexwu@gmail.com>
@popojk
popojk marked this pull request as ready for review September 25, 2026 01:15
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
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.

1 participant