Fix CPU Attention overflow issue #27822
add GetTotalPhysicalMemoryBytes helper
c9f71907
add test
b72abd5e
fix overflow issue
1769061a
lint
20332e89
update comment
d30ee590
increase tolerance for test output
70cd5b14
expect test overflow in 32-bit builds, update test name and comment
605328f3
Fix integer overflow in FP16 softmax allocation
c3ba15bc
Apply suggestion from @Copilot
8c69b10a
propagate safeint
a168897c
Add float16 header.
33cc1ea7
improve size_t overflow check
136a6e22
update comments
9923ec08
edgchen1
marked this pull request as ready for review 15 days ago
edgchen1
enabled auto-merge (squash) 7 days ago
edgchen1
merged
2bf09e93
into main 6 days ago
edgchen1
deleted the edgchen1/fix_attention_softmax_overflow branch 6 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub