1
0
mirror of https://github.com/ggerganov/llama.cpp.git synced 2025-04-26 19:36:05 +00:00

convert : Llama4 RoPE fix ()

This commit is contained in:
Daniel Han 2025-04-11 00:49:09 -07:00 committed by GitHub
parent 8ac9f5d765
commit ec6c09d0fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1750,7 +1750,7 @@ class LlamaModel(Model):
low_freq_wavelen = old_context_len / low_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 = []
for freq in freqs: