onnxruntime
d5c5fd8b - Replace AttentionParameters::v_hidden_size with hidden size accessors

Commit
16 days ago
Replace AttentionParameters::v_hidden_size with hidden size accessors Remove the ambiguous v_hidden_size member and use GetValueHiddenSize() / GetOutputHiddenSize() at the call sites, consistent with how the query and key hidden sizes are now expressed. PackedAttention now sets num_heads_kv so the accessors are valid there as well.
Author
Committer
Parents
Loading