[V1][Sampler] Avoid an operation during temperature application (#13587)
This commit is contained in:
@@ -9,7 +9,7 @@ import torch
|
||||
@dataclass
|
||||
class SamplingMetadata:
|
||||
|
||||
temperature: torch.Tensor
|
||||
temperature: Optional[torch.Tensor]
|
||||
all_greedy: bool
|
||||
all_random: bool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user