Skip to content

Commit

Permalink
Revert "print when caching"
Browse files Browse the repository at this point in the history
This reverts commit 363d806.
  • Loading branch information
thejaminator committed May 6, 2023
1 parent 363d806 commit 59bbdb8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion elk/extraction/extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ def extract_hiddens(
if is_enc_dec:
inputs["labels"] = answer
if cached_question_kv is not None:
print("Using cached question key-values")
# If we cached the question, all we need to pass is the answer
inputs["past_key_values"] = cached_question_kv
inputs["input_ids"] = answer
Expand Down

0 comments on commit 59bbdb8

Please sign in to comment.