Commit 9756373
Add test for "generate" endpoint (#4181)
* TEST: add generate test
* update test_input_ids_mode
* fix lint
* update rl test
* fix mm processor args
* comment
* optimize
* add test case
* add comments
* fix typo
* fix generate
* warning
* remove
* check parameters for /generate endpoint
* update generate test
* update toolkit
---------
Co-authored-by: zxy <zhou0493@e.ntu.edu.sg>
Co-authored-by: lvhan028 <lvhan_028@163.com>1 parent c5a05c1 commit 9756373
File tree
5 files changed
+1222
-5
lines changed- autotest
- evaluate
- interface/restful
- utils
- lmdeploy/serve/openai
5 files changed
+1222
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
0 commit comments