Skip to content

Commit 16b3919

Browse files
authored
set weights_only=False for load_debug_rollout_data (THUDM#680)
1 parent 2f39101 commit 16b3919

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

slime/ray/rollout.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def _get_rollout_data(self, rollout_id):
129129
if self.args.load_debug_rollout_data:
130130
data = torch.load(
131131
open(self.args.load_debug_rollout_data.format(rollout_id=rollout_id), "rb"),
132+
weights_only=False,
132133
)["samples"]
133134
data = [Sample.from_dict(sample) for sample in data]
134135
if (ratio := self.args.load_debug_rollout_data_subsample) is not None:

0 commit comments

Comments
 (0)