Harryis commited on
Commit
fe987ef
·
verified ·
1 Parent(s): f80d835

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10307.json +61 -0
  2. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10309.json +25 -0
  3. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10319.json +11 -0
  4. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_1032.json +11 -0
  5. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10328.json +11 -0
  6. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10329.json +11 -0
  7. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10331.json +11 -0
  8. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10337.json +37 -0
  9. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_1034.json +11 -0
  10. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10342.json +25 -0
  11. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10344.json +11 -0
  12. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10348.json +11 -0
  13. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10352.json +11 -0
  14. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10355.json +289 -0
  15. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10358.json +25 -0
  16. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_1036.json +9 -0
  17. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10364.json +11 -0
  18. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10370.json +11 -0
  19. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10373.json +11 -0
  20. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10390.json +11 -0
  21. external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10393.json +49 -0
  22. external/webshop-minimal/webshop_minimal.egg-info/requires.txt +15 -0
  23. external/webshop-minimal/webshop_minimal/search_engine/indexes_100k/_1_Lucene90_0.tip +0 -0
  24. external/webshop-minimal/webshop_minimal/search_engine/indexes_100k/_1_Lucene90_0.tmd +0 -0
  25. external/webshop-minimal/webshop_minimal/search_engine/indexes_100k/segments_2 +0 -0
  26. external/webshop-minimal/webshop_minimal/search_engine/indexes_100k/write.lock +0 -0
  27. external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/_1.fnm +0 -0
  28. external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/_1_Lucene90_0.dvm +0 -0
  29. external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/_1_Lucene90_0.tip +0 -0
  30. external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/_1_Lucene90_0.tmd +0 -0
  31. external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/segments_2 +0 -0
  32. external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/write.lock +0 -0
  33. external/webshop-minimal/webshop_minimal/search_engine/resources_1k/documents.jsonl +0 -0
  34. external/webshop-minimal/webshop_minimal/templates/attributes_page.html +58 -0
  35. external/webshop-minimal/webshop_minimal/templates/item_page.html +119 -0
  36. external/webshop-minimal/webshop_minimal/templates/review_page.html +59 -0
  37. external/webshop-minimal/webshop_minimal/templates/search_page.html +34 -0
  38. outputs/2025-11-17/14-46-02/.hydra/config.yaml +752 -0
  39. outputs/2025-11-17/14-46-02/.hydra/hydra.yaml +176 -0
  40. outputs/2025-11-17/14-46-02/.hydra/overrides.yaml +7 -0
  41. outputs/2025-11-17/14-46-02/train.log +0 -0
  42. outputs/2025-11-17/14-48-10/.hydra/hydra.yaml +176 -0
  43. outputs/2025-11-17/14-48-10/.hydra/overrides.yaml +7 -0
  44. outputs/2025-11-17/14-48-50/.hydra/config.yaml +752 -0
  45. outputs/2025-11-17/14-48-50/.hydra/hydra.yaml +176 -0
  46. outputs/2025-11-17/14-48-50/.hydra/overrides.yaml +7 -0
  47. outputs/2025-11-17/14-54-16/.hydra/config.yaml +752 -0
  48. outputs/2025-11-17/14-54-16/.hydra/hydra.yaml +176 -0
  49. outputs/2025-11-17/14-54-16/.hydra/overrides.yaml +7 -0
  50. outputs/2025-11-17/14-54-16/train.log +0 -0
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10307.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10307",
5
+ "error": null,
6
+ "response": {
7
+ "messages": [
8
+ {
9
+ "severity": "warning",
10
+ "pos": {
11
+ "line": 6,
12
+ "column": 43
13
+ },
14
+ "endPos": {
15
+ "line": 6,
16
+ "column": 45
17
+ },
18
+ "data": "unused variable `hx`\nnote: this linter can be disabled with `set_option linter.unusedVariables false`"
19
+ },
20
+ {
21
+ "severity": "warning",
22
+ "pos": {
23
+ "line": 6,
24
+ "column": 56
25
+ },
26
+ "endPos": {
27
+ "line": 6,
28
+ "column": 58
29
+ },
30
+ "data": "unused variable `hy`\nnote: this linter can be disabled with `set_option linter.unusedVariables false`"
31
+ },
32
+ {
33
+ "severity": "warning",
34
+ "pos": {
35
+ "line": 6,
36
+ "column": 69
37
+ },
38
+ "endPos": {
39
+ "line": 6,
40
+ "column": 71
41
+ },
42
+ "data": "unused variable `hz`\nnote: this linter can be disabled with `set_option linter.unusedVariables false`"
43
+ },
44
+ {
45
+ "severity": "warning",
46
+ "pos": {
47
+ "line": 6,
48
+ "column": 82
49
+ },
50
+ "endPos": {
51
+ "line": 6,
52
+ "column": 85
53
+ },
54
+ "data": "unused variable `hx1`\nnote: this linter can be disabled with `set_option linter.unusedVariables false`"
55
+ }
56
+ ],
57
+ "time": 0.494565486907959
58
+ }
59
+ }
60
+ ]
61
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10309.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10309",
5
+ "error": null,
6
+ "response": {
7
+ "messages": [
8
+ {
9
+ "severity": "warning",
10
+ "pos": {
11
+ "line": 6,
12
+ "column": 37
13
+ },
14
+ "endPos": {
15
+ "line": 6,
16
+ "column": 39
17
+ },
18
+ "data": "unused variable `h₁`\nnote: this linter can be disabled with `set_option linter.unusedVariables false`"
19
+ }
20
+ ],
21
+ "time": 0.21155190467834473
22
+ }
23
+ }
24
+ ]
25
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10319.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10319",
5
+ "error": null,
6
+ "response": {
7
+ "time": 2.935084581375122
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_1032.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_1032",
5
+ "error": null,
6
+ "response": {
7
+ "time": 2.950122594833374
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10328.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10328",
5
+ "error": null,
6
+ "response": {
7
+ "time": 1.0923757553100586
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10329.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10329",
5
+ "error": null,
6
+ "response": {
7
+ "time": 0.9089663028717041
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10331.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10331",
5
+ "error": null,
6
+ "response": {
7
+ "time": 0.1696770191192627
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10337.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10337",
5
+ "error": null,
6
+ "response": {
7
+ "messages": [
8
+ {
9
+ "severity": "warning",
10
+ "pos": {
11
+ "line": 28,
12
+ "column": 6
13
+ },
14
+ "endPos": {
15
+ "line": 28,
16
+ "column": 11
17
+ },
18
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
19
+ },
20
+ {
21
+ "severity": "warning",
22
+ "pos": {
23
+ "line": 28,
24
+ "column": 6
25
+ },
26
+ "endPos": {
27
+ "line": 28,
28
+ "column": 11
29
+ },
30
+ "data": "'omega' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
31
+ }
32
+ ],
33
+ "time": 0.8620634078979492
34
+ }
35
+ }
36
+ ]
37
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_1034.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_1034",
5
+ "error": null,
6
+ "response": {
7
+ "time": 3.221609115600586
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10342.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10342",
5
+ "error": null,
6
+ "response": {
7
+ "messages": [
8
+ {
9
+ "severity": "warning",
10
+ "pos": {
11
+ "line": 20,
12
+ "column": 6
13
+ },
14
+ "endPos": {
15
+ "line": 20,
16
+ "column": 20
17
+ },
18
+ "data": "`div_le_div_iff` has been deprecated: use `div_le_div_iff₀` instead"
19
+ }
20
+ ],
21
+ "time": 3.049612283706665
22
+ }
23
+ }
24
+ ]
25
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10344.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10344",
5
+ "error": null,
6
+ "response": {
7
+ "time": 0.33796095848083496
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10348.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10348",
5
+ "error": null,
6
+ "response": {
7
+ "time": 0.23917174339294434
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10352.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10352",
5
+ "error": null,
6
+ "response": {
7
+ "time": 3.581960678100586
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10355.json ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10355",
5
+ "error": null,
6
+ "response": {
7
+ "messages": [
8
+ {
9
+ "severity": "warning",
10
+ "pos": {
11
+ "line": 6,
12
+ "column": 39
13
+ },
14
+ "endPos": {
15
+ "line": 6,
16
+ "column": 40
17
+ },
18
+ "data": "unused variable `h`\nnote: this linter can be disabled with `set_option linter.unusedVariables false`"
19
+ },
20
+ {
21
+ "severity": "warning",
22
+ "pos": {
23
+ "line": 15,
24
+ "column": 4
25
+ },
26
+ "endPos": {
27
+ "line": 15,
28
+ "column": 37
29
+ },
30
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
31
+ },
32
+ {
33
+ "severity": "warning",
34
+ "pos": {
35
+ "line": 17,
36
+ "column": 4
37
+ },
38
+ "endPos": {
39
+ "line": 17,
40
+ "column": 37
41
+ },
42
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
43
+ },
44
+ {
45
+ "severity": "warning",
46
+ "pos": {
47
+ "line": 19,
48
+ "column": 4
49
+ },
50
+ "endPos": {
51
+ "line": 19,
52
+ "column": 37
53
+ },
54
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
55
+ },
56
+ {
57
+ "severity": "warning",
58
+ "pos": {
59
+ "line": 21,
60
+ "column": 4
61
+ },
62
+ "endPos": {
63
+ "line": 21,
64
+ "column": 37
65
+ },
66
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
67
+ },
68
+ {
69
+ "severity": "warning",
70
+ "pos": {
71
+ "line": 23,
72
+ "column": 4
73
+ },
74
+ "endPos": {
75
+ "line": 23,
76
+ "column": 37
77
+ },
78
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
79
+ },
80
+ {
81
+ "severity": "warning",
82
+ "pos": {
83
+ "line": 25,
84
+ "column": 4
85
+ },
86
+ "endPos": {
87
+ "line": 25,
88
+ "column": 37
89
+ },
90
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
91
+ },
92
+ {
93
+ "severity": "warning",
94
+ "pos": {
95
+ "line": 27,
96
+ "column": 4
97
+ },
98
+ "endPos": {
99
+ "line": 27,
100
+ "column": 37
101
+ },
102
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
103
+ },
104
+ {
105
+ "severity": "warning",
106
+ "pos": {
107
+ "line": 29,
108
+ "column": 4
109
+ },
110
+ "endPos": {
111
+ "line": 29,
112
+ "column": 37
113
+ },
114
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
115
+ },
116
+ {
117
+ "severity": "warning",
118
+ "pos": {
119
+ "line": 31,
120
+ "column": 4
121
+ },
122
+ "endPos": {
123
+ "line": 31,
124
+ "column": 37
125
+ },
126
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
127
+ },
128
+ {
129
+ "severity": "warning",
130
+ "pos": {
131
+ "line": 33,
132
+ "column": 4
133
+ },
134
+ "endPos": {
135
+ "line": 33,
136
+ "column": 37
137
+ },
138
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
139
+ },
140
+ {
141
+ "severity": "warning",
142
+ "pos": {
143
+ "line": 35,
144
+ "column": 4
145
+ },
146
+ "endPos": {
147
+ "line": 35,
148
+ "column": 37
149
+ },
150
+ "data": "this tactic is never executed\nnote: this linter can be disabled with `set_option linter.unreachableTactic false`"
151
+ },
152
+ {
153
+ "severity": "warning",
154
+ "pos": {
155
+ "line": 15,
156
+ "column": 4
157
+ },
158
+ "endPos": {
159
+ "line": 15,
160
+ "column": 37
161
+ },
162
+ "data": "'nlinarith [sq_nonneg (u - 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
163
+ },
164
+ {
165
+ "severity": "warning",
166
+ "pos": {
167
+ "line": 17,
168
+ "column": 4
169
+ },
170
+ "endPos": {
171
+ "line": 17,
172
+ "column": 37
173
+ },
174
+ "data": "'nlinarith [sq_nonneg (u + 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
175
+ },
176
+ {
177
+ "severity": "warning",
178
+ "pos": {
179
+ "line": 19,
180
+ "column": 4
181
+ },
182
+ "endPos": {
183
+ "line": 19,
184
+ "column": 37
185
+ },
186
+ "data": "'nlinarith [sq_nonneg (u - 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
187
+ },
188
+ {
189
+ "severity": "warning",
190
+ "pos": {
191
+ "line": 21,
192
+ "column": 4
193
+ },
194
+ "endPos": {
195
+ "line": 21,
196
+ "column": 37
197
+ },
198
+ "data": "'nlinarith [sq_nonneg (u + 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
199
+ },
200
+ {
201
+ "severity": "warning",
202
+ "pos": {
203
+ "line": 23,
204
+ "column": 4
205
+ },
206
+ "endPos": {
207
+ "line": 23,
208
+ "column": 37
209
+ },
210
+ "data": "'nlinarith [sq_nonneg (u - 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
211
+ },
212
+ {
213
+ "severity": "warning",
214
+ "pos": {
215
+ "line": 25,
216
+ "column": 4
217
+ },
218
+ "endPos": {
219
+ "line": 25,
220
+ "column": 37
221
+ },
222
+ "data": "'nlinarith [sq_nonneg (u + 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
223
+ },
224
+ {
225
+ "severity": "warning",
226
+ "pos": {
227
+ "line": 27,
228
+ "column": 4
229
+ },
230
+ "endPos": {
231
+ "line": 27,
232
+ "column": 37
233
+ },
234
+ "data": "'nlinarith [sq_nonneg (u - 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
235
+ },
236
+ {
237
+ "severity": "warning",
238
+ "pos": {
239
+ "line": 29,
240
+ "column": 4
241
+ },
242
+ "endPos": {
243
+ "line": 29,
244
+ "column": 37
245
+ },
246
+ "data": "'nlinarith [sq_nonneg (u + 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
247
+ },
248
+ {
249
+ "severity": "warning",
250
+ "pos": {
251
+ "line": 31,
252
+ "column": 4
253
+ },
254
+ "endPos": {
255
+ "line": 31,
256
+ "column": 37
257
+ },
258
+ "data": "'nlinarith [sq_nonneg (u - 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
259
+ },
260
+ {
261
+ "severity": "warning",
262
+ "pos": {
263
+ "line": 33,
264
+ "column": 4
265
+ },
266
+ "endPos": {
267
+ "line": 33,
268
+ "column": 37
269
+ },
270
+ "data": "'nlinarith [sq_nonneg (u + 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
271
+ },
272
+ {
273
+ "severity": "warning",
274
+ "pos": {
275
+ "line": 35,
276
+ "column": 4
277
+ },
278
+ "endPos": {
279
+ "line": 35,
280
+ "column": 37
281
+ },
282
+ "data": "'nlinarith [sq_nonneg (u - 2 * v)]' tactic does nothing\nnote: this linter can be disabled with `set_option linter.unusedTactic false`"
283
+ }
284
+ ],
285
+ "time": 0.40897583961486816
286
+ }
287
+ }
288
+ ]
289
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10358.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10358",
5
+ "error": null,
6
+ "response": {
7
+ "messages": [
8
+ {
9
+ "severity": "warning",
10
+ "pos": {
11
+ "line": 23,
12
+ "column": 6
13
+ },
14
+ "endPos": {
15
+ "line": 23,
16
+ "column": 20
17
+ },
18
+ "data": "`div_le_div_iff` has been deprecated: use `div_le_div_iff₀` instead"
19
+ }
20
+ ],
21
+ "time": 9.200644969940186
22
+ }
23
+ }
24
+ ]
25
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_1036.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_1036",
5
+ "error": "Lean process timed out",
6
+ "response": null
7
+ }
8
+ ]
9
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10364.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10364",
5
+ "error": null,
6
+ "response": {
7
+ "time": 10.068775177001953
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10370.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10370",
5
+ "error": null,
6
+ "response": {
7
+ "time": 1.1780552864074707
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10373.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10373",
5
+ "error": null,
6
+ "response": {
7
+ "time": 0.3475337028503418
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10390.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10390",
5
+ "error": null,
6
+ "response": {
7
+ "time": 3.3534247875213623
8
+ }
9
+ }
10
+ ]
11
+ }
external/kimina-lean-server/tests/match/output/goedel-lean_workbook_10393.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "custom_id": "lean_workbook_10393",
5
+ "error": null,
6
+ "response": {
7
+ "messages": [
8
+ {
9
+ "severity": "warning",
10
+ "pos": {
11
+ "line": 17,
12
+ "column": 10
13
+ },
14
+ "endPos": {
15
+ "line": 17,
16
+ "column": 31
17
+ },
18
+ "data": "`div_le_div_of_le_left` has been deprecated: use `div_le_div_of_nonneg_left` instead"
19
+ },
20
+ {
21
+ "severity": "warning",
22
+ "pos": {
23
+ "line": 20,
24
+ "column": 10
25
+ },
26
+ "endPos": {
27
+ "line": 20,
28
+ "column": 31
29
+ },
30
+ "data": "`div_le_div_of_le_left` has been deprecated: use `div_le_div_of_nonneg_left` instead"
31
+ },
32
+ {
33
+ "severity": "warning",
34
+ "pos": {
35
+ "line": 23,
36
+ "column": 10
37
+ },
38
+ "endPos": {
39
+ "line": 23,
40
+ "column": 31
41
+ },
42
+ "data": "`div_le_div_of_le_left` has been deprecated: use `div_le_div_of_nonneg_left` instead"
43
+ }
44
+ ],
45
+ "time": 4.283819675445557
46
+ }
47
+ }
48
+ ]
49
+ }
external/webshop-minimal/webshop_minimal.egg-info/requires.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ beautifulsoup4
2
+ cleantext
3
+ flask
4
+ gym
5
+ html2text
6
+ numpy
7
+ pandas
8
+ torch
9
+ rank_bm25
10
+ pyserini
11
+ faiss-cpu
12
+ thefuzz
13
+ gdown
14
+ spacy
15
+ rich
external/webshop-minimal/webshop_minimal/search_engine/indexes_100k/_1_Lucene90_0.tip ADDED
Binary file (3.15 kB). View file
 
