Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tensorrt_llm/_torch/modules/fused_moe/quantization.py
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ def load_all_fp4_weight_scales_and_alphas(
expert_idx = local_slot_id

if not torch.allclose(w1_weight_scale_2, w3_weight_scale_2):
logger.warning(
trtllm_logger.logger.warning(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#7993 fixed the issue by changing the import name 😄

f"w1_weight_scale_2 != w3_weight_scale_2 ({w1_weight_scale_2} != {w3_weight_scale_2}), selecting the larger value. Accuracy may be affected."
)
w1_weight_scale_2 = torch.max(w1_weight_scale_2,
Expand Down