MCPcopy Create free account

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

Functions4,946 in github.com/ml-explore/mlx

↓ 1 callersFunctionscatter_add_axis
mlx/ops.cpp:3560
↓ 1 callersFunctionscatter_axis
mlx/backend/metal/kernels/indexing/scatter_axis.h:12
↓ 1 callersFunctionsdpa
(q, k, v, mask=None, w=None)
benchmarks/python/sdpa_vector_bench.py:45
↓ 1 callersFunctionsdpa_backward_cudnn
mlx/backend/cuda/scaled_dot_product_attention.cpp:451
↓ 1 callersFunctionsdpa_cudnn
mlx/backend/cuda/scaled_dot_product_attention.cpp:352
↓ 1 callersFunctionsdpa_full_self_attention_metal
mlx/backend/metal/scaled_dot_product_attention.cpp:166
↓ 1 callersFunctionsdpa_full_self_attention_nax
mlx/backend/metal/scaled_dot_product_attention.cpp:18
↓ 1 callersFunctionsdpa_vector
mlx/backend/metal/scaled_dot_product_attention.cpp:329
↓ 1 callersFunctionsdpa_vector
mlx/backend/metal/kernels/sdpa_vector.h:16
↓ 1 callersFunctionsdpa_vector_2pass
mlx/backend/metal/scaled_dot_product_attention.cpp:418
↓ 1 callersFunctionsegmented_mm
mlx/ops.cpp:5889
↓ 1 callersFunctionsegmented_mm
mlx/backend/metal/matmul.cpp:2439
↓ 1 callersFunctionselect_op
mlx/backend/cpu/select.cpp:14
↓ 1 callersMethodsend
mlx/distributed/distributed.cpp:79
↓ 1 callersFunctionsendAll
mlx/distributed/nccl/nccl.cpp:103
↓ 1 callersFunctionserialize_variant
mlx/export.cpp:186
↓ 1 callersMethodset_cache_limit
mlx/backend/metal/allocator.cpp:70
↓ 1 callersFunctionset_input_array
mlx/backend/cpu/encoder.h:23
↓ 1 callersMethodset_memory_limit
mlx/backend/no_gpu/allocator.cpp:43
↓ 1 callersMethodset_memory_limit
mlx/backend/metal/allocator.cpp:76
↓ 1 callersFunctionset_mx_value_from_gguf
mlx/io/gguf.cpp:90
↓ 1 callersFunctionset_wired_limit
Not supported in CUDA.
mlx/backend/cuda/allocator.cpp:447
↓ 1 callersFunctionsetup
(app)
docs/src/conf.py:71
↓ 1 callersFunctionshard_inplace
Shard a module in-place by updating its parameter dictionary with the sharded parameter dictionary. The ``sharding`` argument can be any call
python/mlx/nn/layers/distributed.py:118
↓ 1 callersFunctionshared_buffer_slice
mlx/backend/common/slicing.cpp:20
↓ 1 callersMethodshutdown
mlx/3rdparty/pocketfft.h:753
↓ 1 callersFunctionsigmoid
r"""Applies the sigmoid function. .. math:: \text{Sigmoid}(x) = \sigma(x) = \frac{1}{1 + \exp(-x)}
python/mlx/nn/layers/activations.py:20
↓ 1 callersMethodsignal
mlx/backend/metal/event.cpp:42
↓ 1 callersMethodsignal
mlx/backend/cuda/worker.cpp:35
↓ 1 callersMethodsimd_scan
mlx/backend/metal/kernels/scan.h:107
↓ 1 callersFunctionsimd_shuffle
mlx/backend/metal/kernels/utils.h:419
↓ 1 callersFunctionsimple_fun
tests/compile_tests.cpp:13
↓ 1 callersFunctionsingle_block_sort
mlx/backend/metal/sort.cpp:15
↓ 1 callersMethodsize
mlx/backend/cuda/lru_cache.h:42
↓ 1 callersMethodsize
mlx/distributed/jaccl/lib/jaccl/rdma.h:110
↓ 1 callersFunctionslice_update_max
mlx/ops.cpp:1004
↓ 1 callersFunctionslice_update_min
mlx/ops.cpp:1031
↓ 1 callersFunctionsoftmax
r"""Applies the Softmax function. Applies :math:`\frac{e^{x_i}}{\sum_j e^{x_j}}` element wise.
python/mlx/nn/layers/activations.py:84
↓ 1 callersFunctionsoftmax
mlx/backend/cpu/softmax.cpp:19
↓ 1 callersFunctionsoftshrink
r"""Applies the Softshrink activation function. .. math:: \text{softshrink}(x) = \begin{cases} x - \lambda & \text{if } x > \lamb
python/mlx/nn/layers/activations.py:111
↓ 1 callersFunctionsplit
mlx/random.cpp:75
↓ 1 callersFunctionsplit_one
Any parent in the divider will continue to refer to `x` but any parent not in the divider will refer to a copy of the operation.
mlx/compile.cpp:269
↓ 1 callersFunctionstart_capture
mlx/backend/metal/metal.cpp:14
↓ 1 callersMethodstate
The module's state dictionary The module's state dictionary contains any attribute set on the module including parameters in :meth:`M
python/mlx/nn/layers/base.py:72
↓ 1 callersFunctionsteel_matmul_axpby
mlx/backend/metal/matmul.cpp:842
↓ 1 callersFunctionsteel_matmul_regular
mlx/backend/metal/matmul.h:36
↓ 1 callersFunctionstep
(*inputs)
examples/export/train_mlp.py:55
↓ 1 callersFunctionstep
(params, image)
benchmarks/python/conv3d_train_bench_cpu.py:53
↓ 1 callersFunctionstep
(params, image)
benchmarks/python/conv2d_train_bench_cpu.py:53
↓ 1 callersMethodstep
(x)
python/tests/test_optimizers.py:347
↓ 1 callersMethodstop
mlx/backend/cuda/worker.cpp:23
↓ 1 callersFunctionstop_capture
mlx/backend/metal/metal.cpp:43
↓ 1 callersMethodstore
mlx/backend/metal/kernels/steel/attn/nax.h:681
↓ 1 callersMethodstore_rows
mlx/backend/metal/kernels/steel/attn/nax.h:761
↓ 1 callersFunctionstrided_reduce_2pass
mlx/backend/metal/reduce.cpp:808
↓ 1 callersFunctionstrided_reduce_longcolumn
mlx/backend/metal/reduce.cpp:632
↓ 1 callersFunctionstrided_reduce_looped
mlx/backend/metal/reduce.cpp:743
↓ 1 callersFunctionstrided_reduce_small
mlx/backend/metal/reduce.cpp:566
↓ 1 callersFunctionstrided_scan
mlx/backend/cpu/scan.cpp:82
↓ 1 callersMethodsubmit
mlx/3rdparty/pocketfft.h:728
↓ 1 callersFunctionsum_scatter
mlx/distributed/ops.cpp:160
↓ 1 callersMethodsum_scatter
mlx/distributed/distributed.cpp:97
↓ 1 callersFunctionsynchronize
mlx/backend/metal/eval.cpp:86
↓ 1 callersFunctionsynchronize
mlx/backend/cuda/eval.cpp:78
↓ 1 callersMethodsynchronize
mlx/backend/metal/device.cpp:457
↓ 1 callersFunctiontanh
Applies the hyperbolic tangent function. Simply ``mx.tanh(x)``.
python/mlx/nn/layers/activations.py:330
↓ 1 callersFunctiontb_connectivity_to_dot
(hosts, tb_hosts, uuid_reverse_index)
python/mlx/_distributed_utils/config.py:277
↓ 1 callersFunctiontemplate_arguments_hash
mlx/backend/cuda/custom_kernel.cpp:28
↓ 1 callersMethodterminate
(self)
python/mlx/_distributed_utils/launch.py:84
↓ 1 callersFunctionternary_op_gpu
mlx/backend/metal/ternary.cpp:135
↓ 1 callersFunctionternary_op_gpu_inplace
mlx/backend/metal/ternary.cpp:11
↓ 1 callersFunctiontest_qqmm
()
examples/python/qqmm.py:22
↓ 1 callersFunctiontest_qqmm_vjp
()
examples/python/qqmm.py:80
↓ 1 callersFunctionthread_id
mlx/3rdparty/pocketfft.h:521
↓ 1 callersFunctiontime_add
()
benchmarks/python/single_ops.py:9
↓ 1 callersFunctiontime_add
()
benchmarks/numpy/single_ops.py:7
↓ 1 callersFunctiontime_add_op
benchmarks/cpp/compare_devices.cpp:9
↓ 1 callersFunctiontime_all_sum
()
benchmarks/python/distributed_bench.py:37
↓ 1 callersFunctiontime_attention
()
benchmarks/python/einsum_bench.py:55
↓ 1 callersFunctiontime_batch_matmul
()
benchmarks/python/batch_matmul_bench.py:13
↓ 1 callersFunctiontime_big_einsum_path
()
benchmarks/python/einsum_bench.py:33
↓ 1 callersFunctiontime_binary_ops
benchmarks/cpp/single_ops.cpp:74
↓ 1 callersFunctiontime_comparisons
benchmarks/cpp/single_ops.cpp:125
↓ 1 callersFunctiontime_creation_ops
benchmarks/cpp/single_ops.cpp:8
↓ 1 callersFunctiontime_divmod
benchmarks/cpp/single_ops.cpp:260
↓ 1 callersFunctiontime_exp
()
benchmarks/python/single_ops.py:80
↓ 1 callersFunctiontime_exp
()
benchmarks/numpy/single_ops.py:19
↓ 1 callersFunctiontime_fft
()
benchmarks/python/fft_bench.py:62
↓ 1 callersFunctiontime_gather_mm
()
benchmarks/python/gather_mm_bench.py:37
↓ 1 callersFunctiontime_gather_qmm
()
benchmarks/python/gather_qmm_bench.py:43
↓ 1 callersFunctiontime_gather_scatter
benchmarks/cpp/single_ops.cpp:213
↓ 1 callersFunctiontime_irregular_astype_1D
benchmarks/cpp/irregular_strides.cpp:161
↓ 1 callersFunctiontime_irregular_astype_2D
benchmarks/cpp/irregular_strides.cpp:170
↓ 1 callersFunctiontime_irregular_binary_ops_1D
benchmarks/cpp/irregular_strides.cpp:12
↓ 1 callersFunctiontime_irregular_binary_ops_2D
benchmarks/cpp/irregular_strides.cpp:24
↓ 1 callersFunctiontime_irregular_binary_ops_3D
benchmarks/cpp/irregular_strides.cpp:45
↓ 1 callersFunctiontime_irregular_binary_ops_4D
benchmarks/cpp/irregular_strides.cpp:76
↓ 1 callersFunctiontime_irregular_reshape
benchmarks/cpp/irregular_strides.cpp:116
↓ 1 callersFunctiontime_layer_norm
(N, dt)
benchmarks/python/layer_norm_bench.py:23
↓ 1 callersFunctiontime_little_einsum_path
()
benchmarks/python/einsum_bench.py:19
← previousnext →1,701–1,800 of 4,946, ranked by callers