Update server/text_generation_server/utils/logits_process.py

Co-authored-by: drbh <david.richard.holtz@gmail.com>
This commit is contained in:
Erik Kaunismäki 2024-08-01 17:38:09 +02:00 committed by GitHub
parent 0ba10078e8
commit 82240bf44c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -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