convert : Llama4 RoPE fix (#12889)
This commit is contained in:
parent
8ac9f5d765
commit
ec6c09d0fa
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue