removed bidirectional check for 31b (#4839)
Co-authored-by: Manan17 <shahmanan170602@gmail.coml>
This commit is contained in:
parent
c9664589bc
commit
f58f9ce2b6
1 changed files with 0 additions and 4 deletions
|
|
@ -54,10 +54,6 @@ class ModelArgs(BaseModelArgs):
|
|||
use_bidirectional_attention: Optional[str] = None
|
||||
|
||||
def __post_init__(self):
|
||||
if self.use_bidirectional_attention is not None:
|
||||
raise NotImplementedError(
|
||||
"Gemma4 bidirectional attention modes are not implemented in mlx-lm."
|
||||
)
|
||||
if self.layer_types is None:
|
||||
self.layer_types = [
|
||||
"sliding_attention" if (i + 1) % 6 else "full_attention"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue