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
↓ 20 callers
Function
collapse_contiguous_dims
mlx/backend/common/utils.h:53
↓ 20 callers
Method
finfo
mlx/utils.cpp:314
↓ 20 callers
Function
getenv
mlx/distributed/jaccl/lib/jaccl/jaccl.cpp:61
↓ 20 callers
Function
isinf
mlx/ops.cpp:1846
↓ 20 callers
Function
mean
mlx/ops.h:608
↓ 20 callers
Function
remove_index
mlx/backend/common/utils.h:233
↓ 20 callers
Function
vmap_binary_op
mlx/primitives.cpp:24
↓ 20 callers
Method
write
mlx/io/load.h:156
↓ 19 callers
Method
all_sum
mlx/distributed/mpi/mpi.cpp:389
↓ 19 callers
Function
cos
mlx/backend/cpu/simd/math.h:128
↓ 19 callers
Function
fn
(x)
benchmarks/python/synchronize_bench.py:28
↓ 19 callers
Function
greater_equal
mlx/ops.cpp:1785
↓ 19 callers
Function
is_scalar
mlx/backend/common/compiled.h:47
↓ 19 callers
Function
max
mlx/ops.cpp:2322
↓ 19 callers
Function
minimum
mlx/ops.cpp:2956
↓ 19 callers
Function
quantization_mode_to_string
mlx/primitives.cpp:3419
↓ 19 callers
Function
sin
mlx/backend/cpu/simd/math.h:119
↓ 19 callers
Function
test_arg_reduce_small
tests/arg_reduce_tests.cpp:10
↓ 18 callers
Function
categorical
mlx/random.cpp:395
↓ 18 callers
Method
erase
mlx/backend/metal/resident.cpp:40
↓ 18 callers
Function
erfinv
mlx/ops.cpp:3163
↓ 18 callers
Function
get_block_dims
mlx/backend/metal/utils.cpp:61
↓ 18 callers
Function
greater
mlx/ops.cpp:1777
↓ 18 callers
Function
log
(verbose, *args, **kwargs)
python/mlx/_distributed_utils/common.py:121
↓ 18 callers
Function
result_type
The type from promoting the arrays' types with one another. */
mlx/utils.h:89
↓ 18 callers
Function
run
(dtype)
benchmarks/python/hadamard_bench.py:22
↓ 18 callers
Function
stop_gradient
mlx/ops.cpp:3172
↓ 17 callers
Method
append_ndim
mlx/backend/cuda/jit_module.h:56
↓ 17 callers
Function
check_transpose
mlx/backend/cuda/matmul.cpp:20
↓ 17 callers
Method
clear
mlx/backend/metal/kernels/steel/gemm/nax.h:566
↓ 17 callers
Method
data
mlx/distributed/jaccl/lib/jaccl/rdma.h:127
↓ 17 callers
Function
divmod
mlx/ops.cpp:2929
↓ 17 callers
Function
dtype_to_string
mlx/dtype_utils.cpp:7
↓ 17 callers
Function
ensure_row_contiguous
mlx/backend/metal/quantized.cpp:53
↓ 17 callers
Function
exporter
mlx/export.cpp:891
↓ 17 callers
Function
gemm_loop
mlx/backend/metal/kernels/steel/gemm/gemm_nax.h:26
↓ 17 callers
Function
irfftn
mlx/fft.cpp:220
↓ 17 callers
Method
reset
python/src/transforms.cpp:939
↓ 17 callers
Function
rfftn
mlx/fft.cpp:198
↓ 17 callers
Method
size
mlx/distributed/distributed.cpp:133
↓ 16 callers
Method
clear
mlx/backend/cuda/lru_cache.h:70
↓ 16 callers
Function
enqueue
mlx/scheduler.h:123
↓ 16 callers
Function
get_2d_grid_dims
mlx/backend/metal/utils.cpp:66
↓ 16 callers
Method
get_active_memory
mlx/backend/cuda/allocator.cpp:347
↓ 16 callers
Function
log_error
(*args, **kwargs)
python/mlx/_distributed_utils/common.py:133
↓ 16 callers
Function
logsumexp
mlx/ops.h:846
↓ 16 callers
Function
new_stream
mlx/stream.cpp:66
↓ 16 callers
Method
next
mlx/backend/metal/kernels/quantized.h:671
↓ 16 callers
Method
next
mlx/backend/metal/kernels/fp_quantized.h:244
↓ 16 callers
Function
remainder
mlx/ops.cpp:2914
↓ 16 callers
Function
sign
mlx/ops.cpp:2791
↓ 16 callers
Function
size_of
mlx/dtype.h:105
↓ 16 callers
Function
stack
Stack arrays along a new axis */
mlx/ops.cpp:1267
↓ 16 callers
Function
tree_equal
(fn, *args)
python/tests/test_optimizers.py:37
↓ 15 callers
Method
clear
mlx/compile.cpp:374
↓ 15 callers
Function
copy_cpu_inplace
mlx/backend/cpu/copy.cpp:298
↓ 15 callers
Function
diagonal
mlx/ops.cpp:5937
↓ 15 callers
Function
erf
mlx/ops.cpp:3154
↓ 15 callers
Function
eye
mlx/ops.h:104
↓ 15 callers
Function
free
mlx/allocator.h:58
↓ 15 callers
Function
ifft
Compute the one-dimensional inverse Fourier Transform. */
mlx/fft.h:69
↓ 15 callers
Function
ifftn
mlx/fft.cpp:176
↓ 15 callers
Method
is_tracer
mlx/array.cpp:163
↓ 15 callers
Function
log1p
mlx/ops.cpp:3127
↓ 15 callers
Function
logaddexp
mlx/ops.cpp:3134
↓ 15 callers
Function
rope_orig
(x, dims, traditional, base, scale, offset, freqs=None)
python/tests/test_fast.py:10
↓ 15 callers
Function
store
mlx/backend/cpu/simd/base_simd.h:48
↓ 15 callers
Method
store_result_slice
mlx/backend/metal/kernels/steel/gemm/mma.h:548
↓ 15 callers
Method
update
(grads)
python/tests/test_optimizers.py:400
↓ 15 callers
Method
wait
mlx/backend/cuda/fence.cpp:21
↓ 14 callers
Function
_reduce
(loss: mx.array, reduction: Reduction = "none")
python/mlx/nn/losses.py:11
↓ 14 callers
Function
einsum
mlx/einsum.cpp:851
↓ 14 callers
Method
emplace
mlx/backend/cuda/lru_cache.h:84
↓ 14 callers
Function
is_index_scalar
python/src/indexing.cpp:19
↓ 14 callers
Function
log
mlx/distributed/ring/ring.cpp:105
↓ 14 callers
Function
logical_or
mlx/ops.cpp:2817
↓ 14 callers
Function
mlx_ref_attn
(q, k, v, scale=1.0, mask=None, sinks=None)
python/tests/test_fast_sdpa.py:11
↓ 14 callers
Function
pad
Pad an array with a constant value */
mlx/ops.cpp:1404
↓ 14 callers
Method
quantize
(self)
python/mlx/nn/layers/quantized.py:369
↓ 14 callers
Method
release
mlx/backend/metal/allocator.cpp:209
↓ 14 callers
Function
repeat
array repeat with axis */
mlx/ops.cpp:1294
↓ 14 callers
Function
rsqrt
mlx/ops.cpp:3801
↓ 13 callers
Function
bernoulli
mlx/random.h:179
↓ 13 callers
Function
get_quantized_kernel_wrapped
mlx/backend/metal/quantized.cpp:20
↓ 13 callers
Function
id
A unique identifier for an array. */
mlx/array.h:222
↓ 13 callers
Method
init
mlx/array.h:588
↓ 13 callers
Function
initializer
(a: mx.array)
python/mlx/nn/init.py:31
↓ 13 callers
Function
less_equal
mlx/ops.cpp:1807
↓ 13 callers
Function
load
mlx/backend/metal/kernels/fft/readwrite.h:100
↓ 13 callers
Function
logical_and
mlx/ops.cpp:2803
↓ 13 callers
Function
put_along_axis
mlx/ops.cpp:3551
↓ 13 callers
Method
rbegin
mlx/small_vector.h:262
↓ 13 callers
Function
rfft
Compute the one-dimensional Fourier Transform on a real input. */
mlx/fft.h:150
↓ 13 callers
Function
save_gguf
mlx/io/gguf.cpp:294
↓ 13 callers
Function
scatter_add
mlx/ops.h:1224
↓ 13 callers
Method
seed
mlx/random.cpp:16
↓ 13 callers
Function
tree_flatten
python/src/trees.cpp:236
↓ 13 callers
Method
wait
mlx/array.cpp:144
↓ 12 callers
Function
adjust_matrix_offsets
mlx/backend/metal/kernels/fp_quantized.h:888
↓ 12 callers
Method
begin
mlx/distributed/jaccl/lib/jaccl/rdma.h:132
← previous
next →
201–300 of 4,946, ranked by callers