Improve the control of streaming and improve the first token latency in streaming (#117)
This commit is contained in:
@@ -112,6 +112,7 @@ def test_generate_worker(
|
||||
prefill_params = (
|
||||
torch.tensor(np.array(input_ids)).cuda(),
|
||||
np.array(pixel_values),
|
||||
[None],
|
||||
[offset],
|
||||
*params,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user