Skip to content

Commit 95637f3

Browse files
authored
[Test] Fix failing test (#3033)
1 parent c8a3eeb commit 95637f3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/test_cost.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9642,7 +9642,7 @@ def test_ppo_value_clipping(
96429642
KeyError,
96439643
match=f"clip_value is set to {loss_fn.clip_value}, but the key "
96449644
"state_value was not found in the input tensordict. "
9645-
"Make sure that the value_key passed to PPO exists in "
9645+
"Make sure that the.*passed to PPO exists in "
96469646
"the input tensordict.",
96479647
):
96489648
loss = loss_fn(td)

torchrl/envs/llm/transforms/reason.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ def _step(
153153
Returns:
154154
The modified next_tensordict
155155
"""
156-
print("Reward", next_tensordict["reward"])
157156
# Handle batch dimensions
158157
if next_tensordict.batch_dims >= 1:
159158
ntds = []

0 commit comments

Comments
 (0)