Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions llmlingua/prompt_compressor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023 Microsoft
# Copyright (c) 2023-2025 Microsoft
# Licensed under The MIT License [see LICENSE for details]

import bisect
Expand Down Expand Up @@ -1335,7 +1335,6 @@ def sync_sentence(sentences, text):
sentence_ppl = [
self.get_condition_ppl(sentence, question, condition_in_question)
.cpu()
.numpy()
.item()
for sentence in context_sentences
]
Expand Down
Loading