You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In vllm/model_executor/layers/rotary_embedding.py, function _yarn_linear_ramp_mask need a parameter device and it doesn't have a default value, but in line:307: inv_freq_mask = (1 - _yarn_linear_ramp_mask(low, high, self.rotary_dim // 2, dtype=torch.float)) * self.extrapolation_factor don't use this parameter.
The text was updated successfully, but these errors were encountered:
In vllm/model_executor/layers/rotary_embedding.py, function
_yarn_linear_ramp_mask
need a parameter device and it doesn't have a default value, but in line:307:inv_freq_mask = (1 - _yarn_linear_ramp_mask(low, high, self.rotary_dim // 2, dtype=torch.float)) * self.extrapolation_factor
don't use this parameter.The text was updated successfully, but these errors were encountered: