MCPcopy Create free account

hub / github.com/ml-explore/mlx-lm / functions

Functions2,622 in github.com/ml-explore/mlx-lm

Method__init__
(self, config: ModelArgs)
mlx_lm/models/plamo2.py:379
Method__init__
(self, config: ModelArgs)
mlx_lm/models/plamo2.py:412
Method__init__
(self, config: ModelArgs)
mlx_lm/models/plamo2.py:440
Method__init__
(self, args: ModelArgs)
mlx_lm/models/phimoe.py:33
Method__init__
(self, args: ModelArgs)
mlx_lm/models/phimoe.py:90
Method__init__
(self, args: ModelArgs)
mlx_lm/models/phimoe.py:115
Method__init__
(self, args: ModelArgs)
mlx_lm/models/phimoe.py:146
Method__init__
(self, args: ModelArgs, is_local_attention: bool = False)
mlx_lm/models/afmoe.py:49
Method__init__
(self, args: ModelArgs)
mlx_lm/models/afmoe.py:159
Method__init__
(self, args: ModelArgs)
mlx_lm/models/afmoe.py:168
Method__init__
(self, args: ModelArgs, layer_idx: int, use_sliding: bool = False)
mlx_lm/models/afmoe.py:243
Method__init__
(self, args: ModelArgs)
mlx_lm/models/afmoe.py:279
Method__init__
(self, args: ModelArgs)
mlx_lm/models/afmoe.py:333
Method__init__
( self, dim, max_position_embeddings=2048, base=10000, scaling_factor=
mlx_lm/models/deepseek_v2.py:83
Method__init__
(self, config: ModelArgs)
mlx_lm/models/deepseek_v2.py:130
Method__init__
( self, config: ModelArgs, hidden_size: int = None, intermediate_size: int = None )
mlx_lm/models/deepseek_v2.py:249
Method__init__
(self, config: ModelArgs)
mlx_lm/models/deepseek_v2.py:269
Method__init__
(self, config: ModelArgs)
mlx_lm/models/deepseek_v2.py:305
Method__init__
(self, config: ModelArgs, layer_idx: int)
mlx_lm/models/deepseek_v2.py:339
Method__init__
(self, config: ModelArgs)
mlx_lm/models/deepseek_v2.py:370
Method__init__
( self, dims: int, max_position_embeddings: int = 2048, traditional: bool = Fa
mlx_lm/models/internlm2.py:48
Method__init__
(self, args: ModelArgs)
mlx_lm/models/internlm2.py:86
Method__init__
(self, args: ModelArgs)
mlx_lm/models/internlm2.py:164
Method__init__
(self, args: ModelArgs)
mlx_lm/models/internlm2.py:185
Method__init__
(self, args: ModelArgs)
mlx_lm/models/internlm2.py:212
Method__init__
(self, args: ModelArgs)
mlx_lm/models/olmo.py:43
Method__init__
(self, args: ModelArgs)
mlx_lm/models/olmo.py:114
Method__init__
(self, args: ModelArgs)
mlx_lm/models/olmo.py:149
Method__init__
(self, args: ModelArgs)
mlx_lm/models/qwen.py:32
Method__init__
(self, args: ModelArgs)
mlx_lm/models/qwen.py:97
Method__init__
(self, args: ModelArgs)
mlx_lm/models/qwen.py:118
Method__init__
(self, config: ModelArgs)
mlx_lm/models/qwen.py:138
Method__init__
(self, args: ModelArgs)
mlx_lm/models/olmoe.py:42
Method__init__
(self, args: ModelArgs)
mlx_lm/models/olmoe.py:97
Method__init__
(self, args: ModelArgs)
mlx_lm/models/olmoe.py:129
Method__init__
(self, args: ModelArgs)
mlx_lm/models/olmoe.py:150
Method__init__
(self, args: ModelArgs)
mlx_lm/models/pixtral.py:27
Method__init__
(self, args: ModelArgs)
mlx_lm/models/nemotron.py:62
Method__init__
(self, args: ModelArgs)
mlx_lm/models/nemotron.py:139
Method__init__
(self, args: ModelArgs)
mlx_lm/models/nemotron.py:164
Method__init__
(self, args: ModelArgs)
mlx_lm/models/nemotron.py:194
Method__init__
(self, args: ModelArgs)
mlx_lm/models/phi3.py:49
Method__init__
(self, args: ModelArgs)
mlx_lm/models/phi3.py:134
Method__init__
(self, args: ModelArgs)
mlx_lm/models/phi3.py:160
Method__init__
(self, args: ModelArgs)
mlx_lm/models/phi3.py:191
Method__init__
(self, args: ModelArgs)
mlx_lm/models/helium.py:32
Method__init__
(self, args: ModelArgs)
mlx_lm/models/helium.py:80
Method__init__
(self, args: ModelArgs)
mlx_lm/models/helium.py:100
Method__init__
(self, args: ModelArgs)
mlx_lm/models/helium.py:125
Method__init__
Su Scaled Rotary Embedding layer. Args: dims (int): The feature dimensions to be rotated. base (int, optiona
mlx_lm/models/rope_utils.py:11
Method__init__
( self, dims: int, max_position_embeddings: int = 2048, traditional: bool = Fa
mlx_lm/models/rope_utils.py:75
Method__init__
( self, dims: int, rotated_dims: int, traditional: bool = False, base:
mlx_lm/models/rope_utils.py:200
Method__init__
(self, args: ModelArgs)
mlx_lm/models/qwen3_vl_moe.py:21
Method__init__
(self, hidden_size: int, eps: float, group_size: int)
mlx_lm/models/nemotron_h.py:77
Method__init__
(self, args: ModelArgs)
mlx_lm/models/nemotron_h.py:92
Method__init__
(self, args: ModelArgs)
mlx_lm/models/nemotron_h.py:238
Method__init__
(self, args: ModelArgs, intermediate_size=None)
mlx_lm/models/nemotron_h.py:298
Method__init__
(self, config: ModelArgs)
mlx_lm/models/nemotron_h.py:348
Method__init__
(self, config: ModelArgs)
mlx_lm/models/nemotron_h.py:373
Method__init__
(self, args: ModelArgs, block_type: str)
mlx_lm/models/nemotron_h.py:428
Method__init__
(self, args: ModelArgs)
mlx_lm/models/nemotron_h.py:459
Method__init__
(self, args: ModelArgs, use_rope)
mlx_lm/models/llama4_text.py:32
Method__init__
(self, args: ModelArgs, use_rope)
mlx_lm/models/llama4_text.py:103
Method__init__
(self, args: ModelArgs)
mlx_lm/models/llama4_text.py:130
Method__init__
(self, args: ModelArgs)
mlx_lm/models/llama4_text.py:159
Method__init__
(self, args: ModelArgs, is_local: Optional[bool])
mlx_lm/models/exaone4.py:35
Method__init__
(self, args: ModelArgs, is_local: bool)
mlx_lm/models/exaone4.py:110
Method__init__
(self, args: ModelArgs)
mlx_lm/models/exaone4.py:138
Method__init__
(self, args: ModelArgs)
mlx_lm/models/exaone4.py:188
Method__iter__
(self)
mlx_lm/server.py:263
Method__len__
(self)
mlx_lm/generate.py:1056
Method__len__
(self)
mlx_lm/generate.py:1290
Method__len__
(self)
mlx_lm/tuner/datasets.py:35
Method__len__
(self)
mlx_lm/tuner/datasets.py:82
Method__len__
(self)
mlx_lm/tuner/datasets.py:132
Method__len__
(self)
mlx_lm/tuner/datasets.py:154
Method__len__
(self)
mlx_lm/tuner/datasets.py:171
Method__len__
(self)
mlx_lm/models/cache.py:1635
Method__len__
(self)
mlx_lm/models/cache.py:1667
Method__lt__
(self, other)
mlx_lm/share.py:32
Method__next__
(self)
mlx_lm/server.py:268
Method__post_init__
(self)
mlx_lm/models/kimi_k25.py:21
Method__post_init__
(self)
mlx_lm/models/recurrent_gemma.py:33
Method__post_init__
(self)
mlx_lm/models/smollm3.py:18
Method__post_init__
(self)
mlx_lm/models/gemma4_text.py:50
Method__post_init__
(self)
mlx_lm/models/lfm2_moe.py:43
Method__post_init__
(self)
mlx_lm/models/glm_moe_dsa.py:46
Method__post_init__
(self)
mlx_lm/models/gpt2.py:24
Method__post_init__
(self)
mlx_lm/models/lfm2-vl.py:19
Method__post_init__
(self)
mlx_lm/models/exaone_moe.py:47
Method__post_init__
(self)
mlx_lm/models/qwen3_5.py:68
Method__post_init__
(self)
mlx_lm/models/llama.py:37
Method__post_init__
(self)
mlx_lm/models/lfm2.py:40
Method__post_init__
(self)
mlx_lm/models/qwen2_moe.py:33
Method__post_init__
(self)
mlx_lm/models/olmo3.py:34
Method__post_init__
(self)
mlx_lm/models/olmo2.py:33
Method__post_init__
(self)
mlx_lm/models/gemma3.py:20
Method__post_init__
(self)
mlx_lm/models/gemma4.py:20
Method__post_init__
(self)
mlx_lm/models/kimi_vl.py:50
Method__post_init__
(self)
mlx_lm/models/llama4.py:47
← previousnext →1,701–1,800 of 2,622, ranked by callers