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
↓ 4 callers
Function
print_constant
mlx/backend/common/compiled.cpp:9
↓ 4 callers
Function
prod
mlx/backend/cpu/simd/neon_fp16_simd.h:203
↓ 4 callers
Function
qr
mlx/linalg.cpp:226
↓ 4 callers
Function
radix5
mlx/backend/metal/kernels/fft/radix.h:69
↓ 4 callers
Function
real
mlx/ops.cpp:6402
↓ 4 callers
Function
reshape_gpu
mlx/backend/metal/copy.cpp:216
↓ 4 callers
Method
run
(self)
setup.py:153
↓ 4 callers
Function
run_or_raise
(*args, **kwargs)
benchmarks/python/comparative/compare.py:14
↓ 4 callers
Function
save_hostfile
(args, hostfile)
python/mlx/_distributed_utils/config.py:72
↓ 4 callers
Function
save_safetensors
mlx/io/safetensors.cpp:217
↓ 4 callers
Method
scatter
(a)
python/tests/test_vmap.py:446
↓ 4 callers
Function
scatter_unsort
(x, inv_order, shape=None)
benchmarks/python/gather_mm_bench.py:21
↓ 4 callers
Function
seed
mlx/random.cpp:26
↓ 4 callers
Method
send
mlx/distributed/utils.cpp:137
↓ 4 callers
Function
set_cache_limit
mlx/backend/cuda/allocator.cpp:439
↓ 4 callers
Method
set_cache_limit
mlx/backend/cuda/allocator.cpp:374
↓ 4 callers
Function
set_memory_limit
mlx/backend/cuda/allocator.cpp:430
↓ 4 callers
Method
set_wired_limit
mlx/backend/metal/allocator.cpp:89
↓ 4 callers
Function
simd_shuffle_down
mlx/backend/metal/kernels/utils.h:357
↓ 4 callers
Function
skip_compile
mlx/compile.cpp:1093
↓ 4 callers
Function
slice_gpu
mlx/backend/gpu/slicing.cpp:9
↓ 4 callers
Function
solve_triangular
mlx/linalg.cpp:698
↓ 4 callers
Function
squeeze_leading_singletons
python/src/indexing.cpp:501
↓ 4 callers
Method
state
mlx/primitives.h:1092
↓ 4 callers
Function
status
mlx/array.h:410
↓ 4 callers
Function
supported_radices
mlx/backend/metal/fft.cpp:30
↓ 4 callers
Function
supports_managed_memory
mlx/backend/cuda/allocator.cpp:54
↓ 4 callers
Function
synchronize
mlx/scheduler.cpp:8
↓ 4 callers
Function
tanh
mlx/ops.cpp:3060
↓ 4 callers
Function
tile_matmad
mlx/backend/metal/kernels/steel/gemm/mma.h:402
↓ 4 callers
Function
time
examples/cpp/timer.h:16
↓ 4 callers
Function
time_fn
(fn, *args)
benchmarks/numpy/time_utils.py:6
↓ 4 callers
Function
to_complex
mlx/backend/cpu/eig.cpp:16
↓ 4 callers
Function
tree_visit
python/src/trees.cpp:94
↓ 4 callers
Function
type_name_str
python/src/transforms.cpp:36
↓ 4 callers
Function
validate_eig
mlx/linalg.cpp:502
↓ 4 callers
Function
validate_global_scale
mlx/ops.cpp:4449
↓ 4 callers
Function
version
mlx/version.cpp:7
↓ 4 callers
Function
version_lower_equal
Return if |device|'s version is not newer than |major|.|minor| version.
mlx/backend/cuda/jit_module.cpp:212
↓ 4 callers
Function
write_raw_safetensors
Helper to write a raw safetensors file from a JSON header and data buffer
tests/load_tests.cpp:45
↓ 3 callers
Function
Device
mlx/device.h:22
↓ 3 callers
Function
Group
mlx/distributed/distributed.h:28
↓ 3 callers
Method
__init__
( self, input_dims: int, output_dims: int, bias: bool = True, group: O
python/mlx/nn/layers/distributed.py:209
↓ 3 callers
Method
__init__
(self)
python/tests/test_nn.py:59
↓ 3 callers
Function
_all_to_sharded
Simple predicate to shard fully connected layers such that a common representation becomes a sharded representation.
python/mlx/nn/layers/distributed.py:84
↓ 3 callers
Function
_defaults_for_mode
(mode, group_size, bits)
python/mlx/nn/layers/quantized.py:11
↓ 3 callers
Method
_hadamard
(self, N)
python/tests/test_ops.py:2929
↓ 3 callers
Function
_launch_with_io
(command_class, arguments, verbose)
python/mlx/_distributed_utils/launch.py:170
↓ 3 callers
Function
_sharded_to_all
Simple predicate to shard fully connected layers such that a sharded representation becomes a common representation.
python/mlx/nn/layers/distributed.py:96
↓ 3 callers
Function
add_ips
(hosts, verbose=False)
python/mlx/_distributed_utils/config.py:47
↓ 3 callers
Method
allocate_protection_domain
mlx/distributed/jaccl/lib/jaccl/rdma.cpp:141
↓ 3 callers
Function
arctan
mlx/ops.cpp:3033
↓ 3 callers
Function
axpby
* Scale and sum two vectors element-wise * z = alpha * x + beta * y * * Follow numpy style broadcasting between x and y * Inputs are upcasted
examples/extensions/axpby/axpby.cpp:44
↓ 3 callers
Function
binary_float_op_cpu
mlx/backend/cpu/binary.h:425
↓ 3 callers
Function
block_sort
mlx/backend/metal/kernels/sort.h:319
↓ 3 callers
Method
build
mlx/backend/cuda/cudnn_utils.cpp:105
↓ 3 callers
Function
can_auto_setup
(hosts, sshinfo, auto_setup=False)
python/mlx/_distributed_utils/config.py:111
↓ 3 callers
Function
categorical_impl
mlx/random.cpp:382
↓ 3 callers
Function
check_error
mlx/backend/metal/eval.cpp:21
↓ 3 callers
Function
check_rdma
(hosts, verbose=False, strict=True)
python/mlx/_distributed_utils/config.py:82
↓ 3 callers
Function
check_valid_ring
(hosts, rings, strict=True)
python/mlx/_distributed_utils/config.py:356
↓ 3 callers
Function
checkpoint
Transform the passed callable to one that performs gradient checkpointing with respect to the trainable parameters of the module (and the call
python/mlx/nn/utils.py:41
↓ 3 callers
Method
close
mlx/export.cpp:694
↓ 3 callers
Method
commit
mlx/backend/cuda/device.cpp:463
↓ 3 callers
Function
compiled_allocate_outputs
mlx/backend/common/compiled.cpp:113
↓ 3 callers
Function
compiled_collapse_contiguous_dims
mlx/backend/common/compiled.cpp:173
↓ 3 callers
Method
concurrent_context
mlx/backend/cuda/device.h:45
↓ 3 callers
Function
conv1d
1D convolution with a filter */
mlx/ops.cpp:4091
↓ 3 callers
Function
conv_transpose_general
Helper function for transposed convolutions
mlx/ops.cpp:4158
↓ 3 callers
Function
copy_inplace_dispatch
mlx/backend/cpu/copy.cpp:245
↓ 3 callers
Function
create_array
python/src/convert.cpp:460
↓ 3 callers
Method
create_completion_queue
mlx/distributed/jaccl/lib/jaccl/rdma.cpp:148
↓ 3 callers
Function
create_connections
mlx/distributed/jaccl/lib/jaccl/rdma.cpp:266
↓ 3 callers
Method
create_queue_pair
mlx/distributed/jaccl/lib/jaccl/rdma.cpp:155
↓ 3 callers
Function
depth_first_traversal
mlx/graph_utils.cpp:37
↓ 3 callers
Function
dequantize
mlx/ops.cpp:5171
↓ 3 callers
Function
do_attention
(f, q, k, v, scale, mask=None, transpose=False)
benchmarks/python/sdpa_bench.py:108
↓ 3 callers
Function
dtype
Get the arrays data type. */
mlx/array.h:143
↓ 3 callers
Function
dtype_to_jaccl_dtype
* Map MLX Dtype to JACCL Dtype for dispatch. */
mlx/distributed/jaccl/jaccl.cpp:20
↓ 3 callers
Function
eigvalsh
mlx/linalg.cpp:521
↓ 3 callers
Function
ensure_row_contiguous
mlx/backend/cuda/matmul.cpp:54
↓ 3 callers
Method
eval
mlx/backend/common/common.cpp:10
↓ 3 callers
Function
exec
mlx/3rdparty/pocketfft.h:2430
↓ 3 callers
Function
expand
(mask, rows, cols)
benchmarks/python/block_masked_mm_bench.py:43
↓ 3 callers
Function
explicit_gemm_conv_ND_cpu
mlx/backend/cpu/conv.cpp:999
↓ 3 callers
Function
explicit_gemm_conv_ND_gpu
mlx/backend/metal/conv.cpp:34
↓ 3 callers
Function
explicit_gemm_conv_group_ND_gpu
mlx/backend/metal/conv.cpp:105
↓ 3 callers
Function
extract_quantized_matmul_dims
mlx/ops.cpp:117
↓ 3 callers
Function
extract_rings
(connectivity)
python/mlx/_distributed_utils/config.py:308
↓ 3 callers
Function
finalize
mlx/backend/cuda/eval.cpp:73
↓ 3 callers
Function
flatten_in_eval
mlx/backend/gpu/copy.cpp:43
↓ 3 callers
Function
forward
(x)
examples/export/eval_mlp.py:39
↓ 3 callers
Function
gather_sort
(x, indices)
benchmarks/python/gather_mm_bench.py:13
↓ 3 callers
Function
gemm_and_bias
mlx/backend/cuda/matmul.cpp:67
↓ 3 callers
Function
get_bytes_per_pack
mlx/backend/common/quantized.h:9
↓ 3 callers
Method
get_coordinator
mlx/distributed/jaccl/lib/jaccl/jaccl.h:33
↓ 3 callers
Function
get_cudnn_handle
mlx/backend/cuda/cudnn_utils.cpp:80
↓ 3 callers
Function
get_float_word
mlx/backend/metal/kernels/cexpf.h:32
↓ 3 callers
Function
get_mb_sort_kernel
mlx/backend/metal/jit_kernels.cpp:402
↓ 3 callers
Method
get_rank
mlx/distributed/jaccl/lib/jaccl/jaccl.h:25
← previous
next →
701–800 of 4,946, ranked by callers