mx check: add a per-element bound like check_quant's
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 58/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- python
研究方向
Find the implementation of check_mx and the existing check_quant per-element bound, including how viol_frac handles affine quantization. Start by tracing how check_mx obtains each group’s E8M0 scale and applies its current error-ratio and rank-1 checks. Add a count for elements beyond half a step, using one step at the clipped edge, and check the affected cases against the reported clean and edited matrices.
由索引模型根據 Issue 內容生成。
描述
From the review of https://github.com/STRML/quantdiff/pull/1 (P2). check_mx judges an mxfp8/mxfp4 tensor on its error ratio and one-direction share only. Against a bf16 upstream, a sparse edit can stay under 1.5x the error norm, and its rank-1 share fades on large matrices: on a 64x256 matrix, 1 and 8 edited elements tripped only the rank-1 test (30% and 13% against 3% clean). The mx step is known from each group's E8M0 scale, so an element past half a step (one step at the clipped edge) can be counted the way `viol_frac" does for affine quants. FP8-to-mxfp8 and FP4-to-mxfp4 are unaffected: any difference already flags.
- 主要語言
- Python
- 星號
- 0
- 分支
- 0
- 平均合併
- 5 分鐘
- 30 天內合併 PR
- 3
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
STRML/quantdiff 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 3/5 1-2 天 新手友好度 54/100
-
難度 4/5 3-5 天 新手友好度 44/100
-
Stacked experts: fetch only the sampled expert slices, count decoded bytes in the prefetch budget未關閉
難度 4/5 1-2 天 新手友好度 48/100
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
btclib-org/btclib-ecc#404 ·
-
changelog investigate
難度 1/5 1 小時以內 新手友好度 78/100
ramnes/notion-sdk-py#430 ·
-
bug good first issue
難度 1/5 1 小時以內 新手友好度 91/100
hyeonjoong/debussy#56 ·
-
documentation
難度 2/5 1-3 小時 新手友好度 68/100
Lagrunge82/yandex-mail-mcp#43 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
liberation-data/drivine-python#252 · 1 則留言 ·
維護者通常 1 天內回覆