mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 11:54:52 +00:00
remove unused vars
This commit is contained in:
parent
d3cb0d3b83
commit
b973c101c5
@ -218,10 +218,6 @@ class HeterogeneousNextTokenChooser:
|
|||||||
self.seeds = seeds
|
self.seeds = seeds
|
||||||
self.do_sample = do_sample
|
self.do_sample = do_sample
|
||||||
|
|
||||||
self.cuda_graph = None
|
|
||||||
self.static_scores = None
|
|
||||||
self.static_warped_scores = None
|
|
||||||
|
|
||||||
def __call__(self, input_ids: torch.Tensor, scores: torch.Tensor):
|
def __call__(self, input_ids: torch.Tensor, scores: torch.Tensor):
|
||||||
if self.watermark_processor:
|
if self.watermark_processor:
|
||||||
scores = self.watermark_processor(input_ids, scores)
|
scores = self.watermark_processor(input_ids, scores)
|
||||||
|
Loading…
Reference in New Issue
Block a user