Repository navigation
add attention scaling to varlen for qwen3 - #2178
Conversation
|
Do we support varlen attention for deepseek_v3 / llama4 model? If not , do we want to explicitly fail when they apply varlen attention? I was asking because deepseek_v3 model also need a scale here: https://github.com/pytorch/torchtitan/blob/main/torchtitan/models/deepseek_v3/model/model.py#L308, but I see it haven't supported Varlen Attention yet |
@wwwjn we don't support varlen attn for those models, i can add a check in a separate pr |
tianyu-l
left a comment
There was a problem hiding this comment.
integration test (feature) failed, is it because it's not in pytorch yet?
yes, i have pytorch/pytorch#171199 to add to pytorch, we can land that first |
tianyu-l
left a comment
There was a problem hiding this comment.
let's land the pytorch change first
as title, fixes [pytorch#2170](pytorch#2170)
as title, fixes [pytorch#2170](pytorch#2170)
as title, fixes [pytorch#2170](pytorch#2170)
as title, fixes #2170