Update server/text_generation_server/utils/logits_process.py
Co-authored-by: drbh <david.richard.holtz@gmail.com>
This commit is contained in:
parent
0ba10078e8
commit
82240bf44c
|
@ -20,8 +20,6 @@ from transformers import (
|
|||
TypicalLogitsWarper,
|
||||
)
|
||||
|
||||
from transformers.generation.logits_process import _calc_banned_ngram_tokens
|
||||
|
||||
mempool = torch.cuda.graph_pool_handle() if torch.cuda.is_available() else None
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue