You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vLLM currently doesn't provide access to attention scores during inference, which are essential for model analysis and interpretability research. #11862
Feature Request
Add the ability to retrieve attention scores during model inference, similar to HuggingFace's output_attentions=True parameter.
Motivation
Need to analyze token-level relationships in model outputs
Required for building visualization tools and debugging model behavior
Critical for research into attention mechanisms
Alternatives
No response
Additional context
No response
Before submitting a new issue...
Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
The text was updated successfully, but these errors were encountered:
I don't mean to get coordinates. I am using Llama-3.1-8b, let's say I want to extract data out of the input context, then I need the attention scores to be able to visualize where the model is looking. (Pure text-based, no vision)
These are ofcourse also present in decoder-only models.
🚀 The feature, motivation and pitch
Problem
vLLM currently doesn't provide access to attention scores during inference, which are essential for model analysis and interpretability research. #11862
Feature Request
Add the ability to retrieve attention scores during model inference, similar to HuggingFace's output_attentions=True parameter.
Motivation
Need to analyze token-level relationships in model outputs
Required for building visualization tools and debugging model behavior
Critical for research into attention mechanisms
Alternatives
No response
Additional context
No response
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: