Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions roll/pipeline/agentic/agentic_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ def run(self):
batch.meta_info["global_step"] = global_step
batch.meta_info["_broadcast_non_tensor_batch"] = True
batch.meta_info["loss_mask_keys"] = ["response_mask"]
batch.meta_info["is_offload_optimizer_states_in_train_step"] = self.pipeline_config.is_offload_optimizer_states_in_train_step

if val_future is not None:
val_metrics = val_future.result()
Expand Down
1 change: 1 addition & 0 deletions roll/pipeline/rlvr/rlvr_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ def run(self):
batch.meta_info["global_step"] = global_step
batch.meta_info["_broadcast_non_tensor_batch"] = True
batch.meta_info["loss_mask_keys"] = ['response_mask', 'final_response_mask']
batch.meta_info["is_offload_optimizer_states_in_train_step"] = self.pipeline_config.is_offload_optimizer_states_in_train_step
batch.non_tensor_batch['sample_uuid'] = np.array([str(uuid.uuid4()) for _ in range(batch.batch.shape[0])], dtype=object)
batch.batch["prompt_id"] = torch.arange(batch.batch.batch_size[0], device=batch.batch.device)

Expand Down
Loading