mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-26 19:52:38 +00:00
Fix GQA shape inference (#18723)
The shape inference is always returning before getting the chance to infer the key/value outputs.
This commit is contained in:
parent
de32baeeef
commit
8d641229e6
1 changed files with 0 additions and 1 deletions
|
|
@ -259,7 +259,6 @@ void GroupQueryAttentionTypeAndShapeInference(ONNX_NAMESPACE::InferenceContext&
|
|||
*output_shape.add_dim() = query_dims[1];
|
||||
*output_shape.add_dim() = query_dims[2];
|
||||
updateOutputShape(ctx, 0, output_shape);
|
||||
return;
|
||||
} else {
|
||||
fail_shape_inference("Missing input 2 (value)");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue