Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
2 changes: 1 addition & 1 deletion test/test_cost.py
Original file line number Diff line number Diff line change
Expand Up @@ -9642,7 +9642,7 @@ def test_ppo_value_clipping(
KeyError,
match=f"clip_value is set to {loss_fn.clip_value}, but the key "
"state_value was not found in the input tensordict. "
"Make sure that the value_key passed to PPO exists in "
"Make sure that the.*passed to PPO exists in "
"the input tensordict.",
):
loss = loss_fn(td)
Expand Down
1 change: 0 additions & 1 deletion torchrl/envs/llm/transforms/reason.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ def _step(
Returns:
The modified next_tensordict
"""
print("Reward", next_tensordict["reward"])
# Handle batch dimensions
if next_tensordict.batch_dims >= 1:
ntds = []
Expand Down
Loading