Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions slime/rollout/sglang_rollout.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,10 @@ async def generate_rollout_async(

state = GenerateState(args)

# GenerateState is a singleton; submit_generate_tasks dispatches with self.args, so refresh per
# call — otherwise a prior rollout's args (e.g. eval's group_rm=False) leak into the next one.
state.args = args

# instantiate data filters
dynamic_filter = (
load_function(args.dynamic_sampling_filter_path) if args.dynamic_sampling_filter_path is not None else None
Expand Down
Loading