external/webshop-minimal/webshop_minimal/search_engine/indexes_100k/_1_Lucene90_0.tmd ADDED
Binary file (276 Bytes). View file
 
external/webshop-minimal/webshop_minimal/search_engine/indexes_100k/segments_2 ADDED
Binary file (154 Bytes). View file
 
external/webshop-minimal/webshop_minimal/search_engine/indexes_100k/write.lock ADDED
File without changes
external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/_1.fnm ADDED
Binary file (343 Bytes). View file
 
external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/_1_Lucene90_0.dvm ADDED
Binary file (133 Bytes). View file
 
external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/_1_Lucene90_0.tip ADDED
Binary file (3.15 kB). View file
 
external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/_1_Lucene90_0.tmd ADDED
Binary file (276 Bytes). View file
 
external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/segments_2 ADDED
Binary file (154 Bytes). View file
 
external/webshop-minimal/webshop_minimal/search_engine/indexes_1k/write.lock ADDED
File without changes
external/webshop-minimal/webshop_minimal/search_engine/resources_1k/documents.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
external/webshop-minimal/webshop_minimal/templates/attributes_page.html ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <link rel="stylesheet" href="{{url_for('static', filename='style.css')}}">
5
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
6
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css ">
7
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
8
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
9
+ <link rel="icon" href="data:,">
10
+ </head>
11
+ <body>
12
+ <div class="container py-5">
13
+ <div class="row top-buffer">
14
+ <div class="col-sm-6">
15
+ <div id="instruction-text" class="text-center">
16
+ <h4>Instruction:<br>{{ instruction_text }}</h4>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ <div class="row top-buffer">
21
+ <form method="post" action="{{url_for('index', session_id=session_id)}}">
22
+ <button type="submit" class="btn btn-success">Back to Search</button>
23
+ </form>
24
+ </div>
25
+ <div class="row top-buffer">
26
+ <form method="post" action="{{url_for('item_page', session_id=session_id, asin=asin, keywords=keywords, page=page, options=options)}}">
27
+ <button type="submit" class="btn btn-primary">&lt; Prev</button>
28
+ </form>
29
+ </div>
30
+ <div class="row top-buffer">
31
+ <div class="col-md-12">
32
+ <div class="row top-buffer">
33
+ <div class="col-sm-6" name="description">
34
+ <div class="card card-body">
35
+ <ul>
36
+ {% for attribute in product_info.Attributes %}
37
+ <li><p class="attribute"> {{attribute}}</p></li>
38
+ {% endfor %}
39
+ </ul>
40
+ </div>
41
+ </div>
42
+ <div class="col-sm-6" name="description">
43
+ <div class="d-flex align-items-center justify-content-between mt-1">
44
+ <h5 class="font-weight-bold my-2 product-category">{{product_info.category}}</h5>
45
+ </div>
46
+ <div class="d-flex align-items-center justify-content-between mt-1">
47
+ <h5 class="font-weight-bold my-2 product-query">{{product_info.query}}</h5>
48
+ </div>
49
+ <div class="d-flex align-items-center justify-content-between mt-1">
50
+ <h5 class="font-weight-bold my-2 product-product_category">{{product_info.product_category}}</h5>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </body>
58
+ </html>
external/webshop-minimal/webshop_minimal/templates/item_page.html ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <link rel="stylesheet" href="{{url_for('static', filename='style.css')}}">
5
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
6
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css ">
7
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
8
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
9
+ <link rel="icon" href="data:,">
10
+ </head>
11
+ <body>
12
+ <div class="container py-5">
13
+ <div class="row top-buffer">
14
+ <div class="col-sm-6">
15
+ <div id="instruction-text" class="text-center">
16
+ <h4>Instruction:<br>{{ instruction_text }}</h4>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ <div class="row top-buffer">
21
+ <form method="post" action="{{url_for('index', session_id=session_id)}}">
22
+ <button type="submit" class="btn btn-success">Back to Search</button>
23
+ </form>
24
+ </div>
25
+ <div class="row top-buffer">
26
+ <form method="post" action="{{url_for('search_results', session_id=session_id, keywords=keywords, page=page)}}">
27
+ <button type="submit" class="btn btn-primary">&lt; Prev</button>
28
+ </form>
29
+ </div>
30
+ <div class="row top-buffer">
31
+ <div class="col-md-4 mb-4 mb-md-0">
32
+ <div class="row top-buffer">
33
+ <img id="product-image" src="{{product_info.MainImage}}" class="item-page-img">
34
+ </div>
35
+ {% for option_name, option_contents in product_info.options.items() %}
36
+ <div class="row top-buffer">
37
+ <h4>{{ option_name }}</h4>
38
+ <div class="radio-toolbar">
39
+ {% for option_content in option_contents %}
40
+ {% set current_options = options.copy() %}
41
+ {% set _ = current_options.update({option_name: option_content}) %}
42
+ {% set url = url_for('item_page', session_id=session_id, asin=asin, keywords=keywords, page=page, options=current_options) %}
43
+ <input type="radio" id="radio_{{ option_name }}{{ loop.index0 }}" name="{{ option_name }}" value="{{ option_content }}" data-url="{{ url }}">
44
+ <label for="radio_{{ option_name }}{{ loop.index0 }}">{{ option_content }}</label>
45
+ {% endfor %}
46
+ </div>
47
+ </div>
48
+ {% endfor %}
49
+ </div>
50
+ <div class="col-md-6">
51
+ <h2>{{product_info.Title}}</h2>
52
+ <h4>Price: {{product_info.Price}}</h4>
53
+ <h4>Rating: {{product_info.Rating}}</h4>
54
+ <div class="row top-buffer">
55
+ <div class="col-sm-3" name="description">
56
+ <form method="post" action="{{ url_for('item_sub_page', session_id=session_id, asin=asin, keywords=keywords, page=page, sub_page='Description', options=options) }}">
57
+ <button class="btn btn-primary" type="submit">Description</button>
58
+ </form>
59
+ </div>
60
+ <div class="col-sm-3" name="bulletpoints">
61
+ <form method="post" action="{{ url_for('item_sub_page', session_id=session_id, asin=asin, keywords=keywords, page=page, sub_page='Features', options=options) }}">
62
+ <button class="btn btn-primary" type="submit">Features</button>
63
+ </form>
64
+ </div>
65
+ <div class="col-sm-3" name="reviews">
66
+ <form method="post" action="{{ url_for('item_sub_page', session_id=session_id, asin=asin, keywords=keywords, page=page, sub_page='Reviews', options=options) }}">
67
+ <button class="btn btn-primary" type="submit">Reviews</button>
68
+ </form>
69
+ </div>
70
+ {% if show_attrs %}
71
+ <div class="col-sm-3" name="attributes">
72
+ <form method="post" action="{{ url_for('item_sub_page', session_id=session_id, asin=asin, keywords=keywords, page=page, sub_page='Attributes', options=options) }}">
73
+ <button class="btn btn-primary" type="submit">Attributes</button>
74
+ </form>
75
+ </div>
76
+ {% endif %}
77
+ </div>
78
+ </div>
79
+ <div class="col-sm-2">
80
+ <div class="row top-buffer">
81
+ <form method="post" action="{{url_for('done', session_id=session_id, asin=asin, options=options )}}">
82
+ <button type="submit" class="btn btn-lg purchase">Buy Now</button>
83
+ </form>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </div>
88
+ </body>
89
+ <script>
90
+ $(document).ready(function() {
91
+ $('input:radio').each(function() {
92
+ //console.log($(this).val());
93
+ let options = JSON.parse(`{{ options | tojson }}`);
94
+ let optionValues = $.map(options, function(value, key) { return value });
95
+ //console.log(optionValues);
96
+ if (optionValues.includes($(this).val())) {
97
+ $(this).prop('checked', true);
98
+
99
+ let option_to_image = JSON.parse(`{{ product_info.option_to_image | tojson }}`);
100
+ // console.log($(this).val());
101
+ // console.log(options);
102
+ // console.log(option_to_image);
103
+ let image_url = option_to_image[$(this).val()];
104
+
105
+ //console.log(image_url);
106
+ if (image_url) {
107
+ $("#product-image").attr("src", image_url);
108
+ }
109
+ }
110
+
111
+ // reload with updated options
112
+ this.addEventListener("click", function() {
113
+ window.location.href = this.dataset.url;
114
+ });
115
+
116
+ });
117
+ });
118
+ </script>
119
+ </html>
external/webshop-minimal/webshop_minimal/templates/review_page.html ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <link rel="stylesheet" href="{{url_for('static', filename='style.css')}}">
5
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
6
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css ">
7
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
8
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
9
+ <link rel="icon" href="data:,">
10
+ </head>
11
+ <body>
12
+ <div class="container py-5">
13
+ <div class="row top-buffer">
14
+ <div class="col-sm-6">
15
+ <div id="instruction-text" class="text-center">
16
+ <h4>Instruction:<br>{{ instruction_text }}</h4>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ <div class="row top-buffer">
21
+ <form method="post" action="{{url_for('index', session_id=session_id)}}">
22
+ <button type="submit" class="btn btn-success">Back to Search</button>
23
+ </form>
24
+ </div>
25
+ <div class="row top-buffer">
26
+ <form method="post" action="{{url_for('item_page', session_id=session_id, asin=asin, keywords=keywords, page=page, options=options)}}">
27
+ <button type="submit" class="btn btn-primary">&lt; Prev</button>
28
+ </form>
29
+ </div>
30
+ <div class="row top-buffer">
31
+ <div class="col-md-12">
32
+ <div class="row top-buffer">
33
+ <div class="col-sm-6" name="reviews">
34
+ <div class="card card-body">
35
+ {% for review in product_info.Reviews %}
36
+ <div class="card">
37
+ <div class="row text-left">
38
+ <h4 class="blue-text mt-3">"{{review.title}}"</h4>
39
+ <p class="text-left">
40
+ <span>{{review.score}}</span>
41
+ {% for i in range(review.score | int) %}
42
+ <span class="fa fa-star star-active"></span>
43
+ {% endfor %}
44
+ {% for i in range(5 - review.score | int) %}
45
+ <span class="fa fa-star star-inactive"></span>
46
+ {% endfor %}
47
+ </p>
48
+ <p class="content">{{review.body}}</p>
49
+ </div>
50
+ </div>
51
+ {% endfor %}
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ </body>
59
+ </html>
external/webshop-minimal/webshop_minimal/templates/search_page.html ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <link rel="stylesheet" href="{{url_for('static', filename='style.css')}}">
5
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
6
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
7
+ <link rel="icon" href="data:,">
8
+ </head>
9
+ <body>
10
+ <!-- Code reference: https://bootsnipp.com/snippets/m13mN -->
11
+ <div class="container" style="margin-top: 8%;">
12
+ <div class="col-md-6 col-md-offset-3">
13
+ <div class="row">
14
+ <div id="logo" class="text-center">
15
+ <h2>WebShop</h2>
16
+ </div>
17
+ <div id="instruction-text" class="text-center">
18
+ <h4>Instruction: <br>{{ instruction_text }}</h4>
19
+ </div>
20
+ <form role="form" id="form-buscar" method="post" action="{{url_for('index', session_id=session_id)}}">
21
+ <div class="form-group">
22
+ <div class="input-group">
23
+ <input id="search_input" class="form-control" type="text" name="search_query" placeholder="Search..." required/>
24
+ <span class="input-group-btn">
25
+ <button class="btn btn-success" type="submit"><i class="glyphicon glyphicon-search" aria-hidden="true"></i>Search</button>
26
+ </span>
27
+ </div>
28
+ </div>
29
+ </form>
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </body>
34
+ </html>
outputs/2025-11-17/14-46-02/.hydra/config.yaml ADDED
@@ -0,0 +1,752 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ actor_rollout_ref:
2
+ actor:
3
+ optim:
4
+ _target_: verl.workers.config.FSDPOptimizerConfig
5
+ lr: 1.0e-06
6
+ lr_warmup_steps_ratio: 0.0
7
+ total_training_steps: -1
8
+ weight_decay: 0.01
9
+ lr_warmup_steps: -1
10
+ betas:
11
+ - 0.9
12
+ - 0.999
13
+ clip_grad: 1.0
14
+ min_lr_ratio: 0.0
15
+ num_cycles: 0.5
16
+ warmup_style: constant
17
+ fsdp_config:
18
+ _target_: verl.workers.config.FSDPEngineConfig
19
+ wrap_policy:
20
+ min_num_params: 0
21
+ param_offload: false
22
+ optimizer_offload: false
23
+ offload_policy: false
24
+ reshard_after_forward: true
25
+ fsdp_size: -1
26
+ forward_prefetch: false
27
+ model_dtype: fp32
28
+ use_orig_params: false
29
+ ulysses_sequence_parallel_size: 1
30
+ entropy_from_logits_with_chunking: false
31
+ use_torch_compile: true
32
+ entropy_checkpointing: false
33
+ forward_only: false
34
+ strategy: fsdp
35
+ _target_: verl.workers.config.FSDPActorConfig
36
+ strategy: fsdp
37
+ ppo_mini_batch_size: ${ppo_mini_batch_size}
38
+ ppo_micro_batch_size: null
39
+ ppo_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
40
+ use_dynamic_bsz: false
41
+ ppo_max_token_len_per_gpu: 16384
42
+ clip_ratio: 0.2
43
+ clip_ratio_low: 0.2
44
+ clip_ratio_high: 0.2
45
+ freeze_vision_tower: false
46
+ policy_loss:
47
+ _target_: verl.workers.config.PolicyLossConfig
48
+ loss_mode: vanilla
49
+ clip_cov_ratio: 0.0002
50
+ clip_cov_lb: 1.0
51
+ clip_cov_ub: 5.0
52
+ kl_cov_ratio: 0.0002
53
+ ppo_kl_coef: 0.1
54
+ clip_ratio_c: 3.0
55
+ loss_agg_mode: token-mean
56
+ entropy_coeff: 0.001
57
+ tis_imp_ratio_cap: -1
58
+ use_kl_loss: false
59
+ use_torch_compile: true
60
+ kl_loss_coef: 0.001
61
+ kl_loss_type: kl
62
+ ppo_epochs: 1
63
+ shuffle: false
64
+ checkpoint:
65
+ _target_: verl.trainer.config.CheckpointConfig
66
+ save_contents:
67
+ - model
68
+ - optimizer
69
+ - extra
70
+ load_contents: ${.save_contents}
71
+ async_save: false
72
+ use_fused_kernels: ${oc.select:actor_rollout_ref.model.use_fused_kernels,false}
73
+ profiler:
74
+ _target_: verl.utils.profiler.ProfilerConfig
75
+ tool: ${oc.select:global_profiler.tool,null}
76
+ enable: false
77
+ all_ranks: false
78
+ ranks: []
79
+ save_path: ${oc.select:global_profiler.save_path,null}
80
+ tool_config:
81
+ nsys:
82
+ _target_: verl.utils.profiler.config.NsightToolConfig
83
+ discrete: ${oc.select:global_profiler.global_tool_config.nsys.discrete}
84
+ npu:
85
+ _target_: verl.utils.profiler.config.NPUToolConfig
86
+ contents: []
87
+ level: level1
88
+ analysis: true
89
+ discrete: false
90
+ torch:
91
+ _target_: verl.utils.profiler.config.TorchProfilerToolConfig
92
+ step_start: 0
93
+ step_end: null
94
+ torch_memory:
95
+ _target_: verl.utils.profiler.config.TorchMemoryToolConfig
96
+ trace_alloc_max_entries: ${oc.select:global_profiler.global_tool_config.torch_memory.trace_alloc_max_entries,100000}
97
+ stack_depth: ${oc.select:global_profiler.global_tool_config.torch_memory.stack_depth,32}
98
+ grad_clip: 1.0
99
+ ulysses_sequence_parallel_size: 1
100
+ entropy_from_logits_with_chunking: false
101
+ entropy_checkpointing: false
102
+ use_remove_padding: ${oc.select:actor_rollout_ref.model.use_remove_padding,false}
103
+ use_ref: true
104
+ grpo_advantage_length_weight: ${grpo_advantage_length_weight}
105
+ ref:
106
+ strategy: ${actor_rollout_ref.actor.strategy}
107
+ use_torch_compile: ${oc.select:actor_rollout_ref.actor.use_torch_compile,true}
108
+ log_prob_micro_batch_size: null
109
+ log_prob_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
110
+ log_prob_use_dynamic_bsz: ${oc.select:actor_rollout_ref.actor.use_dynamic_bsz,false}
111
+ log_prob_max_token_len_per_gpu: ${oc.select:actor_rollout_ref.actor.ppo_max_token_len_per_gpu,16384}
112
+ profiler:
113
+ _target_: verl.utils.profiler.ProfilerConfig
114
+ tool: ${oc.select:global_profiler.tool,null}
115
+ enable: false
116
+ all_ranks: false
117
+ ranks: []
118
+ save_path: ${oc.select:global_profiler.save_path,null}
119
+ tool_config:
120
+ nsys:
121
+ _target_: verl.utils.profiler.config.NsightToolConfig
122
+ discrete: ${oc.select:global_profiler.global_tool_config.nsys.discrete}
123
+ npu:
124
+ _target_: verl.utils.profiler.config.NPUToolConfig
125
+ contents: []
126
+ level: level1
127
+ analysis: true
128
+ discrete: false
129
+ torch:
130
+ _target_: verl.utils.profiler.config.TorchProfilerToolConfig
131
+ step_start: 0
132
+ step_end: null
133
+ torch_memory:
134
+ _target_: verl.utils.profiler.config.TorchMemoryToolConfig
135
+ trace_alloc_max_entries: ${oc.select:global_profiler.global_tool_config.torch_memory.trace_alloc_max_entries,100000}
136
+ stack_depth: ${oc.select:global_profiler.global_tool_config.torch_memory.stack_depth,32}
137
+ fsdp_config:
138
+ _target_: verl.workers.config.FSDPEngineConfig
139
+ wrap_policy:
140
+ min_num_params: 0
141
+ param_offload: false
142
+ optimizer_offload: false
143
+ offload_policy: false
144
+ reshard_after_forward: true
145
+ fsdp_size: -1
146
+ forward_prefetch: false
147
+ model_dtype: fp32
148
+ use_orig_params: false
149
+ ulysses_sequence_parallel_size: 1
150
+ entropy_from_logits_with_chunking: false
151
+ use_torch_compile: true
152
+ entropy_checkpointing: false
153
+ forward_only: false
154
+ strategy: fsdp
155
+ model: null
156
+ ulysses_sequence_parallel_size: ${oc.select:actor_rollout_ref.actor.ulysses_sequence_parallel_size,1}
157
+ entropy_from_logits_with_chunking: false
158
+ entropy_checkpointing: false
159
+ rollout:
160
+ _target_: verl.workers.config.RolloutConfig
161
+ name: vllm
162
+ mode: sync
163
+ temperature: 1
164
+ top_k: -1
165
+ top_p: 1
166
+ prompt_length: 1
167
+ response_length: 400
168
+ dtype: bfloat16
169
+ gpu_memory_utilization: 0.5
170
+ ignore_eos: false
171
+ enforce_eager: true
172
+ cudagraph_capture_sizes: null
173
+ free_cache_engine: true
174
+ tensor_model_parallel_size: 1
175
+ data_parallel_size: 1
176
+ expert_parallel_size: 1
177
+ max_num_batched_tokens: 8192
178
+ max_model_len: 3600
179
+ max_num_seqs: 1024
180
+ enable_chunked_prefill: true
181
+ enable_prefix_caching: true
182
+ load_format: dummy
183
+ log_prob_micro_batch_size: null
184
+ log_prob_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
185
+ log_prob_use_dynamic_bsz: ${oc.select:actor_rollout_ref.actor.use_dynamic_bsz,false}
186
+ log_prob_max_token_len_per_gpu: ${oc.select:actor_rollout_ref.actor.ppo_max_token_len_per_gpu,16384}
187
+ disable_log_stats: true
188
+ do_sample: true
189
+ 'n': 1
190
+ over_sample_rate: 0
191
+ multi_stage_wake_up: false
192
+ engine_kwargs:
193
+ vllm: {}
194
+ sglang: {}
195
+ val_kwargs:
196
+ _target_: verl.workers.config.SamplingConfig
197
+ top_k: -1
198
+ top_p: 1.0
199
+ temperature: 0.5
200
+ 'n': 1
201
+ do_sample: true
202
+ multi_turn:
203
+ _target_: verl.workers.config.MultiTurnConfig
204
+ enable: false
205
+ max_assistant_turns: null
206
+ tool_config_path: null
207
+ max_user_turns: null
208
+ max_parallel_calls: 1
209
+ max_tool_response_length: 256
210
+ tool_response_truncate_side: middle
211
+ interaction_config_path: null
212
+ use_inference_chat_template: false
213
+ tokenization_sanity_check_mode: strict
214
+ format: hermes
215
+ num_repeat_rollouts: null
216
+ calculate_log_probs: false
217
+ agent:
218
+ _target_: verl.workers.config.AgentLoopConfig
219
+ num_workers: 8
220
+ agent_loop_config_path: null
221
+ custom_async_server:
222
+ _target_: verl.workers.config.CustomAsyncServerConfig
223
+ path: null
224
+ name: null
225
+ update_weights_bucket_megabytes: 512
226
+ trace:
227
+ _target_: verl.workers.config.TraceConfig
228
+ backend: null
229
+ token2text: false
230
+ skip_rollout: false
231
+ skip_dump_dir: /tmp/rollout_dump
232
+ skip_tokenizer_init: true
233
+ profiler:
234
+ _target_: verl.utils.profiler.ProfilerConfig
235
+ tool: ${oc.select:global_profiler.tool,null}
236
+ enable: ${oc.select:actor_rollout_ref.actor.profiler.enable,false}
237
+ all_ranks: ${oc.select:actor_rollout_ref.actor.profiler.all_ranks,false}
238
+ ranks: ${oc.select:actor_rollout_ref.actor.profiler.ranks,[]}
239
+ save_path: ${oc.select:global_profiler.save_path,null}
240
+ tool_config: ${oc.select:actor_rollout_ref.actor.profiler.tool_config,null}
241
+ layered_summon: false
242
+ rollout_filter_ratio: 1
243
+ rollout_filter_type: largest
244
+ rollout_filter_metric: reward_variance
245
+ model:
246
+ _target_: verl.workers.config.HFModelConfig
247
+ path: ${model_path}
248
+ hf_config_path: null
249
+ tokenizer_path: null
250
+ use_shm: false
251
+ trust_remote_code: false
252
+ custom_chat_template: null
253
+ external_lib: null
254
+ override_config: {}
255
+ enable_gradient_checkpointing: true
256
+ enable_activation_offload: false
257
+ use_remove_padding: false
258
+ lora_rank: ${lora.rank}
259
+ lora_alpha: ${lora.alpha}
260
+ target_modules: ${lora.target_modules}
261
+ exclude_modules: null
262
+ use_liger: false
263
+ use_fused_kernels: false
264
+ fused_kernel_options:
265
+ impl_backend: torch
266
+ hybrid_engine: true
267
+ nccl_timeout: 600
268
+ data:
269
+ tokenizer: null
270
+ use_shm: false
271
+ train_files: ~/data/rlhf/gsm8k/train.parquet
272
+ val_files: ~/data/rlhf/gsm8k/test.parquet
273
+ prompt_key: prompt
274
+ reward_fn_key: data_source
275
+ max_prompt_length: null
276
+ max_response_length: null
277
+ train_batch_size: null
278
+ val_batch_size: null
279
+ return_raw_input_ids: false
280
+ return_raw_chat: false
281
+ return_full_prompt: false
282
+ shuffle: true
283
+ dataloader_num_workers: 8
284
+ validation_shuffle: false
285
+ filter_overlong_prompts: false
286
+ filter_overlong_prompts_workers: 1
287
+ truncation: error
288
+ image_key: images
289
+ video_key: videos
290
+ trust_remote_code: false
291
+ custom_cls:
292
+ path: null
293
+ name: null
294
+ return_multi_modal_inputs: true
295
+ sampler:
296
+ class_path: null
297
+ class_name: null
298
+ datagen:
299
+ path: null
300
+ name: null
301
+ apply_chat_template_kwargs: {}
302
+ critic:
303
+ optim:
304
+ _target_: verl.workers.config.FSDPOptimizerConfig
305
+ lr: 1.0e-05
306
+ lr_warmup_steps_ratio: 0.0
307
+ total_training_steps: -1
308
+ weight_decay: 0.01
309
+ lr_warmup_steps: -1
310
+ betas:
311
+ - 0.9
312
+ - 0.999
313
+ clip_grad: 1.0
314
+ min_lr_ratio: 0.0
315
+ num_cycles: 0.5
316
+ warmup_style: constant
317
+ model:
318
+ fsdp_config:
319
+ _target_: verl.workers.config.FSDPEngineConfig
320
+ wrap_policy:
321
+ min_num_params: 0
322
+ param_offload: false
323
+ optimizer_offload: false
324
+ offload_policy: false
325
+ reshard_after_forward: true
326
+ fsdp_size: -1
327
+ forward_prefetch: false
328
+ model_dtype: fp32
329
+ use_orig_params: false
330
+ ulysses_sequence_parallel_size: 1
331
+ entropy_from_logits_with_chunking: false
332
+ use_torch_compile: true
333
+ entropy_checkpointing: false
334
+ forward_only: false
335
+ strategy: fsdp
336
+ path: ${model_path}
337
+ tokenizer_path: ${oc.select:actor_rollout_ref.model.path,"~/models/deepseek-llm-7b-chat"}
338
+ override_config: {}
339
+ external_lib: ${oc.select:actor_rollout_ref.model.external_lib,null}
340
+ trust_remote_code: ${oc.select:actor_rollout_ref.model.trust_remote_code,false}
341
+ _target_: verl.workers.config.FSDPCriticModelCfg
342
+ use_shm: false
343
+ enable_gradient_checkpointing: true
344
+ enable_activation_offload: false
345
+ use_remove_padding: false
346
+ lora_rank: ${lora.rank}
347
+ lora_alpha: ${lora.alpha}
348
+ target_modules: ${lora.target_modules}
349
+ _target_: verl.workers.config.FSDPCriticConfig
350
+ rollout_n: ${oc.select:actor_rollout_ref.rollout.n,1}
351
+ strategy: fsdp
352
+ enable: null
353
+ ppo_mini_batch_size: ${ppo_mini_batch_size}
354
+ ppo_micro_batch_size: null
355
+ ppo_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
356
+ use_dynamic_bsz: ${oc.select:actor_rollout_ref.actor.use_dynamic_bsz,false}
357
+ ppo_max_token_len_per_gpu: 32768
358
+ forward_max_token_len_per_gpu: ${.ppo_max_token_len_per_gpu}
359
+ ppo_epochs: ${oc.select:actor_rollout_ref.actor.ppo_epochs,1}
360
+ shuffle: ${oc.select:actor_rollout_ref.actor.shuffle,false}
361
+ cliprange_value: 0.5
362
+ loss_agg_mode: ${oc.select:actor_rollout_ref.actor.loss_agg_mode,token-mean}
363
+ checkpoint:
364
+ _target_: verl.trainer.config.CheckpointConfig
365
+ save_contents:
366
+ - model
367
+ - optimizer
368
+ - extra
369
+ load_contents: ${.save_contents}
370
+ async_save: false
371
+ profiler:
372
+ _target_: verl.utils.profiler.ProfilerConfig
373
+ tool: ${oc.select:global_profiler.tool,null}
374
+ enable: false
375
+ all_ranks: false
376
+ ranks: []
377
+ save_path: ${oc.select:global_profiler.save_path,null}
378
+ tool_config:
379
+ nsys:
380
+ _target_: verl.utils.profiler.config.NsightToolConfig
381
+ discrete: ${oc.select:global_profiler.global_tool_config.nsys.discrete}
382
+ npu:
383
+ _target_: verl.utils.profiler.config.NPUToolConfig
384
+ contents: []
385
+ level: level1
386
+ analysis: true
387
+ discrete: false
388
+ torch:
389
+ _target_: verl.utils.profiler.config.TorchProfilerToolConfig
390
+ step_start: 0
391
+ step_end: null
392
+ torch_memory:
393
+ _target_: verl.utils.profiler.config.TorchMemoryToolConfig
394
+ trace_alloc_max_entries: ${oc.select:global_profiler.global_tool_config.torch_memory.trace_alloc_max_entries,100000}
395
+ stack_depth: ${oc.select:global_profiler.global_tool_config.torch_memory.stack_depth,32}
396
+ forward_micro_batch_size: ${oc.select:.ppo_micro_batch_size,null}
397
+ forward_micro_batch_size_per_gpu: ${oc.select:.ppo_micro_batch_size_per_gpu,null}
398
+ ulysses_sequence_parallel_size: 1
399
+ grad_clip: 1.0
400
+ reward_model:
401
+ enable: false
402
+ enable_resource_pool: false
403
+ n_gpus_per_node: 0
404
+ nnodes: 0
405
+ strategy: fsdp
406
+ model:
407
+ input_tokenizer: ${actor_rollout_ref.model.path}
408
+ path: ~/models/FsfairX-LLaMA3-RM-v0.1
409
+ external_lib: ${actor_rollout_ref.model.external_lib}
410
+ trust_remote_code: false
411
+ use_shm: false
412
+ use_remove_padding: false
413
+ use_fused_kernels: ${actor_rollout_ref.model.use_fused_kernels}
414
+ fsdp_config:
415
+ _target_: verl.workers.config.FSDPEngineConfig
416
+ wrap_policy:
417
+ min_num_params: 0
418
+ param_offload: false
419
+ reshard_after_forward: true
420
+ fsdp_size: -1
421
+ forward_prefetch: false
422
+ micro_batch_size: null
423
+ micro_batch_size_per_gpu: null
424
+ max_length: null
425
+ use_dynamic_bsz: ${critic.use_dynamic_bsz}
426
+ forward_max_token_len_per_gpu: ${critic.forward_max_token_len_per_gpu}
427
+ reward_manager: naive
428
+ launch_reward_fn_async: false
429
+ sandbox_fusion:
430
+ url: null
431
+ max_concurrent: 64
432
+ memory_limit_mb: 1024
433
+ profiler:
434
+ _target_: verl.utils.profiler.ProfilerConfig
435
+ tool: ${oc.select:global_profiler.tool,null}
436
+ enable: false
437
+ all_ranks: false
438
+ ranks: []
439
+ save_path: ${oc.select:global_profiler.save_path,null}
440
+ tool_config: ${oc.select:actor_rollout_ref.actor.profiler.tool_config,null}
441
+ ulysses_sequence_parallel_size: 1
442
+ custom_reward_function:
443
+ path: null
444
+ name: compute_score
445
+ algorithm:
446
+ _target_: verl.trainer.config.AlgoConfig
447
+ gamma: 1.0
448
+ lam: 1.0
449
+ adv_estimator: gae
450
+ norm_adv_by_std_in_grpo: true
451
+ use_kl_in_reward: false
452
+ kl_penalty: kl
453
+ kl_ctrl:
454
+ _target_: verl.trainer.config.KLControlConfig
455
+ type: fixed
456
+ kl_coef: 0.001
457
+ horizon: 10000
458
+ target_kl: 0.1
459
+ use_pf_ppo: false
460
+ pf_ppo:
461
+ reweight_method: pow
462
+ weight_pow: 2.0
463
+ high_level_gamma: 0.95
464
+ bi_level_gae: false
465
+ trainer:
466
+ balance_batch: true
467
+ total_epochs: 30
468
+ total_training_steps: 200
469
+ project_name: ragen_latest
470
+ experiment_name: frozen_lake-ppo
471
+ logger:
472
+ - console
473
+ - wandb
474
+ log_val_generations: 0
475
+ rollout_data_dir: null
476
+ validation_data_dir: null
477
+ nnodes: 1
478
+ n_gpus_per_node: 1
479
+ save_freq: 100
480
+ esi_redundant_time: 0
481
+ resume_mode: auto
482
+ resume_from_path: null
483
+ val_before_train: true
484
+ val_only: false
485
+ test_freq: 10
486
+ critic_warmup: 0
487
+ default_hdfs_dir: null
488
+ del_local_ckpt_after_load: false
489
+ default_local_dir: checkpoints/${trainer.project_name}/${trainer.experiment_name}
490
+ max_actor_ckpt_to_keep: 1
491
+ max_critic_ckpt_to_keep: 1
492
+ ray_wait_register_center_timeout: 300
493
+ device: cuda
494
+ use_legacy_worker_impl: auto
495
+ local_log_dir: results/
496
+ validation_steps: 1
497
+ generations_to_log_to_wandb:
498
+ val: 20
499
+ global_profiler:
500
+ _target_: verl.utils.profiler.ProfilerConfig
501
+ tool: null
502
+ steps: null
503
+ profile_continuous_steps: false
504
+ save_path: outputs/profile
505
+ global_tool_config:
506
+ nsys:
507
+ _target_: verl.utils.profiler.config.NsightToolConfig
508
+ discrete: false
509
+ controller_nsight_options:
510
+ trace: cuda,nvtx,cublas,ucx
511
+ cuda-memory-usage: 'true'
512
+ cuda-graph-trace: graph
513
+ worker_nsight_options:
514
+ trace: cuda,nvtx,cublas,ucx
515
+ cuda-memory-usage: 'true'
516
+ cuda-graph-trace: graph
517
+ capture-range: cudaProfilerApi
518
+ capture-range-end: null
519
+ kill: none
520
+ torch_memory:
521
+ trace_alloc_max_entries: 100000
522
+ stack_depth: 32
523
+ context: all
524
+ stacks: all
525
+ kw_args: {}
526
+ ray_kwargs:
527
+ ray_init:
528
+ num_cpus: null
529
+ timeline_json_file: null
530
+ custom_envs:
531
+ SimpleSokoban:
532
+ env_type: sokoban
533
+ max_actions_per_traj: 10
534
+ env_instruction: "You are solving the Sokoban puzzle. \nYou are the player and\
535
+ \ you need to push all boxes to targets. \nWhen you are right next to a box,\
536
+ \ you can push it by moving in the same direction. \nYou cannot push a box through\
537
+ \ a wall, and you cannot pull a box. \nThe answer should be a sequence of actions,\
538
+ \ like <answer>Right || Right || Up</answer>\n"
539
+ max_tokens: 100
540
+ env_config:
541
+ dim_x: 6
542
+ dim_y: 6
543
+ num_boxes: 1
544
+ max_steps: 100
545
+ LargerSokoban:
546
+ env_type: sokoban
547
+ max_actions_per_traj: 10
548
+ env_instruction: "You are solving the Sokoban puzzle. \nYou are the player and\
549
+ \ you need to push all boxes to targets. \nWhen you are right next to a box,\
550
+ \ you can push it by moving in the same direction. \nYou cannot push a box through\
551
+ \ a wall, and you cannot pull a box. \nThe answer should be a sequence of actions,\
552
+ \ like <answer>Right || Right || Up</answer>\n"
553
+ max_tokens: 100
554
+ env_config:
555
+ dim_x: 8
556
+ dim_y: 8
557
+ num_boxes: 2
558
+ max_steps: 100
559
+ search_depth: 10
560
+ SokobanDifferentGridVocab:
561
+ env_type: sokoban
562
+ max_actions_per_traj: 10
563
+ env_instruction: "You are solving the Sokoban puzzle. \nYou are the player and\
564
+ \ you need to push all boxes to targets. \nWhen you are right next to a box,\
565
+ \ you can push it by moving in the same direction. \nYou cannot push a box through\
566
+ \ a wall, and you cannot pull a box. \nThe answer should be a sequence of actions,\
567
+ \ like <answer>Right || Right || Up</answer>\n"
568
+ max_tokens: 100
569
+ env_config:
570
+ search_depth: 30
571
+ dim_x: 6
572
+ dim_y: 6
573
+ num_boxes: 1
574
+ max_steps: 100
575
+ grid_lookup:
576
+ 0: W
577
+ 1: .
578
+ 2: G
579
+ 3: C
580
+ 4: B
581
+ 5: A
582
+ 6: '@'
583
+ grid_vocab:
584
+ W: wall
585
+ .: empty
586
+ G: target
587
+ C: box on target
588
+ B: box
589
+ A: player
590
+ '@': player on target
591
+ CoordSokoban:
592
+ env_type: sokoban
593
+ max_actions_per_traj: 10
594
+ env_instruction: "You are solving the Sokoban puzzle. You are the player and you\
595
+ \ need to push all boxes to targets.\nYou are provided with a symbol grid and\
596
+ \ the zero-indexed coordinates of the player, each box, and each target. \n\
597
+ Coordinates range from the top-left corner (0, 0) to the bottom-right corner\
598
+ \ (5, 5). \nWhen you are exactly next to a box, you can push it by moving in\
599
+ \ the same direction. \nYou cannot push a box through a wall, and you cannot\
600
+ \ pull a box.\nThe answer should be a sequence of actions, like <answer>Right\
601
+ \ || Right || Up</answer>.\n"
602
+ max_tokens: 120
603
+ env_config:
604
+ dim_x: 6
605
+ dim_y: 6
606
+ num_boxes: 1
607
+ max_steps: 100
608
+ observation_format: grid_coord
609
+ VisualSimpleSokoban:
610
+ env_type: sokoban
611
+ max_actions_per_traj: 10
612
+ env_instruction: You are solving the Sokoban puzzle. You are the player and you
613
+ need to push all boxes to targets. When you are right next to a box, you can
614
+ push it by moving in the same direction. You cannot push a box through a wall,
615
+ and you cannot pull a box. The answer should be a sequence of actions, like
616
+ <answer>Right || Right || Up</answer>
617
+ max_tokens: 100
618
+ env_config:
619
+ dim_x: 6
620
+ dim_y: 6
621
+ num_boxes: 1
622
+ max_steps: 100
623
+ render_mode: rgb_array
624
+ Countdown:
625
+ env_type: countdown
626
+ max_actions_per_traj: 1
627
+ env_instruction: 'You are solving the Countdown puzzle. You should use the num
628
+ list to create an equation that equals the target. Example answer format: <think>
629
+ To find an equation using [3, 5, 2] to get 4. Let''s check 2 + 5 = 7, 7 - 3
630
+ = 4. So the answer is 2 + 5 - 3 = 4. </think><answer>2 + 5 - 3</answer>'
631
+ max_tokens: 100
632
+ env_config: null
633
+ Bandit:
634
+ env_type: bandit
635
+ max_actions_per_traj: 1
636
+ env_instruction: ''
637
+ max_tokens: 100
638
+ env_config:
639
+ split: train
640
+ BanditTest:
641
+ env_type: bandit
642
+ max_actions_per_traj: 1
643
+ env_instruction: ''
644
+ max_tokens: 100
645
+ env_config:
646
+ split: test
647
+ FrozenLake:
648
+ env_type: frozen_lake
649
+ max_actions_per_traj: 10
650
+ env_instruction: 'You are solving the FrozenLake puzzle. Forbid the whole and
651
+ go to the target. You may move to the unintended direction due to the slippery
652
+ ice. Example answer format: <think>To forbid the hole and go to the target,
653
+ I should go left then go up.</think><answer>Left || Up</answer>'
654
+ max_tokens: 100
655
+ env_config: null
656
+ CoordFrozenLake:
657
+ env_type: frozen_lake
658
+ max_actions_per_traj: 10
659
+ env_instruction: 'You are solving the FrozenLake puzzle. The observation includes
660
+ both a symbol grid and zero-indexed coordinates for the start, goal, player,
661
+ and any holes.
662
+
663
+ Coordinates range from the top-left corner (0, 0) to the bottom-right corner
664
+ (5, 5).
665
+
666
+ Beware that the ice is slippery, so the agent might slide and end up in an unintended
667
+ tile.
668
+
669
+ Respond with a sequence of actions such as <answer>Left || Up || Up</answer>.
670
+
671
+ '
672
+ max_tokens: 120
673
+ env_config:
674
+ observation_format: grid_coord
675
+ MetamathQA:
676
+ env_type: metamathqa
677
+ max_actions_per_traj: 1
678
+ env_instruction: 'You are solving Math problems. '
679
+ max_tokens: 100
680
+ env_config: null
681
+ WebShop:
682
+ env_type: webshop
683
+ max_actions_per_traj: 9
684
+ env_instruction: 'You are browsing an online shop. Based on the instruction, buy
685
+ a product that close to the production description. You need to search, read
686
+ the search results, pick a product, choose the size and color and buy. You should
687
+ only choose action from the available actions list provided later. Example
688
+ process: I need a gingko light and 20x20 pillow cover that is hand painted.
689
+ First search[gingko light 20x20 pillow cover hand painted], answer format: <answer>search[blanket
690
+ with fleece throw]</answer>. Valid answer is search[<keywords>] or click[<clickable>].'
691
+ max_tokens: 200
692
+ env_config:
693
+ dataset: small
694
+ Lean:
695
+ env_type: lean
696
+ max_actions_per_traj: 30
697
+ env_instruction: You are a Lean theorem prover. Given a Lean theorem statement,
698
+ propose a sequence of tactics that completes the proof. Think step by step about
699
+ which tactics to apply next. Provide tactics separated by '||', for example
700
+ <answer>intro || simp || rfl</answer>.
701
+ max_tokens: 512
702
+ env_config: null
703
+ system:
704
+ CUDA_VISIBLE_DEVICES: 3
705
+ seed:
706
+ train: 10000
707
+ val: 123
708
+ micro_batch_size_per_gpu: 4
709
+ ppo_mini_batch_size: 32
710
+ model_path: Qwen/Qwen2.5-3B-Instruct
711
+ enable_response_mask: true
712
+ grpo_advantage_length_weight: false
713
+ lora:
714
+ rank: 0
715
+ alpha: 64
716
+ target_modules: all-linear
717
+ agent_proxy:
718
+ max_context_window: -1
719
+ max_turn: 5
720
+ action_sep: '||'
721
+ max_actions_per_turn: 2
722
+ use_turn_scores: false
723
+ enable_think: true
724
+ reward_normalization:
725
+ grouping: state
726
+ method: identity
727
+ es_manager:
728
+ format_penalty: -0.1
729
+ train:
730
+ env_groups: 8
731
+ group_size: 16
732
+ env_configs:
733
+ tags:
734
+ - CoordFrozenLake
735
+ n_groups:
736
+ - 8
737
+ val:
738
+ env_groups: 32
739
+ group_size: 16
740
+ env_configs:
741
+ tags:
742
+ - CoordFrozenLake
743
+ n_groups:
744
+ - 32
745
+ ctx_manager:
746
+ generation:
747
+ gen_config:
748
+ response_length: ${actor_rollout_ref.rollout.response_length}
749
+ temperature: ${actor_rollout_ref.rollout.temperature}
750
+ top_p: ${actor_rollout_ref.rollout.top_p}
751
+ top_k: ${actor_rollout_ref.rollout.top_k}
752
+ kwargs: null
outputs/2025-11-17/14-46-02/.hydra/hydra.yaml ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - system.CUDA_VISIBLE_DEVICES=3
116
+ - trainer.experiment_name=frozen_lake-ppo
117
+ - algorithm.adv_estimator=gae
118
+ - algorithm.kl_ctrl.kl_coef=0.001
119
+ - actor_rollout_ref.actor.kl_loss_coef=0.001
120
+ - actor_rollout_ref.actor.clip_ratio_high=0.2
121
+ - actor_rollout_ref.rollout.rollout_filter_ratio=1
122
+ job:
123
+ name: train
124
+ chdir: null
125
+ override_dirname: actor_rollout_ref.actor.clip_ratio_high=0.2,actor_rollout_ref.actor.kl_loss_coef=0.001,actor_rollout_ref.rollout.rollout_filter_ratio=1,algorithm.adv_estimator=gae,algorithm.kl_ctrl.kl_coef=0.001,system.CUDA_VISIBLE_DEVICES=3,trainer.experiment_name=frozen_lake-ppo
126
+ id: ???
127
+ num: ???
128
+ config_name: _3_frozen_lake
129
+ env_set: {}
130
+ env_copy: []
131
+ config:
132
+ override_dirname:
133
+ kv_sep: '='
134
+ item_sep: ','
135
+ exclude_keys: []
136
+ runtime:
137
+ version: 1.3.2
138
+ version_base: '1.3'
139
+ cwd: /mnt/general/wanghy/RAGEN
140
+ config_sources:
141
+ - path: hydra.conf
142
+ schema: pkg
143
+ provider: hydra
144
+ - path: /mnt/general/wanghy/RAGEN/config
145
+ schema: file
146
+ provider: main
147
+ - path: /mnt/general/wanghy/RAGEN/verl/verl/trainer/config
148
+ schema: file
149
+ provider: command-line
150
+ - path: ''
151
+ schema: structured
152
+ provider: schema
153
+ output_dir: /mnt/general/wanghy/RAGEN/outputs/2025-11-17/14-46-02
154
+ choices:
155
+ reward_model: dp_reward_model
156
+ critic: dp_critic
157
+ critic/../engine@critic.model.fsdp_config: fsdp
158
+ critic/../optim@critic.optim: fsdp
159
+ model@actor_rollout_ref.model: hf_model
160
+ rollout@actor_rollout_ref.rollout: rollout
161
+ ref@actor_rollout_ref.ref: dp_ref
162
+ ref/../engine@actor_rollout_ref.ref.fsdp_config: fsdp
163
+ data: legacy_data
164
+ actor@actor_rollout_ref.actor: dp_actor
165
+ actor/../engine@actor_rollout_ref.actor.fsdp_config: fsdp
166
+ actor/../optim@actor_rollout_ref.actor.optim: fsdp
167
+ hydra/env: default
168
+ hydra/callbacks: null
169
+ hydra/job_logging: default
170
+ hydra/hydra_logging: default
171
+ hydra/hydra_help: default
172
+ hydra/help: default
173
+ hydra/sweeper: basic
174
+ hydra/launcher: basic
175
+ hydra/output: default
176
+ verbose: false
outputs/2025-11-17/14-46-02/.hydra/overrides.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ - system.CUDA_VISIBLE_DEVICES=3
2
+ - trainer.experiment_name=frozen_lake-ppo
3
+ - algorithm.adv_estimator=gae
4
+ - algorithm.kl_ctrl.kl_coef=0.001
5
+ - actor_rollout_ref.actor.kl_loss_coef=0.001
6
+ - actor_rollout_ref.actor.clip_ratio_high=0.2
7
+ - actor_rollout_ref.rollout.rollout_filter_ratio=1
outputs/2025-11-17/14-46-02/train.log ADDED
File without changes
outputs/2025-11-17/14-48-10/.hydra/hydra.yaml ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - system.CUDA_VISIBLE_DEVICES=3
116
+ - trainer.experiment_name=frozen_lake-ppo
117
+ - algorithm.adv_estimator=gae
118
+ - algorithm.kl_ctrl.kl_coef=0.001
119
+ - actor_rollout_ref.actor.kl_loss_coef=0.001
120
+ - actor_rollout_ref.actor.clip_ratio_high=0.2
121
+ - actor_rollout_ref.rollout.rollout_filter_ratio=1
122
+ job:
123
+ name: train
124
+ chdir: null
125
+ override_dirname: actor_rollout_ref.actor.clip_ratio_high=0.2,actor_rollout_ref.actor.kl_loss_coef=0.001,actor_rollout_ref.rollout.rollout_filter_ratio=1,algorithm.adv_estimator=gae,algorithm.kl_ctrl.kl_coef=0.001,system.CUDA_VISIBLE_DEVICES=3,trainer.experiment_name=frozen_lake-ppo
126
+ id: ???
127
+ num: ???
128
+ config_name: _3_frozen_lake
129
+ env_set: {}
130
+ env_copy: []
131
+ config:
132
+ override_dirname:
133
+ kv_sep: '='
134
+ item_sep: ','
135
+ exclude_keys: []
136
+ runtime:
137
+ version: 1.3.2
138
+ version_base: '1.3'
139
+ cwd: /mnt/general/wanghy/RAGEN
140
+ config_sources:
141
+ - path: hydra.conf
142
+ schema: pkg
143
+ provider: hydra
144
+ - path: /mnt/general/wanghy/RAGEN/config
145
+ schema: file
146
+ provider: main
147
+ - path: /mnt/general/wanghy/RAGEN/verl/verl/trainer/config
148
+ schema: file
149
+ provider: command-line
150
+ - path: ''
151
+ schema: structured
152
+ provider: schema
153
+ output_dir: /mnt/general/wanghy/RAGEN/outputs/2025-11-17/14-48-10
154
+ choices:
155
+ reward_model: dp_reward_model
156
+ critic: dp_critic
157
+ critic/../engine@critic.model.fsdp_config: fsdp
158
+ critic/../optim@critic.optim: fsdp
159
+ model@actor_rollout_ref.model: hf_model
160
+ rollout@actor_rollout_ref.rollout: rollout
161
+ ref@actor_rollout_ref.ref: dp_ref
162
+ ref/../engine@actor_rollout_ref.ref.fsdp_config: fsdp
163
+ data: legacy_data
164
+ actor@actor_rollout_ref.actor: dp_actor
165
+ actor/../engine@actor_rollout_ref.actor.fsdp_config: fsdp
166
+ actor/../optim@actor_rollout_ref.actor.optim: fsdp
167
+ hydra/env: default
168
+ hydra/callbacks: null
169
+ hydra/job_logging: default
170
+ hydra/hydra_logging: default
171
+ hydra/hydra_help: default
172
+ hydra/help: default
173
+ hydra/sweeper: basic
174
+ hydra/launcher: basic
175
+ hydra/output: default
176
+ verbose: false
outputs/2025-11-17/14-48-10/.hydra/overrides.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ - system.CUDA_VISIBLE_DEVICES=3
2
+ - trainer.experiment_name=frozen_lake-ppo
3
+ - algorithm.adv_estimator=gae
4
+ - algorithm.kl_ctrl.kl_coef=0.001
5
+ - actor_rollout_ref.actor.kl_loss_coef=0.001
6
+ - actor_rollout_ref.actor.clip_ratio_high=0.2
7
+ - actor_rollout_ref.rollout.rollout_filter_ratio=1
outputs/2025-11-17/14-48-50/.hydra/config.yaml ADDED
@@ -0,0 +1,752 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ actor_rollout_ref:
2
+ actor:
3
+ optim:
4
+ _target_: verl.workers.config.FSDPOptimizerConfig
5
+ lr: 1.0e-06
6
+ lr_warmup_steps_ratio: 0.0
7
+ total_training_steps: -1
8
+ weight_decay: 0.01
9
+ lr_warmup_steps: -1
10
+ betas:
11
+ - 0.9
12
+ - 0.999
13
+ clip_grad: 1.0
14
+ min_lr_ratio: 0.0
15
+ num_cycles: 0.5
16
+ warmup_style: constant
17
+ fsdp_config:
18
+ _target_: verl.workers.config.FSDPEngineConfig
19
+ wrap_policy:
20
+ min_num_params: 0
21
+ param_offload: false
22
+ optimizer_offload: false
23
+ offload_policy: false
24
+ reshard_after_forward: true
25
+ fsdp_size: -1
26
+ forward_prefetch: false
27
+ model_dtype: fp32
28
+ use_orig_params: false
29
+ ulysses_sequence_parallel_size: 1
30
+ entropy_from_logits_with_chunking: false
31
+ use_torch_compile: true
32
+ entropy_checkpointing: false
33
+ forward_only: false
34
+ strategy: fsdp
35
+ _target_: verl.workers.config.FSDPActorConfig
36
+ strategy: fsdp
37
+ ppo_mini_batch_size: ${ppo_mini_batch_size}
38
+ ppo_micro_batch_size: null
39
+ ppo_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
40
+ use_dynamic_bsz: false
41
+ ppo_max_token_len_per_gpu: 16384
42
+ clip_ratio: 0.2
43
+ clip_ratio_low: 0.2
44
+ clip_ratio_high: 0.2
45
+ freeze_vision_tower: false
46
+ policy_loss:
47
+ _target_: verl.workers.config.PolicyLossConfig
48
+ loss_mode: vanilla
49
+ clip_cov_ratio: 0.0002
50
+ clip_cov_lb: 1.0
51
+ clip_cov_ub: 5.0
52
+ kl_cov_ratio: 0.0002
53
+ ppo_kl_coef: 0.1
54
+ clip_ratio_c: 3.0
55
+ loss_agg_mode: token-mean
56
+ entropy_coeff: 0.001
57
+ tis_imp_ratio_cap: -1
58
+ use_kl_loss: false
59
+ use_torch_compile: true
60
+ kl_loss_coef: 0.001
61
+ kl_loss_type: kl
62
+ ppo_epochs: 1
63
+ shuffle: false
64
+ checkpoint:
65
+ _target_: verl.trainer.config.CheckpointConfig
66
+ save_contents:
67
+ - model
68
+ - optimizer
69
+ - extra
70
+ load_contents: ${.save_contents}
71
+ async_save: false
72
+ use_fused_kernels: ${oc.select:actor_rollout_ref.model.use_fused_kernels,false}
73
+ profiler:
74
+ _target_: verl.utils.profiler.ProfilerConfig
75
+ tool: ${oc.select:global_profiler.tool,null}
76
+ enable: false
77
+ all_ranks: false
78
+ ranks: []
79
+ save_path: ${oc.select:global_profiler.save_path,null}
80
+ tool_config:
81
+ nsys:
82
+ _target_: verl.utils.profiler.config.NsightToolConfig
83
+ discrete: ${oc.select:global_profiler.global_tool_config.nsys.discrete}
84
+ npu:
85
+ _target_: verl.utils.profiler.config.NPUToolConfig
86
+ contents: []
87
+ level: level1
88
+ analysis: true
89
+ discrete: false
90
+ torch:
91
+ _target_: verl.utils.profiler.config.TorchProfilerToolConfig
92
+ step_start: 0
93
+ step_end: null
94
+ torch_memory:
95
+ _target_: verl.utils.profiler.config.TorchMemoryToolConfig
96
+ trace_alloc_max_entries: ${oc.select:global_profiler.global_tool_config.torch_memory.trace_alloc_max_entries,100000}
97
+ stack_depth: ${oc.select:global_profiler.global_tool_config.torch_memory.stack_depth,32}
98
+ grad_clip: 1.0
99
+ ulysses_sequence_parallel_size: 1
100
+ entropy_from_logits_with_chunking: false
101
+ entropy_checkpointing: false
102
+ use_remove_padding: ${oc.select:actor_rollout_ref.model.use_remove_padding,false}
103
+ use_ref: true
104
+ grpo_advantage_length_weight: ${grpo_advantage_length_weight}
105
+ ref:
106
+ strategy: ${actor_rollout_ref.actor.strategy}
107
+ use_torch_compile: ${oc.select:actor_rollout_ref.actor.use_torch_compile,true}
108
+ log_prob_micro_batch_size: null
109
+ log_prob_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
110
+ log_prob_use_dynamic_bsz: ${oc.select:actor_rollout_ref.actor.use_dynamic_bsz,false}
111
+ log_prob_max_token_len_per_gpu: ${oc.select:actor_rollout_ref.actor.ppo_max_token_len_per_gpu,16384}
112
+ profiler:
113
+ _target_: verl.utils.profiler.ProfilerConfig
114
+ tool: ${oc.select:global_profiler.tool,null}
115
+ enable: false
116
+ all_ranks: false
117
+ ranks: []
118
+ save_path: ${oc.select:global_profiler.save_path,null}
119
+ tool_config:
120
+ nsys:
121
+ _target_: verl.utils.profiler.config.NsightToolConfig
122
+ discrete: ${oc.select:global_profiler.global_tool_config.nsys.discrete}
123
+ npu:
124
+ _target_: verl.utils.profiler.config.NPUToolConfig
125
+ contents: []
126
+ level: level1
127
+ analysis: true
128
+ discrete: false
129
+ torch:
130
+ _target_: verl.utils.profiler.config.TorchProfilerToolConfig
131
+ step_start: 0
132
+ step_end: null
133
+ torch_memory:
134
+ _target_: verl.utils.profiler.config.TorchMemoryToolConfig
135
+ trace_alloc_max_entries: ${oc.select:global_profiler.global_tool_config.torch_memory.trace_alloc_max_entries,100000}
136
+ stack_depth: ${oc.select:global_profiler.global_tool_config.torch_memory.stack_depth,32}
137
+ fsdp_config:
138
+ _target_: verl.workers.config.FSDPEngineConfig
139
+ wrap_policy:
140
+ min_num_params: 0
141
+ param_offload: false
142
+ optimizer_offload: false
143
+ offload_policy: false
144
+ reshard_after_forward: true
145
+ fsdp_size: -1
146
+ forward_prefetch: false
147
+ model_dtype: fp32
148
+ use_orig_params: false
149
+ ulysses_sequence_parallel_size: 1
150
+ entropy_from_logits_with_chunking: false
151
+ use_torch_compile: true
152
+ entropy_checkpointing: false
153
+ forward_only: false
154
+ strategy: fsdp
155
+ model: null
156
+ ulysses_sequence_parallel_size: ${oc.select:actor_rollout_ref.actor.ulysses_sequence_parallel_size,1}
157
+ entropy_from_logits_with_chunking: false
158
+ entropy_checkpointing: false
159
+ rollout:
160
+ _target_: verl.workers.config.RolloutConfig
161
+ name: vllm
162
+ mode: sync
163
+ temperature: 1
164
+ top_k: -1
165
+ top_p: 1
166
+ prompt_length: 1
167
+ response_length: 400
168
+ dtype: bfloat16
169
+ gpu_memory_utilization: 0.5
170
+ ignore_eos: false
171
+ enforce_eager: true
172
+ cudagraph_capture_sizes: null
173
+ free_cache_engine: true
174
+ tensor_model_parallel_size: 1
175
+ data_parallel_size: 1
176
+ expert_parallel_size: 1
177
+ max_num_batched_tokens: 8192
178
+ max_model_len: 3600
179
+ max_num_seqs: 1024
180
+ enable_chunked_prefill: true
181
+ enable_prefix_caching: true
182
+ load_format: dummy
183
+ log_prob_micro_batch_size: null
184
+ log_prob_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
185
+ log_prob_use_dynamic_bsz: ${oc.select:actor_rollout_ref.actor.use_dynamic_bsz,false}
186
+ log_prob_max_token_len_per_gpu: ${oc.select:actor_rollout_ref.actor.ppo_max_token_len_per_gpu,16384}
187
+ disable_log_stats: true
188
+ do_sample: true
189
+ 'n': 1
190
+ over_sample_rate: 0
191
+ multi_stage_wake_up: false
192
+ engine_kwargs:
193
+ vllm: {}
194
+ sglang: {}
195
+ val_kwargs:
196
+ _target_: verl.workers.config.SamplingConfig
197
+ top_k: -1
198
+ top_p: 1.0
199
+ temperature: 0.5
200
+ 'n': 1
201
+ do_sample: true
202
+ multi_turn:
203
+ _target_: verl.workers.config.MultiTurnConfig
204
+ enable: false
205
+ max_assistant_turns: null
206
+ tool_config_path: null
207
+ max_user_turns: null
208
+ max_parallel_calls: 1
209
+ max_tool_response_length: 256
210
+ tool_response_truncate_side: middle
211
+ interaction_config_path: null
212
+ use_inference_chat_template: false
213
+ tokenization_sanity_check_mode: strict
214
+ format: hermes
215
+ num_repeat_rollouts: null
216
+ calculate_log_probs: false
217
+ agent:
218
+ _target_: verl.workers.config.AgentLoopConfig
219
+ num_workers: 8
220
+ agent_loop_config_path: null
221
+ custom_async_server:
222
+ _target_: verl.workers.config.CustomAsyncServerConfig
223
+ path: null
224
+ name: null
225
+ update_weights_bucket_megabytes: 512
226
+ trace:
227
+ _target_: verl.workers.config.TraceConfig
228
+ backend: null
229
+ token2text: false
230
+ skip_rollout: false
231
+ skip_dump_dir: /tmp/rollout_dump
232
+ skip_tokenizer_init: true
233
+ profiler:
234
+ _target_: verl.utils.profiler.ProfilerConfig
235
+ tool: ${oc.select:global_profiler.tool,null}
236
+ enable: ${oc.select:actor_rollout_ref.actor.profiler.enable,false}
237
+ all_ranks: ${oc.select:actor_rollout_ref.actor.profiler.all_ranks,false}
238
+ ranks: ${oc.select:actor_rollout_ref.actor.profiler.ranks,[]}
239
+ save_path: ${oc.select:global_profiler.save_path,null}
240
+ tool_config: ${oc.select:actor_rollout_ref.actor.profiler.tool_config,null}
241
+ layered_summon: false
242
+ rollout_filter_ratio: 1
243
+ rollout_filter_type: largest
244
+ rollout_filter_metric: reward_variance
245
+ model:
246
+ _target_: verl.workers.config.HFModelConfig
247
+ path: ${model_path}
248
+ hf_config_path: null
249
+ tokenizer_path: null
250
+ use_shm: false
251
+ trust_remote_code: false
252
+ custom_chat_template: null
253
+ external_lib: null
254
+ override_config: {}
255
+ enable_gradient_checkpointing: true
256
+ enable_activation_offload: false
257
+ use_remove_padding: false
258
+ lora_rank: ${lora.rank}
259
+ lora_alpha: ${lora.alpha}
260
+ target_modules: ${lora.target_modules}
261
+ exclude_modules: null
262
+ use_liger: false
263
+ use_fused_kernels: false
264
+ fused_kernel_options:
265
+ impl_backend: torch
266
+ hybrid_engine: true
267
+ nccl_timeout: 600
268
+ data:
269
+ tokenizer: null
270
+ use_shm: false
271
+ train_files: ~/data/rlhf/gsm8k/train.parquet
272
+ val_files: ~/data/rlhf/gsm8k/test.parquet
273
+ prompt_key: prompt
274
+ reward_fn_key: data_source
275
+ max_prompt_length: null
276
+ max_response_length: null
277
+ train_batch_size: null
278
+ val_batch_size: null
279
+ return_raw_input_ids: false
280
+ return_raw_chat: false
281
+ return_full_prompt: false
282
+ shuffle: true
283
+ dataloader_num_workers: 8
284
+ validation_shuffle: false
285
+ filter_overlong_prompts: false
286
+ filter_overlong_prompts_workers: 1
287
+ truncation: error
288
+ image_key: images
289
+ video_key: videos
290
+ trust_remote_code: false
291
+ custom_cls:
292
+ path: null
293
+ name: null
294
+ return_multi_modal_inputs: true
295
+ sampler:
296
+ class_path: null
297
+ class_name: null
298
+ datagen:
299
+ path: null
300
+ name: null
301
+ apply_chat_template_kwargs: {}
302
+ critic:
303
+ optim:
304
+ _target_: verl.workers.config.FSDPOptimizerConfig
305
+ lr: 1.0e-05
306
+ lr_warmup_steps_ratio: 0.0
307
+ total_training_steps: -1
308
+ weight_decay: 0.01
309
+ lr_warmup_steps: -1
310
+ betas:
311
+ - 0.9
312
+ - 0.999
313
+ clip_grad: 1.0
314
+ min_lr_ratio: 0.0
315
+ num_cycles: 0.5
316
+ warmup_style: constant
317
+ model:
318
+ fsdp_config:
319
+ _target_: verl.workers.config.FSDPEngineConfig
320
+ wrap_policy:
321
+ min_num_params: 0
322
+ param_offload: false
323
+ optimizer_offload: false
324
+ offload_policy: false
325
+ reshard_after_forward: true
326
+ fsdp_size: -1
327
+ forward_prefetch: false
328
+ model_dtype: fp32
329
+ use_orig_params: false
330
+ ulysses_sequence_parallel_size: 1
331
+ entropy_from_logits_with_chunking: false
332
+ use_torch_compile: true
333
+ entropy_checkpointing: false
334
+ forward_only: false
335
+ strategy: fsdp
336
+ path: ${model_path}
337
+ tokenizer_path: ${oc.select:actor_rollout_ref.model.path,"~/models/deepseek-llm-7b-chat"}
338
+ override_config: {}
339
+ external_lib: ${oc.select:actor_rollout_ref.model.external_lib,null}
340
+ trust_remote_code: ${oc.select:actor_rollout_ref.model.trust_remote_code,false}
341
+ _target_: verl.workers.config.FSDPCriticModelCfg
342
+ use_shm: false
343
+ enable_gradient_checkpointing: true
344
+ enable_activation_offload: false
345
+ use_remove_padding: false
346
+ lora_rank: ${lora.rank}
347
+ lora_alpha: ${lora.alpha}
348
+ target_modules: ${lora.target_modules}
349
+ _target_: verl.workers.config.FSDPCriticConfig
350
+ rollout_n: ${oc.select:actor_rollout_ref.rollout.n,1}
351
+ strategy: fsdp
352
+ enable: null
353
+ ppo_mini_batch_size: ${ppo_mini_batch_size}
354
+ ppo_micro_batch_size: null
355
+ ppo_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
356
+ use_dynamic_bsz: ${oc.select:actor_rollout_ref.actor.use_dynamic_bsz,false}
357
+ ppo_max_token_len_per_gpu: 32768
358
+ forward_max_token_len_per_gpu: ${.ppo_max_token_len_per_gpu}
359
+ ppo_epochs: ${oc.select:actor_rollout_ref.actor.ppo_epochs,1}
360
+ shuffle: ${oc.select:actor_rollout_ref.actor.shuffle,false}
361
+ cliprange_value: 0.5
362
+ loss_agg_mode: ${oc.select:actor_rollout_ref.actor.loss_agg_mode,token-mean}
363
+ checkpoint:
364
+ _target_: verl.trainer.config.CheckpointConfig
365
+ save_contents:
366
+ - model
367
+ - optimizer
368
+ - extra
369
+ load_contents: ${.save_contents}
370
+ async_save: false
371
+ profiler:
372
+ _target_: verl.utils.profiler.ProfilerConfig
373
+ tool: ${oc.select:global_profiler.tool,null}
374
+ enable: false
375
+ all_ranks: false
376
+ ranks: []
377
+ save_path: ${oc.select:global_profiler.save_path,null}
378
+ tool_config:
379
+ nsys:
380
+ _target_: verl.utils.profiler.config.NsightToolConfig
381
+ discrete: ${oc.select:global_profiler.global_tool_config.nsys.discrete}
382
+ npu:
383
+ _target_: verl.utils.profiler.config.NPUToolConfig
384
+ contents: []
385
+ level: level1
386
+ analysis: true
387
+ discrete: false
388
+ torch:
389
+ _target_: verl.utils.profiler.config.TorchProfilerToolConfig
390
+ step_start: 0
391
+ step_end: null
392
+ torch_memory:
393
+ _target_: verl.utils.profiler.config.TorchMemoryToolConfig
394
+ trace_alloc_max_entries: ${oc.select:global_profiler.global_tool_config.torch_memory.trace_alloc_max_entries,100000}
395
+ stack_depth: ${oc.select:global_profiler.global_tool_config.torch_memory.stack_depth,32}
396
+ forward_micro_batch_size: ${oc.select:.ppo_micro_batch_size,null}
397
+ forward_micro_batch_size_per_gpu: ${oc.select:.ppo_micro_batch_size_per_gpu,null}
398
+ ulysses_sequence_parallel_size: 1
399
+ grad_clip: 1.0
400
+ reward_model:
401
+ enable: false
402
+ enable_resource_pool: false
403
+ n_gpus_per_node: 0
404
+ nnodes: 0
405
+ strategy: fsdp
406
+ model:
407
+ input_tokenizer: ${actor_rollout_ref.model.path}
408
+ path: ~/models/FsfairX-LLaMA3-RM-v0.1
409
+ external_lib: ${actor_rollout_ref.model.external_lib}
410
+ trust_remote_code: false
411
+ use_shm: false
412
+ use_remove_padding: false
413
+ use_fused_kernels: ${actor_rollout_ref.model.use_fused_kernels}
414
+ fsdp_config:
415
+ _target_: verl.workers.config.FSDPEngineConfig
416
+ wrap_policy:
417
+ min_num_params: 0
418
+ param_offload: false
419
+ reshard_after_forward: true
420
+ fsdp_size: -1
421
+ forward_prefetch: false
422
+ micro_batch_size: null
423
+ micro_batch_size_per_gpu: null
424
+ max_length: null
425
+ use_dynamic_bsz: ${critic.use_dynamic_bsz}
426
+ forward_max_token_len_per_gpu: ${critic.forward_max_token_len_per_gpu}
427
+ reward_manager: naive
428
+ launch_reward_fn_async: false
429
+ sandbox_fusion:
430
+ url: null
431
+ max_concurrent: 64
432
+ memory_limit_mb: 1024
433
+ profiler:
434
+ _target_: verl.utils.profiler.ProfilerConfig
435
+ tool: ${oc.select:global_profiler.tool,null}
436
+ enable: false
437
+ all_ranks: false
438
+ ranks: []
439
+ save_path: ${oc.select:global_profiler.save_path,null}
440
+ tool_config: ${oc.select:actor_rollout_ref.actor.profiler.tool_config,null}
441
+ ulysses_sequence_parallel_size: 1
442
+ custom_reward_function:
443
+ path: null
444
+ name: compute_score
445
+ algorithm:
446
+ _target_: verl.trainer.config.AlgoConfig
447
+ gamma: 1.0
448
+ lam: 1.0
449
+ adv_estimator: gae
450
+ norm_adv_by_std_in_grpo: true
451
+ use_kl_in_reward: false
452
+ kl_penalty: kl
453
+ kl_ctrl:
454
+ _target_: verl.trainer.config.KLControlConfig
455
+ type: fixed
456
+ kl_coef: 0.001
457
+ horizon: 10000
458
+ target_kl: 0.1
459
+ use_pf_ppo: false
460
+ pf_ppo:
461
+ reweight_method: pow
462
+ weight_pow: 2.0
463
+ high_level_gamma: 0.95
464
+ bi_level_gae: false
465
+ trainer:
466
+ balance_batch: true
467
+ total_epochs: 30
468
+ total_training_steps: 200
469
+ project_name: ragen_latest
470
+ experiment_name: frozen_lake-ppo
471
+ logger:
472
+ - console
473
+ - wandb
474
+ log_val_generations: 0
475
+ rollout_data_dir: null
476
+ validation_data_dir: null
477
+ nnodes: 1
478
+ n_gpus_per_node: 1
479
+ save_freq: 100
480
+ esi_redundant_time: 0
481
+ resume_mode: auto
482
+ resume_from_path: null
483
+ val_before_train: true
484
+ val_only: false
485
+ test_freq: 10
486
+ critic_warmup: 0
487
+ default_hdfs_dir: null
488
+ del_local_ckpt_after_load: false
489
+ default_local_dir: checkpoints/${trainer.project_name}/${trainer.experiment_name}
490
+ max_actor_ckpt_to_keep: 1
491
+ max_critic_ckpt_to_keep: 1
492
+ ray_wait_register_center_timeout: 300
493
+ device: cuda
494
+ use_legacy_worker_impl: auto
495
+ local_log_dir: results/
496
+ validation_steps: 1
497
+ generations_to_log_to_wandb:
498
+ val: 20
499
+ global_profiler:
500
+ _target_: verl.utils.profiler.ProfilerConfig
501
+ tool: null
502
+ steps: null
503
+ profile_continuous_steps: false
504
+ save_path: outputs/profile
505
+ global_tool_config:
506
+ nsys:
507
+ _target_: verl.utils.profiler.config.NsightToolConfig
508
+ discrete: false
509
+ controller_nsight_options:
510
+ trace: cuda,nvtx,cublas,ucx
511
+ cuda-memory-usage: 'true'
512
+ cuda-graph-trace: graph
513
+ worker_nsight_options:
514
+ trace: cuda,nvtx,cublas,ucx
515
+ cuda-memory-usage: 'true'
516
+ cuda-graph-trace: graph
517
+ capture-range: cudaProfilerApi
518
+ capture-range-end: null
519
+ kill: none
520
+ torch_memory:
521
+ trace_alloc_max_entries: 100000
522
+ stack_depth: 32
523
+ context: all
524
+ stacks: all
525
+ kw_args: {}
526
+ ray_kwargs:
527
+ ray_init:
528
+ num_cpus: null
529
+ timeline_json_file: null
530
+ custom_envs:
531
+ SimpleSokoban:
532
+ env_type: sokoban
533
+ max_actions_per_traj: 10
534
+ env_instruction: "You are solving the Sokoban puzzle. \nYou are the player and\
535
+ \ you need to push all boxes to targets. \nWhen you are right next to a box,\
536
+ \ you can push it by moving in the same direction. \nYou cannot push a box through\
537
+ \ a wall, and you cannot pull a box. \nThe answer should be a sequence of actions,\
538
+ \ like <answer>Right || Right || Up</answer>\n"
539
+ max_tokens: 100
540
+ env_config:
541
+ dim_x: 6
542
+ dim_y: 6
543
+ num_boxes: 1
544
+ max_steps: 100
545
+ LargerSokoban:
546
+ env_type: sokoban
547
+ max_actions_per_traj: 10
548
+ env_instruction: "You are solving the Sokoban puzzle. \nYou are the player and\
549
+ \ you need to push all boxes to targets. \nWhen you are right next to a box,\
550
+ \ you can push it by moving in the same direction. \nYou cannot push a box through\
551
+ \ a wall, and you cannot pull a box. \nThe answer should be a sequence of actions,\
552
+ \ like <answer>Right || Right || Up</answer>\n"
553
+ max_tokens: 100
554
+ env_config:
555
+ dim_x: 8
556
+ dim_y: 8
557
+ num_boxes: 2
558
+ max_steps: 100
559
+ search_depth: 10
560
+ SokobanDifferentGridVocab:
561
+ env_type: sokoban
562
+ max_actions_per_traj: 10
563
+ env_instruction: "You are solving the Sokoban puzzle. \nYou are the player and\
564
+ \ you need to push all boxes to targets. \nWhen you are right next to a box,\
565
+ \ you can push it by moving in the same direction. \nYou cannot push a box through\
566
+ \ a wall, and you cannot pull a box. \nThe answer should be a sequence of actions,\
567
+ \ like <answer>Right || Right || Up</answer>\n"
568
+ max_tokens: 100
569
+ env_config:
570
+ search_depth: 30
571
+ dim_x: 6
572
+ dim_y: 6
573
+ num_boxes: 1
574
+ max_steps: 100
575
+ grid_lookup:
576
+ 0: W
577
+ 1: .
578
+ 2: G
579
+ 3: C
580
+ 4: B
581
+ 5: A
582
+ 6: '@'
583
+ grid_vocab:
584
+ W: wall
585
+ .: empty
586
+ G: target
587
+ C: box on target
588
+ B: box
589
+ A: player
590
+ '@': player on target
591
+ CoordSokoban:
592
+ env_type: sokoban
593
+ max_actions_per_traj: 10
594
+ env_instruction: "You are solving the Sokoban puzzle. You are the player and you\
595
+ \ need to push all boxes to targets.\nYou are provided with a symbol grid and\
596
+ \ the zero-indexed coordinates of the player, each box, and each target. \n\
597
+ Coordinates range from the top-left corner (0, 0) to the bottom-right corner\
598
+ \ (5, 5). \nWhen you are exactly next to a box, you can push it by moving in\
599
+ \ the same direction. \nYou cannot push a box through a wall, and you cannot\
600
+ \ pull a box.\nThe answer should be a sequence of actions, like <answer>Right\
601
+ \ || Right || Up</answer>.\n"
602
+ max_tokens: 120
603
+ env_config:
604
+ dim_x: 6
605
+ dim_y: 6
606
+ num_boxes: 1
607
+ max_steps: 100
608
+ observation_format: grid_coord
609
+ VisualSimpleSokoban:
610
+ env_type: sokoban
611
+ max_actions_per_traj: 10
612
+ env_instruction: You are solving the Sokoban puzzle. You are the player and you
613
+ need to push all boxes to targets. When you are right next to a box, you can
614
+ push it by moving in the same direction. You cannot push a box through a wall,
615
+ and you cannot pull a box. The answer should be a sequence of actions, like
616
+ <answer>Right || Right || Up</answer>
617
+ max_tokens: 100
618
+ env_config:
619
+ dim_x: 6
620
+ dim_y: 6
621
+ num_boxes: 1
622
+ max_steps: 100
623
+ render_mode: rgb_array
624
+ Countdown:
625
+ env_type: countdown
626
+ max_actions_per_traj: 1
627
+ env_instruction: 'You are solving the Countdown puzzle. You should use the num
628
+ list to create an equation that equals the target. Example answer format: <think>
629
+ To find an equation using [3, 5, 2] to get 4. Let''s check 2 + 5 = 7, 7 - 3
630
+ = 4. So the answer is 2 + 5 - 3 = 4. </think><answer>2 + 5 - 3</answer>'
631
+ max_tokens: 100
632
+ env_config: null
633
+ Bandit:
634
+ env_type: bandit
635
+ max_actions_per_traj: 1
636
+ env_instruction: ''
637
+ max_tokens: 100
638
+ env_config:
639
+ split: train
640
+ BanditTest:
641
+ env_type: bandit
642
+ max_actions_per_traj: 1
643
+ env_instruction: ''
644
+ max_tokens: 100
645
+ env_config:
646
+ split: test
647
+ FrozenLake:
648
+ env_type: frozen_lake
649
+ max_actions_per_traj: 10
650
+ env_instruction: 'You are solving the FrozenLake puzzle. Forbid the whole and
651
+ go to the target. You may move to the unintended direction due to the slippery
652
+ ice. Example answer format: <think>To forbid the hole and go to the target,
653
+ I should go left then go up.</think><answer>Left || Up</answer>'
654
+ max_tokens: 100
655
+ env_config: null
656
+ CoordFrozenLake:
657
+ env_type: frozen_lake
658
+ max_actions_per_traj: 10
659
+ env_instruction: 'You are solving the FrozenLake puzzle. The observation includes
660
+ both a symbol grid and zero-indexed coordinates for the start, goal, player,
661
+ and any holes.
662
+
663
+ Coordinates range from the top-left corner (0, 0) to the bottom-right corner
664
+ (5, 5).
665
+
666
+ Beware that the ice is slippery, so the agent might slide and end up in an unintended
667
+ tile.
668
+
669
+ Respond with a sequence of actions such as <answer>Left || Up || Up</answer>.
670
+
671
+ '
672
+ max_tokens: 120
673
+ env_config:
674
+ observation_format: grid_coord
675
+ MetamathQA:
676
+ env_type: metamathqa
677
+ max_actions_per_traj: 1
678
+ env_instruction: 'You are solving Math problems. '
679
+ max_tokens: 100
680
+ env_config: null
681
+ WebShop:
682
+ env_type: webshop
683
+ max_actions_per_traj: 9
684
+ env_instruction: 'You are browsing an online shop. Based on the instruction, buy
685
+ a product that close to the production description. You need to search, read
686
+ the search results, pick a product, choose the size and color and buy. You should
687
+ only choose action from the available actions list provided later. Example
688
+ process: I need a gingko light and 20x20 pillow cover that is hand painted.
689
+ First search[gingko light 20x20 pillow cover hand painted], answer format: <answer>search[blanket
690
+ with fleece throw]</answer>. Valid answer is search[<keywords>] or click[<clickable>].'
691
+ max_tokens: 200
692
+ env_config:
693
+ dataset: small
694
+ Lean:
695
+ env_type: lean
696
+ max_actions_per_traj: 30
697
+ env_instruction: You are a Lean theorem prover. Given a Lean theorem statement,
698
+ propose a sequence of tactics that completes the proof. Think step by step about
699
+ which tactics to apply next. Provide tactics separated by '||', for example
700
+ <answer>intro || simp || rfl</answer>.
701
+ max_tokens: 512
702
+ env_config: null
703
+ system:
704
+ CUDA_VISIBLE_DEVICES: 3
705
+ seed:
706
+ train: 10000
707
+ val: 123
708
+ micro_batch_size_per_gpu: 4
709
+ ppo_mini_batch_size: 32
710
+ model_path: Qwen/Qwen2.5-3B-Instruct
711
+ enable_response_mask: true
712
+ grpo_advantage_length_weight: false
713
+ lora:
714
+ rank: 0
715
+ alpha: 64
716
+ target_modules: all-linear
717
+ agent_proxy:
718
+ max_context_window: -1
719
+ max_turn: 5
720
+ action_sep: '||'
721
+ max_actions_per_turn: 2
722
+ use_turn_scores: false
723
+ enable_think: true
724
+ reward_normalization:
725
+ grouping: state
726
+ method: identity
727
+ es_manager:
728
+ format_penalty: -0.1
729
+ train:
730
+ env_groups: 8
731
+ group_size: 16
732
+ env_configs:
733
+ tags:
734
+ - CoordFrozenLake
735
+ n_groups:
736
+ - 8
737
+ val:
738
+ env_groups: 32
739
+ group_size: 16
740
+ env_configs:
741
+ tags:
742
+ - CoordFrozenLake
743
+ n_groups:
744
+ - 32
745
+ ctx_manager:
746
+ generation:
747
+ gen_config:
748
+ response_length: ${actor_rollout_ref.rollout.response_length}
749
+ temperature: ${actor_rollout_ref.rollout.temperature}
750
+ top_p: ${actor_rollout_ref.rollout.top_p}
751
+ top_k: ${actor_rollout_ref.rollout.top_k}
752
+ kwargs: null
outputs/2025-11-17/14-48-50/.hydra/hydra.yaml ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - system.CUDA_VISIBLE_DEVICES=3
116
+ - trainer.experiment_name=frozen_lake-ppo
117
+ - algorithm.adv_estimator=gae
118
+ - algorithm.kl_ctrl.kl_coef=0.001
119
+ - actor_rollout_ref.actor.kl_loss_coef=0.001
120
+ - actor_rollout_ref.actor.clip_ratio_high=0.2
121
+ - actor_rollout_ref.rollout.rollout_filter_ratio=1
122
+ job:
123
+ name: train
124
+ chdir: null
125
+ override_dirname: actor_rollout_ref.actor.clip_ratio_high=0.2,actor_rollout_ref.actor.kl_loss_coef=0.001,actor_rollout_ref.rollout.rollout_filter_ratio=1,algorithm.adv_estimator=gae,algorithm.kl_ctrl.kl_coef=0.001,system.CUDA_VISIBLE_DEVICES=3,trainer.experiment_name=frozen_lake-ppo
126
+ id: ???
127
+ num: ???
128
+ config_name: _3_frozen_lake
129
+ env_set: {}
130
+ env_copy: []
131
+ config:
132
+ override_dirname:
133
+ kv_sep: '='
134
+ item_sep: ','
135
+ exclude_keys: []
136
+ runtime:
137
+ version: 1.3.2
138
+ version_base: '1.3'
139
+ cwd: /mnt/general/wanghy/RAGEN
140
+ config_sources:
141
+ - path: hydra.conf
142
+ schema: pkg
143
+ provider: hydra
144
+ - path: /mnt/general/wanghy/RAGEN/config
145
+ schema: file
146
+ provider: main
147
+ - path: /mnt/general/wanghy/RAGEN/verl/verl/trainer/config
148
+ schema: file
149
+ provider: command-line
150
+ - path: ''
151
+ schema: structured
152
+ provider: schema
153
+ output_dir: /mnt/general/wanghy/RAGEN/outputs/2025-11-17/14-48-50
154
+ choices:
155
+ reward_model: dp_reward_model
156
+ critic: dp_critic
157
+ critic/../engine@critic.model.fsdp_config: fsdp
158
+ critic/../optim@critic.optim: fsdp
159
+ model@actor_rollout_ref.model: hf_model
160
+ rollout@actor_rollout_ref.rollout: rollout
161
+ ref@actor_rollout_ref.ref: dp_ref
162
+ ref/../engine@actor_rollout_ref.ref.fsdp_config: fsdp
163
+ data: legacy_data
164
+ actor@actor_rollout_ref.actor: dp_actor
165
+ actor/../engine@actor_rollout_ref.actor.fsdp_config: fsdp
166
+ actor/../optim@actor_rollout_ref.actor.optim: fsdp
167
+ hydra/env: default
168
+ hydra/callbacks: null
169
+ hydra/job_logging: default
170
+ hydra/hydra_logging: default
171
+ hydra/hydra_help: default
172
+ hydra/help: default
173
+ hydra/sweeper: basic
174
+ hydra/launcher: basic
175
+ hydra/output: default
176
+ verbose: false
outputs/2025-11-17/14-48-50/.hydra/overrides.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ - system.CUDA_VISIBLE_DEVICES=3
2
+ - trainer.experiment_name=frozen_lake-ppo
3
+ - algorithm.adv_estimator=gae
4
+ - algorithm.kl_ctrl.kl_coef=0.001
5
+ - actor_rollout_ref.actor.kl_loss_coef=0.001
6
+ - actor_rollout_ref.actor.clip_ratio_high=0.2
7
+ - actor_rollout_ref.rollout.rollout_filter_ratio=1
outputs/2025-11-17/14-54-16/.hydra/config.yaml ADDED
@@ -0,0 +1,752 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ actor_rollout_ref:
2
+ actor:
3
+ optim:
4
+ _target_: verl.workers.config.FSDPOptimizerConfig
5
+ lr: 1.0e-06
6
+ lr_warmup_steps_ratio: 0.0
7
+ total_training_steps: -1
8
+ weight_decay: 0.01
9
+ lr_warmup_steps: -1
10
+ betas:
11
+ - 0.9
12
+ - 0.999
13
+ clip_grad: 1.0
14
+ min_lr_ratio: 0.0
15
+ num_cycles: 0.5
16
+ warmup_style: constant
17
+ fsdp_config:
18
+ _target_: verl.workers.config.FSDPEngineConfig
19
+ wrap_policy:
20
+ min_num_params: 0
21
+ param_offload: false
22
+ optimizer_offload: false
23
+ offload_policy: false
24
+ reshard_after_forward: true
25
+ fsdp_size: -1
26
+ forward_prefetch: false
27
+ model_dtype: fp32
28
+ use_orig_params: false
29
+ ulysses_sequence_parallel_size: 1
30
+ entropy_from_logits_with_chunking: false
31
+ use_torch_compile: true
32
+ entropy_checkpointing: false
33
+ forward_only: false
34
+ strategy: fsdp
35
+ _target_: verl.workers.config.FSDPActorConfig
36
+ strategy: fsdp
37
+ ppo_mini_batch_size: ${ppo_mini_batch_size}
38
+ ppo_micro_batch_size: null
39
+ ppo_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
40
+ use_dynamic_bsz: false
41
+ ppo_max_token_len_per_gpu: 16384
42
+ clip_ratio: 0.2
43
+ clip_ratio_low: 0.2
44
+ clip_ratio_high: 0.2
45
+ freeze_vision_tower: false
46
+ policy_loss:
47
+ _target_: verl.workers.config.PolicyLossConfig
48
+ loss_mode: vanilla
49
+ clip_cov_ratio: 0.0002
50
+ clip_cov_lb: 1.0
51
+ clip_cov_ub: 5.0
52
+ kl_cov_ratio: 0.0002
53
+ ppo_kl_coef: 0.1
54
+ clip_ratio_c: 3.0
55
+ loss_agg_mode: token-mean
56
+ entropy_coeff: 0.001
57
+ tis_imp_ratio_cap: -1
58
+ use_kl_loss: false
59
+ use_torch_compile: true
60
+ kl_loss_coef: 0.001
61
+ kl_loss_type: kl
62
+ ppo_epochs: 1
63
+ shuffle: false
64
+ checkpoint:
65
+ _target_: verl.trainer.config.CheckpointConfig
66
+ save_contents:
67
+ - model
68
+ - optimizer
69
+ - extra
70
+ load_contents: ${.save_contents}
71
+ async_save: false
72
+ use_fused_kernels: ${oc.select:actor_rollout_ref.model.use_fused_kernels,false}
73
+ profiler:
74
+ _target_: verl.utils.profiler.ProfilerConfig
75
+ tool: ${oc.select:global_profiler.tool,null}
76
+ enable: false
77
+ all_ranks: false
78
+ ranks: []
79
+ save_path: ${oc.select:global_profiler.save_path,null}
80
+ tool_config:
81
+ nsys:
82
+ _target_: verl.utils.profiler.config.NsightToolConfig
83
+ discrete: ${oc.select:global_profiler.global_tool_config.nsys.discrete}
84
+ npu:
85
+ _target_: verl.utils.profiler.config.NPUToolConfig
86
+ contents: []
87
+ level: level1
88
+ analysis: true
89
+ discrete: false
90
+ torch:
91
+ _target_: verl.utils.profiler.config.TorchProfilerToolConfig
92
+ step_start: 0
93
+ step_end: null
94
+ torch_memory:
95
+ _target_: verl.utils.profiler.config.TorchMemoryToolConfig
96
+ trace_alloc_max_entries: ${oc.select:global_profiler.global_tool_config.torch_memory.trace_alloc_max_entries,100000}
97
+ stack_depth: ${oc.select:global_profiler.global_tool_config.torch_memory.stack_depth,32}
98
+ grad_clip: 1.0
99
+ ulysses_sequence_parallel_size: 1
100
+ entropy_from_logits_with_chunking: false
101
+ entropy_checkpointing: false
102
+ use_remove_padding: ${oc.select:actor_rollout_ref.model.use_remove_padding,false}
103
+ use_ref: true
104
+ grpo_advantage_length_weight: ${grpo_advantage_length_weight}
105
+ ref:
106
+ strategy: ${actor_rollout_ref.actor.strategy}
107
+ use_torch_compile: ${oc.select:actor_rollout_ref.actor.use_torch_compile,true}
108
+ log_prob_micro_batch_size: null
109
+ log_prob_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
110
+ log_prob_use_dynamic_bsz: ${oc.select:actor_rollout_ref.actor.use_dynamic_bsz,false}
111
+ log_prob_max_token_len_per_gpu: ${oc.select:actor_rollout_ref.actor.ppo_max_token_len_per_gpu,16384}
112
+ profiler:
113
+ _target_: verl.utils.profiler.ProfilerConfig
114
+ tool: ${oc.select:global_profiler.tool,null}
115
+ enable: false
116
+ all_ranks: false
117
+ ranks: []
118
+ save_path: ${oc.select:global_profiler.save_path,null}
119
+ tool_config:
120
+ nsys:
121
+ _target_: verl.utils.profiler.config.NsightToolConfig
122
+ discrete: ${oc.select:global_profiler.global_tool_config.nsys.discrete}
123
+ npu:
124
+ _target_: verl.utils.profiler.config.NPUToolConfig
125
+ contents: []
126
+ level: level1
127
+ analysis: true
128
+ discrete: false
129
+ torch:
130
+ _target_: verl.utils.profiler.config.TorchProfilerToolConfig
131
+ step_start: 0
132
+ step_end: null
133
+ torch_memory:
134
+ _target_: verl.utils.profiler.config.TorchMemoryToolConfig
135
+ trace_alloc_max_entries: ${oc.select:global_profiler.global_tool_config.torch_memory.trace_alloc_max_entries,100000}
136
+ stack_depth: ${oc.select:global_profiler.global_tool_config.torch_memory.stack_depth,32}
137
+ fsdp_config:
138
+ _target_: verl.workers.config.FSDPEngineConfig
139
+ wrap_policy:
140
+ min_num_params: 0
141
+ param_offload: false
142
+ optimizer_offload: false
143
+ offload_policy: false
144
+ reshard_after_forward: true
145
+ fsdp_size: -1
146
+ forward_prefetch: false
147
+ model_dtype: fp32
148
+ use_orig_params: false
149
+ ulysses_sequence_parallel_size: 1
150
+ entropy_from_logits_with_chunking: false
151
+ use_torch_compile: true
152
+ entropy_checkpointing: false
153
+ forward_only: false
154
+ strategy: fsdp
155
+ model: null
156
+ ulysses_sequence_parallel_size: ${oc.select:actor_rollout_ref.actor.ulysses_sequence_parallel_size,1}
157
+ entropy_from_logits_with_chunking: false
158
+ entropy_checkpointing: false
159
+ rollout:
160
+ _target_: verl.workers.config.RolloutConfig
161
+ name: vllm
162
+ mode: sync
163
+ temperature: 1
164
+ top_k: -1
165
+ top_p: 1
166
+ prompt_length: 1
167
+ response_length: 400
168
+ dtype: bfloat16
169
+ gpu_memory_utilization: 0.5
170
+ ignore_eos: false
171
+ enforce_eager: true
172
+ cudagraph_capture_sizes: null
173
+ free_cache_engine: true
174
+ tensor_model_parallel_size: 1
175
+ data_parallel_size: 1
176
+ expert_parallel_size: 1
177
+ max_num_batched_tokens: 8192
178
+ max_model_len: 3600
179
+ max_num_seqs: 1024
180
+ enable_chunked_prefill: true
181
+ enable_prefix_caching: true
182
+ load_format: dummy
183
+ log_prob_micro_batch_size: null
184
+ log_prob_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
185
+ log_prob_use_dynamic_bsz: ${oc.select:actor_rollout_ref.actor.use_dynamic_bsz,false}
186
+ log_prob_max_token_len_per_gpu: ${oc.select:actor_rollout_ref.actor.ppo_max_token_len_per_gpu,16384}
187
+ disable_log_stats: true
188
+ do_sample: true
189
+ 'n': 1
190
+ over_sample_rate: 0
191
+ multi_stage_wake_up: false
192
+ engine_kwargs:
193
+ vllm: {}
194
+ sglang: {}
195
+ val_kwargs:
196
+ _target_: verl.workers.config.SamplingConfig
197
+ top_k: -1
198
+ top_p: 1.0
199
+ temperature: 0.5
200
+ 'n': 1
201
+ do_sample: true
202
+ multi_turn:
203
+ _target_: verl.workers.config.MultiTurnConfig
204
+ enable: false
205
+ max_assistant_turns: null
206
+ tool_config_path: null
207
+ max_user_turns: null
208
+ max_parallel_calls: 1
209
+ max_tool_response_length: 256
210
+ tool_response_truncate_side: middle
211
+ interaction_config_path: null
212
+ use_inference_chat_template: false
213
+ tokenization_sanity_check_mode: strict
214
+ format: hermes
215
+ num_repeat_rollouts: null
216
+ calculate_log_probs: false
217
+ agent:
218
+ _target_: verl.workers.config.AgentLoopConfig
219
+ num_workers: 8
220
+ agent_loop_config_path: null
221
+ custom_async_server:
222
+ _target_: verl.workers.config.CustomAsyncServerConfig
223
+ path: null
224
+ name: null
225
+ update_weights_bucket_megabytes: 512
226
+ trace:
227
+ _target_: verl.workers.config.TraceConfig
228
+ backend: null
229
+ token2text: false
230
+ skip_rollout: false
231
+ skip_dump_dir: /tmp/rollout_dump
232
+ skip_tokenizer_init: true
233
+ profiler:
234
+ _target_: verl.utils.profiler.ProfilerConfig
235
+ tool: ${oc.select:global_profiler.tool,null}
236
+ enable: ${oc.select:actor_rollout_ref.actor.profiler.enable,false}
237
+ all_ranks: ${oc.select:actor_rollout_ref.actor.profiler.all_ranks,false}
238
+ ranks: ${oc.select:actor_rollout_ref.actor.profiler.ranks,[]}
239
+ save_path: ${oc.select:global_profiler.save_path,null}
240
+ tool_config: ${oc.select:actor_rollout_ref.actor.profiler.tool_config,null}
241
+ layered_summon: false
242
+ rollout_filter_ratio: 1
243
+ rollout_filter_type: largest
244
+ rollout_filter_metric: reward_variance
245
+ model:
246
+ _target_: verl.workers.config.HFModelConfig
247
+ path: ${model_path}
248
+ hf_config_path: null
249
+ tokenizer_path: null
250
+ use_shm: false
251
+ trust_remote_code: false
252
+ custom_chat_template: null
253
+ external_lib: null
254
+ override_config: {}
255
+ enable_gradient_checkpointing: true
256
+ enable_activation_offload: false
257
+ use_remove_padding: false
258
+ lora_rank: ${lora.rank}
259
+ lora_alpha: ${lora.alpha}
260
+ target_modules: ${lora.target_modules}
261
+ exclude_modules: null
262
+ use_liger: false
263
+ use_fused_kernels: false
264
+ fused_kernel_options:
265
+ impl_backend: torch
266
+ hybrid_engine: true
267
+ nccl_timeout: 600
268
+ data:
269
+ tokenizer: null
270
+ use_shm: false
271
+ train_files: ~/data/rlhf/gsm8k/train.parquet
272
+ val_files: ~/data/rlhf/gsm8k/test.parquet
273
+ prompt_key: prompt
274
+ reward_fn_key: data_source
275
+ max_prompt_length: null
276
+ max_response_length: null
277
+ train_batch_size: null
278
+ val_batch_size: null
279
+ return_raw_input_ids: false
280
+ return_raw_chat: false
281
+ return_full_prompt: false
282
+ shuffle: true
283
+ dataloader_num_workers: 8
284
+ validation_shuffle: false
285
+ filter_overlong_prompts: false
286
+ filter_overlong_prompts_workers: 1
287
+ truncation: error
288
+ image_key: images
289
+ video_key: videos
290
+ trust_remote_code: false
291
+ custom_cls:
292
+ path: null
293
+ name: null
294
+ return_multi_modal_inputs: true
295
+ sampler:
296
+ class_path: null
297
+ class_name: null
298
+ datagen:
299
+ path: null
300
+ name: null
301
+ apply_chat_template_kwargs: {}
302
+ critic:
303
+ optim:
304
+ _target_: verl.workers.config.FSDPOptimizerConfig
305
+ lr: 1.0e-05
306
+ lr_warmup_steps_ratio: 0.0
307
+ total_training_steps: -1
308
+ weight_decay: 0.01
309
+ lr_warmup_steps: -1
310
+ betas:
311
+ - 0.9
312
+ - 0.999
313
+ clip_grad: 1.0
314
+ min_lr_ratio: 0.0
315
+ num_cycles: 0.5
316
+ warmup_style: constant
317
+ model:
318
+ fsdp_config:
319
+ _target_: verl.workers.config.FSDPEngineConfig
320
+ wrap_policy:
321
+ min_num_params: 0
322
+ param_offload: false
323
+ optimizer_offload: false
324
+ offload_policy: false
325
+ reshard_after_forward: true
326
+ fsdp_size: -1
327
+ forward_prefetch: false
328
+ model_dtype: fp32
329
+ use_orig_params: false
330
+ ulysses_sequence_parallel_size: 1
331
+ entropy_from_logits_with_chunking: false
332
+ use_torch_compile: true
333
+ entropy_checkpointing: false
334
+ forward_only: false
335
+ strategy: fsdp
336
+ path: ${model_path}
337
+ tokenizer_path: ${oc.select:actor_rollout_ref.model.path,"~/models/deepseek-llm-7b-chat"}
338
+ override_config: {}
339
+ external_lib: ${oc.select:actor_rollout_ref.model.external_lib,null}
340
+ trust_remote_code: ${oc.select:actor_rollout_ref.model.trust_remote_code,false}
341
+ _target_: verl.workers.config.FSDPCriticModelCfg
342
+ use_shm: false
343
+ enable_gradient_checkpointing: true
344
+ enable_activation_offload: false
345
+ use_remove_padding: false
346
+ lora_rank: ${lora.rank}
347
+ lora_alpha: ${lora.alpha}
348
+ target_modules: ${lora.target_modules}
349
+ _target_: verl.workers.config.FSDPCriticConfig
350
+ rollout_n: ${oc.select:actor_rollout_ref.rollout.n,1}
351
+ strategy: fsdp
352
+ enable: null
353
+ ppo_mini_batch_size: ${ppo_mini_batch_size}
354
+ ppo_micro_batch_size: null
355
+ ppo_micro_batch_size_per_gpu: ${micro_batch_size_per_gpu}
356
+ use_dynamic_bsz: ${oc.select:actor_rollout_ref.actor.use_dynamic_bsz,false}
357
+ ppo_max_token_len_per_gpu: 32768
358
+ forward_max_token_len_per_gpu: ${.ppo_max_token_len_per_gpu}
359
+ ppo_epochs: ${oc.select:actor_rollout_ref.actor.ppo_epochs,1}
360
+ shuffle: ${oc.select:actor_rollout_ref.actor.shuffle,false}
361
+ cliprange_value: 0.5
362
+ loss_agg_mode: ${oc.select:actor_rollout_ref.actor.loss_agg_mode,token-mean}
363
+ checkpoint:
364
+ _target_: verl.trainer.config.CheckpointConfig
365
+ save_contents:
366
+ - model
367
+ - optimizer
368
+ - extra
369
+ load_contents: ${.save_contents}
370
+ async_save: false
371
+ profiler:
372
+ _target_: verl.utils.profiler.ProfilerConfig
373
+ tool: ${oc.select:global_profiler.tool,null}
374
+ enable: false
375
+ all_ranks: false
376
+ ranks: []
377
+ save_path: ${oc.select:global_profiler.save_path,null}
378
+ tool_config:
379
+ nsys:
380
+ _target_: verl.utils.profiler.config.NsightToolConfig
381
+ discrete: ${oc.select:global_profiler.global_tool_config.nsys.discrete}
382
+ npu:
383
+ _target_: verl.utils.profiler.config.NPUToolConfig
384
+ contents: []
385
+ level: level1
386
+ analysis: true
387
+ discrete: false
388
+ torch:
389
+ _target_: verl.utils.profiler.config.TorchProfilerToolConfig
390
+ step_start: 0
391
+ step_end: null
392
+ torch_memory:
393
+ _target_: verl.utils.profiler.config.TorchMemoryToolConfig
394
+ trace_alloc_max_entries: ${oc.select:global_profiler.global_tool_config.torch_memory.trace_alloc_max_entries,100000}
395
+ stack_depth: ${oc.select:global_profiler.global_tool_config.torch_memory.stack_depth,32}
396
+ forward_micro_batch_size: ${oc.select:.ppo_micro_batch_size,null}
397
+ forward_micro_batch_size_per_gpu: ${oc.select:.ppo_micro_batch_size_per_gpu,null}
398
+ ulysses_sequence_parallel_size: 1
399
+ grad_clip: 1.0
400
+ reward_model:
401
+ enable: false
402
+ enable_resource_pool: false
403
+ n_gpus_per_node: 0
404
+ nnodes: 0
405
+ strategy: fsdp
406
+ model:
407
+ input_tokenizer: ${actor_rollout_ref.model.path}
408
+ path: ~/models/FsfairX-LLaMA3-RM-v0.1
409
+ external_lib: ${actor_rollout_ref.model.external_lib}
410
+ trust_remote_code: false
411
+ use_shm: false
412
+ use_remove_padding: false
413
+ use_fused_kernels: ${actor_rollout_ref.model.use_fused_kernels}
414
+ fsdp_config:
415
+ _target_: verl.workers.config.FSDPEngineConfig
416
+ wrap_policy:
417
+ min_num_params: 0
418
+ param_offload: false
419
+ reshard_after_forward: true
420
+ fsdp_size: -1
421
+ forward_prefetch: false
422
+ micro_batch_size: null
423
+ micro_batch_size_per_gpu: null
424
+ max_length: null
425
+ use_dynamic_bsz: ${critic.use_dynamic_bsz}
426
+ forward_max_token_len_per_gpu: ${critic.forward_max_token_len_per_gpu}
427
+ reward_manager: naive
428
+ launch_reward_fn_async: false
429
+ sandbox_fusion:
430
+ url: null
431
+ max_concurrent: 64
432
+ memory_limit_mb: 1024
433
+ profiler:
434
+ _target_: verl.utils.profiler.ProfilerConfig
435
+ tool: ${oc.select:global_profiler.tool,null}
436
+ enable: false
437
+ all_ranks: false
438
+ ranks: []
439
+ save_path: ${oc.select:global_profiler.save_path,null}
440
+ tool_config: ${oc.select:actor_rollout_ref.actor.profiler.tool_config,null}
441
+ ulysses_sequence_parallel_size: 1
442
+ custom_reward_function:
443
+ path: null
444
+ name: compute_score
445
+ algorithm:
446
+ _target_: verl.trainer.config.AlgoConfig
447
+ gamma: 1.0
448
+ lam: 1.0
449
+ adv_estimator: gae
450
+ norm_adv_by_std_in_grpo: true
451
+ use_kl_in_reward: false
452
+ kl_penalty: kl
453
+ kl_ctrl:
454
+ _target_: verl.trainer.config.KLControlConfig
455
+ type: fixed
456
+ kl_coef: 0.001
457
+ horizon: 10000
458
+ target_kl: 0.1
459
+ use_pf_ppo: false
460
+ pf_ppo:
461
+ reweight_method: pow
462
+ weight_pow: 2.0
463
+ high_level_gamma: 0.95
464
+ bi_level_gae: false
465
+ trainer:
466
+ balance_batch: true
467
+ total_epochs: 30
468
+ total_training_steps: 200
469
+ project_name: ragen_latest
470
+ experiment_name: frozen_lake-ppo
471
+ logger:
472
+ - console
473
+ - wandb
474
+ log_val_generations: 0
475
+ rollout_data_dir: null
476
+ validation_data_dir: null
477
+ nnodes: 1
478
+ n_gpus_per_node: 1
479
+ save_freq: 100
480
+ esi_redundant_time: 0
481
+ resume_mode: auto
482
+ resume_from_path: null
483
+ val_before_train: true
484
+ val_only: false
485
+ test_freq: 10
486
+ critic_warmup: 0
487
+ default_hdfs_dir: null
488
+ del_local_ckpt_after_load: false
489
+ default_local_dir: checkpoints/${trainer.project_name}/${trainer.experiment_name}
490
+ max_actor_ckpt_to_keep: 1
491
+ max_critic_ckpt_to_keep: 1
492
+ ray_wait_register_center_timeout: 300
493
+ device: cuda
494
+ use_legacy_worker_impl: auto
495
+ local_log_dir: results/
496
+ validation_steps: 1
497
+ generations_to_log_to_wandb:
498
+ val: 20
499
+ global_profiler:
500
+ _target_: verl.utils.profiler.ProfilerConfig
501
+ tool: null
502
+ steps: null
503
+ profile_continuous_steps: false
504
+ save_path: outputs/profile
505
+ global_tool_config:
506
+ nsys:
507
+ _target_: verl.utils.profiler.config.NsightToolConfig
508
+ discrete: false
509
+ controller_nsight_options:
510
+ trace: cuda,nvtx,cublas,ucx
511
+ cuda-memory-usage: 'true'
512
+ cuda-graph-trace: graph
513
+ worker_nsight_options:
514
+ trace: cuda,nvtx,cublas,ucx
515
+ cuda-memory-usage: 'true'
516
+ cuda-graph-trace: graph
517
+ capture-range: cudaProfilerApi
518
+ capture-range-end: null
519
+ kill: none
520
+ torch_memory:
521
+ trace_alloc_max_entries: 100000
522
+ stack_depth: 32
523
+ context: all
524
+ stacks: all
525
+ kw_args: {}
526
+ ray_kwargs:
527
+ ray_init:
528
+ num_cpus: null
529
+ timeline_json_file: null
530
+ custom_envs:
531
+ SimpleSokoban:
532
+ env_type: sokoban
533
+ max_actions_per_traj: 10
534
+ env_instruction: "You are solving the Sokoban puzzle. \nYou are the player and\
535
+ \ you need to push all boxes to targets. \nWhen you are right next to a box,\
536
+ \ you can push it by moving in the same direction. \nYou cannot push a box through\
537
+ \ a wall, and you cannot pull a box. \nThe answer should be a sequence of actions,\
538
+ \ like <answer>Right || Right || Up</answer>\n"
539
+ max_tokens: 100
540
+ env_config:
541
+ dim_x: 6
542
+ dim_y: 6
543
+ num_boxes: 1
544
+ max_steps: 100
545
+ LargerSokoban:
546
+ env_type: sokoban
547
+ max_actions_per_traj: 10
548
+ env_instruction: "You are solving the Sokoban puzzle. \nYou are the player and\
549
+ \ you need to push all boxes to targets. \nWhen you are right next to a box,\
550
+ \ you can push it by moving in the same direction. \nYou cannot push a box through\
551
+ \ a wall, and you cannot pull a box. \nThe answer should be a sequence of actions,\
552
+ \ like <answer>Right || Right || Up</answer>\n"
553
+ max_tokens: 100
554
+ env_config:
555
+ dim_x: 8
556
+ dim_y: 8
557
+ num_boxes: 2
558
+ max_steps: 100
559
+ search_depth: 10
560
+ SokobanDifferentGridVocab:
561
+ env_type: sokoban
562
+ max_actions_per_traj: 10
563
+ env_instruction: "You are solving the Sokoban puzzle. \nYou are the player and\
564
+ \ you need to push all boxes to targets. \nWhen you are right next to a box,\
565
+ \ you can push it by moving in the same direction. \nYou cannot push a box through\
566
+ \ a wall, and you cannot pull a box. \nThe answer should be a sequence of actions,\
567
+ \ like <answer>Right || Right || Up</answer>\n"
568
+ max_tokens: 100
569
+ env_config:
570
+ search_depth: 30
571
+ dim_x: 6
572
+ dim_y: 6
573
+ num_boxes: 1
574
+ max_steps: 100
575
+ grid_lookup:
576
+ 0: W
577
+ 1: .
578
+ 2: G
579
+ 3: C
580
+ 4: B
581
+ 5: A
582
+ 6: '@'
583
+ grid_vocab:
584
+ W: wall
585
+ .: empty
586
+ G: target
587
+ C: box on target
588
+ B: box
589
+ A: player
590
+ '@': player on target
591
+ CoordSokoban:
592
+ env_type: sokoban
593
+ max_actions_per_traj: 10
594
+ env_instruction: "You are solving the Sokoban puzzle. You are the player and you\
595
+ \ need to push all boxes to targets.\nYou are provided with a symbol grid and\
596
+ \ the zero-indexed coordinates of the player, each box, and each target. \n\
597
+ Coordinates range from the top-left corner (0, 0) to the bottom-right corner\
598
+ \ (5, 5). \nWhen you are exactly next to a box, you can push it by moving in\
599
+ \ the same direction. \nYou cannot push a box through a wall, and you cannot\
600
+ \ pull a box.\nThe answer should be a sequence of actions, like <answer>Right\
601
+ \ || Right || Up</answer>.\n"
602
+ max_tokens: 120
603
+ env_config:
604
+ dim_x: 6
605
+ dim_y: 6
606
+ num_boxes: 1
607
+ max_steps: 100
608
+ observation_format: grid_coord
609
+ VisualSimpleSokoban:
610
+ env_type: sokoban
611
+ max_actions_per_traj: 10
612
+ env_instruction: You are solving the Sokoban puzzle. You are the player and you
613
+ need to push all boxes to targets. When you are right next to a box, you can
614
+ push it by moving in the same direction. You cannot push a box through a wall,
615
+ and you cannot pull a box. The answer should be a sequence of actions, like
616
+ <answer>Right || Right || Up</answer>
617
+ max_tokens: 100
618
+ env_config:
619
+ dim_x: 6
620
+ dim_y: 6
621
+ num_boxes: 1
622
+ max_steps: 100
623
+ render_mode: rgb_array
624
+ Countdown:
625
+ env_type: countdown
626
+ max_actions_per_traj: 1
627
+ env_instruction: 'You are solving the Countdown puzzle. You should use the num
628
+ list to create an equation that equals the target. Example answer format: <think>
629
+ To find an equation using [3, 5, 2] to get 4. Let''s check 2 + 5 = 7, 7 - 3
630
+ = 4. So the answer is 2 + 5 - 3 = 4. </think><answer>2 + 5 - 3</answer>'
631
+ max_tokens: 100
632
+ env_config: null
633
+ Bandit:
634
+ env_type: bandit
635
+ max_actions_per_traj: 1
636
+ env_instruction: ''
637
+ max_tokens: 100
638
+ env_config:
639
+ split: train
640
+ BanditTest:
641
+ env_type: bandit
642
+ max_actions_per_traj: 1
643
+ env_instruction: ''
644
+ max_tokens: 100
645
+ env_config:
646
+ split: test
647
+ FrozenLake:
648
+ env_type: frozen_lake
649
+ max_actions_per_traj: 10
650
+ env_instruction: 'You are solving the FrozenLake puzzle. Forbid the whole and
651
+ go to the target. You may move to the unintended direction due to the slippery
652
+ ice. Example answer format: <think>To forbid the hole and go to the target,
653
+ I should go left then go up.</think><answer>Left || Up</answer>'
654
+ max_tokens: 100
655
+ env_config: null
656
+ CoordFrozenLake:
657
+ env_type: frozen_lake
658
+ max_actions_per_traj: 10
659
+ env_instruction: 'You are solving the FrozenLake puzzle. The observation includes
660
+ both a symbol grid and zero-indexed coordinates for the start, goal, player,
661
+ and any holes.
662
+
663
+ Coordinates range from the top-left corner (0, 0) to the bottom-right corner
664
+ (5, 5).
665
+
666
+ Beware that the ice is slippery, so the agent might slide and end up in an unintended
667
+ tile.
668
+
669
+ Respond with a sequence of actions such as <answer>Left || Up || Up</answer>.
670
+
671
+ '
672
+ max_tokens: 120
673
+ env_config:
674
+ observation_format: grid_coord
675
+ MetamathQA:
676
+ env_type: metamathqa
677
+ max_actions_per_traj: 1
678
+ env_instruction: 'You are solving Math problems. '
679
+ max_tokens: 100
680
+ env_config: null
681
+ WebShop:
682
+ env_type: webshop
683
+ max_actions_per_traj: 9
684
+ env_instruction: 'You are browsing an online shop. Based on the instruction, buy
685
+ a product that close to the production description. You need to search, read
686
+ the search results, pick a product, choose the size and color and buy. You should
687
+ only choose action from the available actions list provided later. Example
688
+ process: I need a gingko light and 20x20 pillow cover that is hand painted.
689
+ First search[gingko light 20x20 pillow cover hand painted], answer format: <answer>search[blanket
690
+ with fleece throw]</answer>. Valid answer is search[<keywords>] or click[<clickable>].'
691
+ max_tokens: 200
692
+ env_config:
693
+ dataset: small
694
+ Lean:
695
+ env_type: lean
696
+ max_actions_per_traj: 30
697
+ env_instruction: You are a Lean theorem prover. Given a Lean theorem statement,
698
+ propose a sequence of tactics that completes the proof. Think step by step about
699
+ which tactics to apply next. Provide tactics separated by '||', for example
700
+ <answer>intro || simp || rfl</answer>.
701
+ max_tokens: 512
702
+ env_config: null
703
+ system:
704
+ CUDA_VISIBLE_DEVICES: 3
705
+ seed:
706
+ train: 10000
707
+ val: 123
708
+ micro_batch_size_per_gpu: 4
709
+ ppo_mini_batch_size: 32
710
+ model_path: /mnt/general/wanghy/RAGEN_1111/saves/global_step_200/actor_hf_qwen
711
+ enable_response_mask: true
712
+ grpo_advantage_length_weight: false
713
+ lora:
714
+ rank: 0
715
+ alpha: 64
716
+ target_modules: all-linear
717
+ agent_proxy:
718
+ max_context_window: -1
719
+ max_turn: 5
720
+ action_sep: '||'
721
+ max_actions_per_turn: 2
722
+ use_turn_scores: false
723
+ enable_think: true
724
+ reward_normalization:
725
+ grouping: state
726
+ method: identity
727
+ es_manager:
728
+ format_penalty: -0.1
729
+ train:
730
+ env_groups: 8
731
+ group_size: 16
732
+ env_configs:
733
+ tags:
734
+ - CoordFrozenLake
735
+ n_groups:
736
+ - 8
737
+ val:
738
+ env_groups: 32
739
+ group_size: 16
740
+ env_configs:
741
+ tags:
742
+ - CoordFrozenLake
743
+ n_groups:
744
+ - 32
745
+ ctx_manager:
746
+ generation:
747
+ gen_config:
748
+ response_length: ${actor_rollout_ref.rollout.response_length}
749
+ temperature: ${actor_rollout_ref.rollout.temperature}
750
+ top_p: ${actor_rollout_ref.rollout.top_p}
751
+ top_k: ${actor_rollout_ref.rollout.top_k}
752
+ kwargs: null
outputs/2025-11-17/14-54-16/.hydra/hydra.yaml ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - system.CUDA_VISIBLE_DEVICES=3
116
+ - trainer.experiment_name=frozen_lake-ppo
117
+ - algorithm.adv_estimator=gae
118
+ - algorithm.kl_ctrl.kl_coef=0.001
119
+ - actor_rollout_ref.actor.kl_loss_coef=0.001
120
+ - actor_rollout_ref.actor.clip_ratio_high=0.2
121
+ - actor_rollout_ref.rollout.rollout_filter_ratio=1
122
+ job:
123
+ name: train
124
+ chdir: null
125
+ override_dirname: actor_rollout_ref.actor.clip_ratio_high=0.2,actor_rollout_ref.actor.kl_loss_coef=0.001,actor_rollout_ref.rollout.rollout_filter_ratio=1,algorithm.adv_estimator=gae,algorithm.kl_ctrl.kl_coef=0.001,system.CUDA_VISIBLE_DEVICES=3,trainer.experiment_name=frozen_lake-ppo
126
+ id: ???
127
+ num: ???
128
+ config_name: _3_frozen_lake
129
+ env_set: {}
130
+ env_copy: []
131
+ config:
132
+ override_dirname:
133
+ kv_sep: '='
134
+ item_sep: ','
135
+ exclude_keys: []
136
+ runtime:
137
+ version: 1.3.2
138
+ version_base: '1.3'
139
+ cwd: /mnt/general/wanghy/RAGEN
140
+ config_sources:
141
+ - path: hydra.conf
142
+ schema: pkg
143
+ provider: hydra
144
+ - path: /mnt/general/wanghy/RAGEN/config
145
+ schema: file
146
+ provider: main
147
+ - path: /mnt/general/wanghy/RAGEN/verl/verl/trainer/config
148
+ schema: file
149
+ provider: command-line
150
+ - path: ''
151
+ schema: structured
152
+ provider: schema
153
+ output_dir: /mnt/general/wanghy/RAGEN/outputs/2025-11-17/14-54-16
154
+ choices:
155
+ reward_model: dp_reward_model
156
+ critic: dp_critic
157
+ critic/../engine@critic.model.fsdp_config: fsdp
158
+ critic/../optim@critic.optim: fsdp
159
+ model@actor_rollout_ref.model: hf_model
160
+ rollout@actor_rollout_ref.rollout: rollout
161
+ ref@actor_rollout_ref.ref: dp_ref
162
+ ref/../engine@actor_rollout_ref.ref.fsdp_config: fsdp
163
+ data: legacy_data
164
+ actor@actor_rollout_ref.actor: dp_actor
165
+ actor/../engine@actor_rollout_ref.actor.fsdp_config: fsdp
166
+ actor/../optim@actor_rollout_ref.actor.optim: fsdp
167
+ hydra/env: default
168
+ hydra/callbacks: null
169
+ hydra/job_logging: default
170
+ hydra/hydra_logging: default
171
+ hydra/hydra_help: default
172
+ hydra/help: default
173
+ hydra/sweeper: basic
174
+ hydra/launcher: basic
175
+ hydra/output: default
176
+ verbose: false
outputs/2025-11-17/14-54-16/.hydra/overrides.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ - system.CUDA_VISIBLE_DEVICES=3
2
+ - trainer.experiment_name=frozen_lake-ppo
3
+ - algorithm.adv_estimator=gae
4
+ - algorithm.kl_ctrl.kl_coef=0.001
5
+ - actor_rollout_ref.actor.kl_loss_coef=0.001
6
+ - actor_rollout_ref.actor.clip_ratio_high=0.2
7
+ - actor_rollout_ref.rollout.rollout_filter_ratio=1
outputs/2025-11-17/14-54-16/train.log ADDED
File without changes