Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx
/ functions
Functions
4,946 in github.com/ml-explore/mlx
⨍
Functions
4,946
◇
Types & classes
770
↳
Endpoints
5
↓ 1 callers
Function
gather_qmm_nax
mlx/backend/metal/quantized.cpp:576
↓ 1 callers
Function
gather_qmm_rhs
mlx/backend/metal/quantized.cpp:1215
↓ 1 callers
Function
gather_qmm_rhs_nax
mlx/backend/metal/quantized.cpp:1084
↓ 1 callers
Function
gather_qvm
mlx/backend/metal/quantized.cpp:1026
↓ 1 callers
Function
gelu
r"""Applies the Gaussian Error Linear Units function. .. math:: \textrm{GELU}(x) = x * \Phi(x) where :math:`\Phi(x)` is the Gaussian
python/mlx/nn/layers/activations.py:154
↓ 1 callers
Function
gelu_approx
r"""An approximation to Gaussian Error Linear Unit. See :func:`gelu` for the exact computation. This function approximates ``gelu`` with a m
python/mlx/nn/layers/activations.py:169
↓ 1 callers
Function
gelu_fast_approx
r"""A fast approximation to Gaussian Error Linear Unit. See :func:`gelu` for the exact computation. This function approximates ``gelu`` with
python/mlx/nn/layers/activations.py:186
↓ 1 callers
Function
gemv_axbpy
mlx/backend/metal/matmul.cpp:1043
↓ 1 callers
Function
gemv_masked
Batch ndim > 1 */
mlx/backend/metal/kernels/gemv_masked.h:644
↓ 1 callers
Function
gen_hadamard_codelet
mlx/backend/metal/hadamard.cpp:17
↓ 1 callers
Function
get_active_memory
mlx/backend/metal/allocator.cpp:252
↓ 1 callers
Method
get_active_memory
mlx/backend/no_gpu/allocator.cpp:30
↓ 1 callers
Method
get_active_memory
mlx/backend/metal/allocator.h:26
↓ 1 callers
Function
get_all_optimizers
()
python/tests/test_optimizers.py:25
↓ 1 callers
Function
get_arange_kernel
mlx/backend/metal/jit_kernels.cpp:11
↓ 1 callers
Function
get_binary_kernel
mlx/backend/metal/jit_kernels.cpp:104
↓ 1 callers
Function
get_binary_two_kernel
mlx/backend/metal/jit_kernels.cpp:121
↓ 1 callers
Method
get_cache_memory
mlx/backend/metal/allocator.h:36
↓ 1 callers
Function
get_command_buffer
mlx/backend/metal/device.h:100
↓ 1 callers
Function
get_conv_settings
mlx/backend/cuda/conv.cpp:49
↓ 1 callers
Function
get_cpu_name
Get CPU device name (brand string)
mlx/backend/cpu/device_info.cpp:51
↓ 1 callers
Function
get_cublas_handles
mlx/backend/cuda/cublas_utils.cpp:59
↓ 1 callers
Function
get_device_name
()
benchmarks/python/masked_scatter.py:28
↓ 1 callers
Function
get_dynamic_copy_kernel
mlx/backend/metal/jit_kernels.cpp:258
↓ 1 callers
Function
get_fft_kernel
mlx/backend/metal/jit_kernels.cpp:832
↓ 1 callers
Function
get_function_address
mlx/compile.cpp:292
↓ 1 callers
Function
get_gather_qmm_kernel
mlx/backend/metal/jit_kernels.cpp:868
↓ 1 callers
Function
get_gather_qmm_nax_kernel
mlx/backend/metal/jit_kernels.cpp:1069
↓ 1 callers
Function
get_gemv_masked_kernel
mlx/backend/metal/jit_kernels.cpp:701
↓ 1 callers
Function
get_gflop_count
(B, M, N, K)
benchmarks/python/blas/bench_gemm.py:157
↓ 1 callers
Function
get_graph_limits
Can be tuned with MLX_MAX_OPS_PER_BUFFER, MLX_MAX_MB_PER_BUFFER
mlx/backend/cuda/device.cpp:181
↓ 1 callers
Function
get_handle_of_object
python/src/utils.h:57
↓ 1 callers
Method
get_kernel_and_dims
mlx/backend/cuda/jit_module.cpp:414
↓ 1 callers
Function
get_kernel_name
mlx/backend/metal/binary.cpp:21
↓ 1 callers
Function
get_libmpi_name
mlx/distributed/mpi/mpi.cpp:23
↓ 1 callers
Function
get_logsumexp_kernel
mlx/backend/metal/jit_kernels.cpp:310
↓ 1 callers
Method
get_memory_limit
mlx/backend/no_gpu/allocator.cpp:40
↓ 1 callers
Method
get_memory_limit
mlx/backend/metal/allocator.cpp:85
↓ 1 callers
Method
get_memory_limit
mlx/backend/cuda/allocator.cpp:360
↓ 1 callers
Function
get_memory_size
mlx/backend/no_gpu/allocator.cpp:14
↓ 1 callers
Method
get_mesh_connectivity
mlx/distributed/jaccl/lib/jaccl/jaccl.cpp:145
↓ 1 callers
Function
get_metal_version
mlx/backend/metal/device.cpp:36
↓ 1 callers
Function
get_mpi_libname
()
python/mlx/_distributed_utils/launch.py:396
↓ 1 callers
Method
get_peak_memory
mlx/backend/no_gpu/allocator.cpp:33
↓ 1 callers
Method
get_peak_memory
mlx/backend/metal/allocator.h:29
↓ 1 callers
Method
get_prefer_ring
mlx/distributed/jaccl/lib/jaccl/jaccl.h:37
↓ 1 callers
Function
get_qmm_nax_kernel
mlx/backend/metal/jit_kernels.cpp:1049
↓ 1 callers
Function
get_quant_mode_config
mlx/backend/cuda/quantized/cublas_qqmm.cpp:22
↓ 1 callers
Function
get_quantized_kernel
mlx/backend/metal/jit_kernels.cpp:848
↓ 1 callers
Function
get_reduce_init_kernel
mlx/backend/metal/jit_kernels.cpp:432
↓ 1 callers
Function
get_scan_kernel
mlx/backend/metal/jit_kernels.cpp:329
↓ 1 callers
Function
get_shape
python/src/convert.cpp:345
↓ 1 callers
Function
get_softmax_kernel
mlx/backend/metal/jit_kernels.cpp:290
↓ 1 callers
Function
get_sort_kernel
mlx/backend/metal/jit_kernels.cpp:364
↓ 1 callers
Function
get_steel_attention_kernel
mlx/backend/metal/jit_kernels.cpp:1113
↓ 1 callers
Function
get_steel_attention_nax_kernel
mlx/backend/metal/jit_kernels.cpp:1147
↓ 1 callers
Function
get_steel_conv_3d_kernel
mlx/backend/metal/jit_kernels.cpp:773
↓ 1 callers
Function
get_steel_conv_general_kernel
mlx/backend/metal/jit_kernels.cpp:802
↓ 1 callers
Function
get_steel_conv_kernel
mlx/backend/metal/jit_kernels.cpp:742
↓ 1 callers
Function
get_steel_gemm_fused_kernel
mlx/backend/metal/jit_kernels.cpp:487
↓ 1 callers
Function
get_steel_gemm_fused_nax_kernel
mlx/backend/metal/jit_kernels.cpp:909
↓ 1 callers
Function
get_steel_gemm_gather_nax_kernel
mlx/backend/metal/jit_kernels.cpp:943
↓ 1 callers
Function
get_steel_gemm_masked_kernel
mlx/backend/metal/jit_kernels.cpp:581
↓ 1 callers
Function
get_steel_gemm_segmented_kernel
mlx/backend/metal/jit_kernels.cpp:664
↓ 1 callers
Function
get_steel_gemm_segmented_nax_kernel
mlx/backend/metal/jit_kernels.cpp:1015
↓ 1 callers
Function
get_steel_gemm_splitk_kernel
mlx/backend/metal/jit_kernels.cpp:521
↓ 1 callers
Function
get_steel_gemm_splitk_nax_kernel
mlx/backend/metal/jit_kernels.cpp:981
↓ 1 callers
Function
get_ternary_kernel
mlx/backend/metal/jit_kernels.cpp:137
↓ 1 callers
Function
get_unary_kernel
mlx/backend/metal/jit_kernels.cpp:25
↓ 1 callers
Function
gguf_load_quantized
mlx/io/gguf_quants.cpp:100
↓ 1 callers
Function
gguf_type_to_dtype
mlx/io/gguf.cpp:33
↓ 1 callers
Function
glu
r"""Applies the gated linear unit function. This function splits the ``axis`` dimension of the input into two halves (:math:`a` and :math:`b`
python/mlx/nn/layers/activations.py:207
↓ 1 callers
Function
grad_fun
tests/compile_tests.cpp:40
↓ 1 callers
Function
greedy_path
mlx/einsum.cpp:161
↓ 1 callers
Function
hadamard
mlx/backend/cpu/hadamard.cpp:78
↓ 1 callers
Function
has_primitive
Check if the array has an attached primitive or is a leaf node. */
mlx/array.h:280
↓ 1 callers
Method
has_values
mlx/backend/cuda/quantized/qqmm_impl.h:15
↓ 1 callers
Function
identity
r"""An initializer that returns an identity matrix. Args: dtype (Dtype, optional): The data type of the array. Default: ``float
python/mlx/nn/init.py:99
↓ 1 callers
Function
ifft2
Compute the two-dimensional inverse Fourier Transform. */
mlx/fft.h:103
↓ 1 callers
Function
imag
mlx/backend/cpu/simd/base_simd.h:154
↓ 1 callers
Function
implicit_gemm_conv_2D_general_gpu
mlx/backend/metal/conv.cpp:324
↓ 1 callers
Function
in_grad_tracing
Return true if we are in a gradient trace (vjp, jvp, etc). */
mlx/transforms_impl.h:80
↓ 1 callers
Method
in_pool
mlx/backend/cuda/allocator.cpp:153
↓ 1 callers
Method
init
(self, parameters: dict)
python/mlx/optimizers/optimizers.py:198
↓ 1 callers
Function
init_array
python/src/array.cpp:100
↓ 1 callers
Function
init_constants
python/src/constants.cpp:8
↓ 1 callers
Function
init_cublas_handles_cache
mlx/backend/cuda/cublas_utils.cpp:91
↓ 1 callers
Function
init_cuda
python/src/cuda.cpp:10
↓ 1 callers
Function
init_cudnn_conv_cache
mlx/backend/cuda/conv.cpp:255
↓ 1 callers
Function
init_cudnn_handles_cache
mlx/backend/cuda/cudnn_utils.cpp:89
↓ 1 callers
Function
init_cudnn_sdpa_cache
mlx/backend/cuda/scaled_dot_product_attention.cpp:310
↓ 1 callers
Function
init_device
python/src/device.cpp:19
↓ 1 callers
Function
init_distributed
python/src/distributed.cpp:19
↓ 1 callers
Function
init_export
python/src/export.cpp:134
↓ 1 callers
Function
init_fast
python/src/fast.cpp:80
↓ 1 callers
Function
init_fft
python/src/fft.cpp:39
↓ 1 callers
Function
init_linalg
python/src/linalg.cpp:18
↓ 1 callers
Function
init_memory
python/src/memory.cpp:10
↓ 1 callers
Function
init_metal
python/src/metal.cpp:28
↓ 1 callers
Function
init_mlx_func
python/src/mlx_func.cpp:111
← previous
next →
1,401–1,500 of 4,946, ranked by callers