+
    œ°³j½  ã                   ót   € R t ^ RIt^ RIHt ^RIHt ^RIHt ]! RR7      ] ! R R]4      4       4       tR.t	R# )	zMAMBA configurationN)Ústrict)ÚPreTrainedConfig)Úauto_docstringzstate-spaces/mamba-2.8b)Ú
checkpointc                   ó¾   a a€ ] tR t^t oRtRtRtRt^t^ t	Rt
^ t^ t^ t^t^tRtRtRtR	tRtR
tRtRtR	tRtRtRtRtRtRtRtV 3R lt ]!R 4       t"V3R lt#Rt$Vt%V ;t&# )ÚMambaConfiga¾  
layer_norm_epsilon (`float`, *optional*, defaults to 1e-05):
    The epsilon to use in the layer normalization layers.
expand (`int`, *optional*, defaults to 2):
    Expanding factor used to determine the intermediate size.
use_bias (`bool`, *optional*, defaults to `False`):
    Whether or not to use bias in ["in_proj", "out_proj"] of the mixer block
use_conv_bias (`bool`, *optional*, defaults to `True`):
    Whether or not to use bias in the convolution layer of the mixer block.
residual_in_fp32 (`bool`, *optional*, defaults to `True`):
    Whether or not residuals should be in `float32`. If set to `False` residuals will keep the same `dtype` as the rest of the model
rescale_prenorm_residual (`bool`, *optional*, defaults to `False`):
    Whether or not to rescale `out_proj` weights when initializing.
use_mambapy (`bool`, *optional*, defaults to `False`):
    Determines the fallback strategy during training if the CUDA-based official implementation of Mamba is not available. If `True`,
    the mamba.py implementation is used. If `False`, the naive and slower implementation is used. Consider switching to the naive
    version if memory is limited.
use_associative_scan (`bool`, *optional*, defaults to `True`):
    Whether to use PyTorch's `torch._higher_order_ops.associative_scan` for the parallel scan instead of the naive
    sequential implementation. The associative scan is only active during `torch.compile` tracing and
    requires torch >= 2.9.0. Both paths are tested to produce numerically identical results (see
    `test_associative_scan_matches_sequential`). Set to `False` to fall back to the sequential loop.

Example:

```python
>>> from transformers import MambaConfig, MambaModel

>>> # Initializing a Mamba configuration
>>> configuration = MambaConfig()

>>> # Initializing a model (with random weights) from the configuration
>>> model = MambaModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```ÚmambaihÄ  i   gñhãˆµøä>FTÚsilugš™™™™™¹?Úautog      ð?gü©ñÒMbP?Úrandomg-Cëâ6?c                ó  <€ \        V P                  V P                  ,          4      V n        V P                  R 8X  d(   \
        P                  ! V P                  ^,          4      MV P                  V n        \        SV `   ! R/ VB  R# )r
   N© )	ÚintÚexpandÚhidden_sizeÚintermediate_sizeÚtime_step_rankÚmathÚceilÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s   &,€Ún/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/mamba/configuration_mamba.pyr   ÚMambaConfig.__post_init__^   sf   ø€ Ü!$ T§[¡[°4×3CÑ3CÕ%CÓ!DˆÔà04×0CÑ0CÀvÔ0MŒD�IŠI�d×&Ñ&¨Õ+Ô,ÐSW×SfÑSfð 	Ôô 	‰ÒÑ' Ô'ó    c                ó*   € R .V P                   ,          # )Úlinear_attention)Únum_hidden_layers)r   s   &r   Úlayer_typesÚMambaConfig.layer_typese   s   € à"Ð# d×&<Ñ&<Õ<Ð<r   c                ó¬  <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[;R&   S[ R,          ;R&   S[ R,          ;R&   S[ S[S[ ,          ,          R,          ;R	&   S[ ;R
&   S[ ;R&   S[;R&   S[;R&   S[;R&   S[;R&   S[;R&   S[S[ ,          ;R&   S[;R&   S[;R&   S[;R&   S[;R&   S[;R&   S[;R&   S[;R&   S[;R&   S[;R&   S[;R&   # )é   Ú
vocab_sizer   Ú
state_sizer   Úlayer_norm_epsilonNÚpad_token_idÚbos_token_idÚeos_token_idr   Úconv_kernelÚuse_biasÚuse_conv_biasÚ
hidden_actÚinitializer_rangeÚresidual_in_fp32r   Útime_step_scaleÚtime_step_minÚtime_step_maxÚtime_step_init_schemeÚtime_step_floorÚrescale_prenorm_residualÚ	use_cacheÚuse_mambapyÚuse_associative_scanÚtie_word_embeddings)r   ÚfloatÚlistÚboolÚstr)ÚformatÚ__classdict__s   "€r   Ú__annotate__ÚMambaConfig.__annotate__   s£  ø‡ ‚ ñV ÑñW ñX ÑñY ñZ Ññ[ ñ\ Ññ] ñ^ Ñ$ñ_ ñ` ˜•*Ñ ña ñb ˜•*Ñ ñc ñd ™™S�	•/ DÕ(Ñ,ñe ñf �Oñg ñh Ññi ñj Ññk ñl Ññm ñn Ñño ñp Ñ"ñq ñr Ñ!ñs ñt ™#•IÑ&ñu ñv Ñ ñw ñx Ñ ñy ñz Ññ{ ñ| Ñ)ñ} ñ~ Ñ!ñ ñ@ #Ñ*ñA ñB ÑñC ñD ÑñE ñF Ñ%ñG ñH Ñ$òI r   )r   r   )'Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú
model_typer$   r   r%   r   r&   r'   r(   r)   r   r*   r+   r,   r-   r.   r/   r   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r   Úpropertyr    Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r   r?   s   @@r   r   r      s½   ù‡ € ñ$ðL €Jà€JØ€KØ€JØÐØ $ÐØ €LØ €LØ+,€LØ€FØ€KØ€HØ€MØ€JØ"ÐØ!ÐØ &€NØ €OØ €MØ€MØ!)ÐØ!€OØ%*ÐØ€IØ€KØ!%ÐØ $Ðõ(ð ñ=ó ð=÷] … r   r   )
rF   r   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r   Ú__all__r   r   r   Ú<module>rQ      sM   ðñ ã å .å 3Ý #ñ Ð4Ô5ØôM=Ð"ó M=ó ó 6ðM=ð` ˆ/‚r   