Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

MiniMax H3 full INT8/BF16 are unstable in ComfyUI; pruned is fine

Đang mở
#85 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
74/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả 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 in comfy/ldm/minimax/model.py and inspect the timestep/modulation path around the reported cast of t_emb. Reproduce with the full INT8 and BF16 checkpoints, comparing against the pruned checkpoint and checking frames at the reported 17-frame cadence. Done means the full checkpoints no longer show periodic brightness dips or flashing, while the pruned checkpoint remains unaffected.

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

Mô tả

I found a reproducible issue with MiniMax H3 in ComfyUI.

Problem
These full checkpoints show periodic brightness dips / flashing / temporal instability:

  • minimax_h3_fl2va_int8_convrot.safetensors
  • minimax_h3_fl2va_bf16.safetensors
    This checkpoint does not:
  • minimax_h3_fl2va_pruned_int8_convrot.safetensors
    I also verified this is not the text encoder.

Cause
The issue appears related to this cast in comfy/ldm/minimax/model.py: t_emb = self.time_embedder(t_vals).to(dtype)
Changing it to:
t_emb = self.time_embedder(t_vals) fixed the issue locally for both full INT8 and full BF16.

Notes
I compared full vs pruned and found all 829 non-modulation tensors were byte-for-byte identical, so the problem appears to be in the modulation / AdaLN / time-embedding path.

The dips/spikes were periodic at a 17-frame cadence. At 24 fps, that is roughly every 0.708 seconds. In our affected runs, the artifact appeared at or very near frames 17, 34, 51, 68, 85, 102, 119, 136, 153, and 170. In the continuation workflow, the behavior also lined up with H3’s temporal structure: with a 39-frame context, the first visible dip appeared 12 newly generated frames later, which is exactly the next 17-frame boundary relative to the model’s 17n+5 temporal geometry. That regular cadence is a useful reproduction clue and should make it easy to inspect frame-by-frame.

Please investigate whether the full MiniMax H3 checkpoints are being downcast incorrectly in the timestep/modulation path.

Ngôn ngữ chính
Python
Star
9.8k
Fork
738
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 MiniMax-AI/MiniMax-H3

Tất cả issue của MiniMax-AI/MiniMax-H3

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.