mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-07-04 18:16:58 +00:00
convert : Llama4 RoPE fix (#12889)
This commit is contained in:
@ -1750,7 +1750,7 @@ class LlamaModel(Model):
|
|||||||
|
|
||||||
low_freq_wavelen = old_context_len / low_freq_factor
|
low_freq_wavelen = old_context_len / low_freq_factor
|
||||||
high_freq_wavelen = old_context_len / high_freq_factor
|
high_freq_wavelen = old_context_len / high_freq_factor
|
||||||
assert low_freq_wavelen != high_freq_wavelen
|
# assert low_freq_wavelen != high_freq_wavelen # Errors for Llama4
|
||||||
|
|
||||||
rope_factors = []
|
rope_factors = []
|
||||||
for freq in freqs:
|
for freq in freqs:
|
||||||
|
Reference in New Issue
Block a user