Repository navigation
fix: allow nested responses create params overrides - #827
Merged
Merged
Conversation
Signed-off-by: Christian Munley <[email protected]>
Signed-off-by: Christian Munley <[email protected]>
Signed-off-by: Christian Munley <[email protected]>
bxyu-nvidia
approved these changes
Mar 6, 2026
gwarmstrong
pushed a commit
that referenced
this pull request
Mar 9, 2026
when I use:
+responses_create_params.reasoning.effort=high
I get
```
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/sanyamk/code/sanyamk/bixbench/Gym/nemo_gym/rollout_collection.py", line 245, in run_from_config
f.write(orjson.dumps(row) + b"\n")
```
this resolves it:
```
(Gym-35) cmunley@yoda:~/Gym-35$ ng_collect_rollouts +agent_name=reasoning_gym_simple_agent +input_jsonl_fpath=resources_servers/reasoning_gym/data/example.jsonl +output_jsonl_fpath=results/reasoning_gym_rollouts.jsonl +limit=1 +responses_create_params.reasoning.effort=low
Limiting the number of rows to 1
Using `reasoning_gym_simple_agent` for rows that do not already have an agent ref
Overriding responses_create_params fields with {'reasoning': {'effort': 'low'}}
Repeating rows 1 times (in a pattern of abc to aabbcc)!
Reading rows: 0it [00:00, ?it/s]
Clearing output fpath since `resume_from_cache=False`!
INFO: 127.0.0.1:50420 - "GET /global_config_dict_yaml HTTP/1.1" 200 OK
Collecting rollouts: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:04<00:00, 4.05s/it]
Agent level metrics (mean only):
[
{
"agent_ref": {
"name": "reasoning_gym_simple_agent"
},
"mean/reward": 0.0,
"mean/score": 0.0,
"mean/input_tokens": 208.0,
"mean/output_tokens": 312.0,
"mean/total_tokens": 520.0
}
]
Finished rollout collection! View results at:
Fully materialized inputs: results/reasoning_gym_rollouts_materialized_inputs.jsonl
Rollouts: results/reasoning_gym_rollouts.jsonl
Reward profiling outputs: results/reasoning_gym_rollouts_reward_profiling.jsonl
Agent-level metrics: results/reasoning_gym_rollouts_agent_metrics.json
```
---------
Signed-off-by: Christian Munley <[email protected]>
Signed-off-by: George Armstrong <[email protected]>
vadam5
pushed a commit
that referenced
this pull request
Mar 10, 2026
when I use:
+responses_create_params.reasoning.effort=high
I get
```
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/sanyamk/code/sanyamk/bixbench/Gym/nemo_gym/rollout_collection.py", line 245, in run_from_config
f.write(orjson.dumps(row) + b"\n")
```
this resolves it:
```
(Gym-35) cmunley@yoda:~/Gym-35$ ng_collect_rollouts +agent_name=reasoning_gym_simple_agent +input_jsonl_fpath=resources_servers/reasoning_gym/data/example.jsonl +output_jsonl_fpath=results/reasoning_gym_rollouts.jsonl +limit=1 +responses_create_params.reasoning.effort=low
Limiting the number of rows to 1
Using `reasoning_gym_simple_agent` for rows that do not already have an agent ref
Overriding responses_create_params fields with {'reasoning': {'effort': 'low'}}
Repeating rows 1 times (in a pattern of abc to aabbcc)!
Reading rows: 0it [00:00, ?it/s]
Clearing output fpath since `resume_from_cache=False`!
INFO: 127.0.0.1:50420 - "GET /global_config_dict_yaml HTTP/1.1" 200 OK
Collecting rollouts: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:04<00:00, 4.05s/it]
Agent level metrics (mean only):
[
{
"agent_ref": {
"name": "reasoning_gym_simple_agent"
},
"mean/reward": 0.0,
"mean/score": 0.0,
"mean/input_tokens": 208.0,
"mean/output_tokens": 312.0,
"mean/total_tokens": 520.0
}
]
Finished rollout collection! View results at:
Fully materialized inputs: results/reasoning_gym_rollouts_materialized_inputs.jsonl
Rollouts: results/reasoning_gym_rollouts.jsonl
Reward profiling outputs: results/reasoning_gym_rollouts_reward_profiling.jsonl
Agent-level metrics: results/reasoning_gym_rollouts_agent_metrics.json
```
---------
Signed-off-by: Christian Munley <[email protected]>
Signed-off-by: George Armstrong <[email protected]>
mahanfathi
pushed a commit
that referenced
this pull request
Mar 24, 2026
when I use:
+responses_create_params.reasoning.effort=high
I get
```
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/sanyamk/code/sanyamk/bixbench/Gym/nemo_gym/rollout_collection.py", line 245, in run_from_config
f.write(orjson.dumps(row) + b"\n")
```
this resolves it:
```
(Gym-35) cmunley@yoda:~/Gym-35$ ng_collect_rollouts +agent_name=reasoning_gym_simple_agent +input_jsonl_fpath=resources_servers/reasoning_gym/data/example.jsonl +output_jsonl_fpath=results/reasoning_gym_rollouts.jsonl +limit=1 +responses_create_params.reasoning.effort=low
Limiting the number of rows to 1
Using `reasoning_gym_simple_agent` for rows that do not already have an agent ref
Overriding responses_create_params fields with {'reasoning': {'effort': 'low'}}
Repeating rows 1 times (in a pattern of abc to aabbcc)!
Reading rows: 0it [00:00, ?it/s]
Clearing output fpath since `resume_from_cache=False`!
INFO: 127.0.0.1:50420 - "GET /global_config_dict_yaml HTTP/1.1" 200 OK
Collecting rollouts: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:04<00:00, 4.05s/it]
Agent level metrics (mean only):
[
{
"agent_ref": {
"name": "reasoning_gym_simple_agent"
},
"mean/reward": 0.0,
"mean/score": 0.0,
"mean/input_tokens": 208.0,
"mean/output_tokens": 312.0,
"mean/total_tokens": 520.0
}
]
Finished rollout collection! View results at:
Fully materialized inputs: results/reasoning_gym_rollouts_materialized_inputs.jsonl
Rollouts: results/reasoning_gym_rollouts.jsonl
Reward profiling outputs: results/reasoning_gym_rollouts_reward_profiling.jsonl
Agent-level metrics: results/reasoning_gym_rollouts_agent_metrics.json
```
---------
Signed-off-by: Christian Munley <[email protected]>
jsw-zorro
pushed a commit
to niletron/Gym
that referenced
this pull request
Apr 7, 2026
when I use:
+responses_create_params.reasoning.effort=high
I get
```
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/sanyamk/code/sanyamk/bixbench/Gym/nemo_gym/rollout_collection.py", line 245, in run_from_config
f.write(orjson.dumps(row) + b"\n")
```
this resolves it:
```
(Gym-35) cmunley@yoda:~/Gym-35$ ng_collect_rollouts +agent_name=reasoning_gym_simple_agent +input_jsonl_fpath=resources_servers/reasoning_gym/data/example.jsonl +output_jsonl_fpath=results/reasoning_gym_rollouts.jsonl +limit=1 +responses_create_params.reasoning.effort=low
Limiting the number of rows to 1
Using `reasoning_gym_simple_agent` for rows that do not already have an agent ref
Overriding responses_create_params fields with {'reasoning': {'effort': 'low'}}
Repeating rows 1 times (in a pattern of abc to aabbcc)!
Reading rows: 0it [00:00, ?it/s]
Clearing output fpath since `resume_from_cache=False`!
INFO: 127.0.0.1:50420 - "GET /global_config_dict_yaml HTTP/1.1" 200 OK
Collecting rollouts: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:04<00:00, 4.05s/it]
Agent level metrics (mean only):
[
{
"agent_ref": {
"name": "reasoning_gym_simple_agent"
},
"mean/reward": 0.0,
"mean/score": 0.0,
"mean/input_tokens": 208.0,
"mean/output_tokens": 312.0,
"mean/total_tokens": 520.0
}
]
Finished rollout collection! View results at:
Fully materialized inputs: results/reasoning_gym_rollouts_materialized_inputs.jsonl
Rollouts: results/reasoning_gym_rollouts.jsonl
Reward profiling outputs: results/reasoning_gym_rollouts_reward_profiling.jsonl
Agent-level metrics: results/reasoning_gym_rollouts_agent_metrics.json
```
---------
Signed-off-by: Christian Munley <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
when I use:
+responses_create_params.reasoning.effort=high
I get
this resolves it: