Commit 3786bcb
fix: Use flat padding for NVFP4 output quantization
Row-level padding corrupted block scales across row boundaries.
Instead, flatten M*N and pad only the flat vector if needed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 18f068f commit 3786bcb
1 file changed
+11
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1268 | 1268 | | |
1269 | 1269 | | |
1270 | 1270 | | |
1271 | | - | |
| 1271 | + | |
| 1272 | + | |
1272 | 1273 | | |
1273 | 1274 | | |
1274 | | - | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
1287 | 1284 | | |
1288 | 1285 | | |
1289 | 1286 | | |
| |||
0 commit comments