[V1] Support per-request seed (#9945)
Signed-off-by: Nick Hill <nickhill@us.ibm.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from dataclasses import dataclass
|
||||
from typing import List, Optional
|
||||
from typing import Dict
|
||||
|
||||
import torch
|
||||
|
||||
@@ -16,7 +16,6 @@ class SamplingMetadata:
|
||||
no_top_p: bool
|
||||
no_top_k: bool
|
||||
|
||||
generators: List[Optional[torch.Generator]]
|
||||
no_generator: bool
|
||||
generators: Dict[int, torch.Generator]
|
||||
|
||||
max_num_logprobs: int
|
||||
|
||||
Reference in New Issue
Block a user