Hessian-calibrated quants trip the per-element bound on every tensor

Đang mở
#8 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
44/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
machine-learning

Hướng nghiên cứu

Start by reading the quantdiff code that calculates per-element bounds and produces the verdict; the issue does not name specific files or tests. Reproduce the linked pull request's report and trace how the error ratio and rank-1 share are calculated. Done means Hessian-calibrated weights can be reported with a clear explanation when those measures are clean, either by adjusting the verdict or adding a --calibrated mode.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Found in the real run posted on https://github.com/STRML/quantdiff/pull/7: all 23 affine tensors of ddalcu/DeepSeek-V4.1-Flash-1017-MLX-Serve-iQ-MLX-3.0bpw flagged for 1-6% of elements past half a quant step, while their error stayed at most 1.09x a clean re-quantization (median 0.99x) and their one-direction excess at most 0.0007. The pack rounds with Hessians from the released model's activations (GPTQ-style), which moves weights past the nearest grid point on purpose. Options: report the bound without flagging when the error ratio and rank-1 share are both clean, or a --calibrated mode. Either way the verdict should say why.

Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
5 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của STRML/quantdiff

Tất cả issue của STRML/quantdiff

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.