Skip to content

Commit d5275b7

Browse files
authored
fix predict for colocate mode (#10373)
1 parent e67789d commit d5275b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llm/alignment/ppo/utils/infer_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def create_predictor(trainer: Trainer):
142142
append_attn=True, # currently only support append_attn
143143
inference_model=True,
144144
dtype=trainer.amp_dtype,
145+
output_via_mq=False,
145146
)
146147
model_args = ModelArgument()
147148
config = copy.deepcopy(trainer.model.config)

0 commit comments

Comments
 (0)