[Qwen3.5] Enable nvfp4 checkpoint (#18937)

This commit is contained in:
hlu1
2026-02-19 12:24:05 +08:00
committed by GitHub
parent 443b1a88d1
commit bba2fc49a1
3 changed files with 26 additions and 8 deletions
+3 -1
View File
@@ -3411,7 +3411,9 @@ def get_rope(
elif "type" in rope_scaling:
scaling_type = rope_scaling["type"]
else:
raise ValueError("Unknown RoPE scaling type")
raise ValueError(
f"Unknown RoPE scaling type, rope_scaling is {rope_scaling}"
)
if scaling_type == "llama3":
scaling_factor = rope_scaling["factor"]