[Desktop] weights failed to load: Agents-A1-NVFP4

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

Maintainer thường phản hồi trong vòng 1 ngày

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
22/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, pytorch
Lĩnh vực
ai

Hướng nghiên cứu

Start by searching the codebase for the WeightLoadError message and the quant config handling that decides which layers get NVFP4 weights. The mismatch is between model.layers.0.mlp.gate, which the checkpoint's quant config declares as nvfp4, and its bfloat16 tensor. Reproduce by loading the linked checkpoint and check whether the loader should skip or cast that layer. Done means that checkpoint loads without the error and existing quantized-model tests still pass.

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

Mô tả

new-model
Before you start
  • I have checked the supported models and this checkpoint is not listed there. A listed checkpoint that fails is a bug; use a Bug report instead.
  • I have read the Roadmap and this model is not already planned there.
  • I have read the FAQ.
  • I have searched existing issues and found no duplicate.
  • This is not a GGUF checkpoint. GGUF support is on the Roadmap; please do not open an issue for it.
Hugging Face link

https://huggingface.co/r0b0tlab/Agents-A1-NVFP4

Is the model architecture already supported

Yes, but this checkpoint or quantization does not load

Is the quantization already supported

Yes, but this checkpoint's weight format does not load

What happens when you load it
>>>>>>>> PASTE THE FULL SERVER LOG HERE <<<<<<<<
(copied with the "Copy server log" button in the failure dialog, or Logs -> Server status -> Copy)

WeightLoadError: ValueError: model.layers.0.mlp.gate.weight is torch.bfloat16 but the checkpoint's quant config declares model.layers.0.mlp.gate QuantScheme(nvfp4, WeightDesc(elem='e2m1', group=(1, 16
Anything else

Desktop 0.2.0-beta.23; engine 0.1.3+gfa0e9537d; NVIDIA GeForce RTX 4060, 8.00 GiB, driver 616.92; AMD Ryzen 5 5500, 31.9 GiB

Ngôn ngữ chính
Python
Star
14.2k
Fork
1.4k
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
107

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 FlashML-org/FreeToken

Tất cả issue của FlashML-org/FreeToken

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.