Commit ccba9d5
Aiter round mode control (#590)
* Adding AITER round mode control to USP attention calls.
* Added guarding so that AITER call does not break for earlier AITER commits that does not support changing the round mode
* Added a more robust way of checking if round mode is available. Also removed code duplication when checking if round mode is available when calling aiter flash attention
* changed aiter.ops.mha.flash_attn_func back to aiter.flash_attn_func as this was a misstake and should not have been changed in the first place.
* Indentation fix
---------
Co-authored-by: Kristian Sikiric <[email protected]>1 parent 78cb759 commit ccba9d5
1 file changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
| |||
175 | 183 | | |
176 | 184 | | |
177 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
178 | 194 | | |
179 | 195 | | |
180 | 196 | | |
181 | 197 | | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
| 198 | + | |
186 | 199 | | |
187 | 200 | | |
188 | 201 | | |
| |||
0 commit comments