MCPcopy Create free account

hub / github.com/UbiquitousLearning/mllm / functions

Functions5,971 in github.com/UbiquitousLearning/mllm

↓ 4 callersFunctioncalculateStrides
Helper function to calculate strides for broadcasting
mllm/backends/cpu/ops/MaskedScatterOp.cpp:47
↓ 4 callersFunctionclip
mllm/nn/Functional.cpp:108
↓ 4 callersMethodclone
mllm/core/Tensor.cpp:659
↓ 4 callersMethodcolon
mllm/compile/ir/IRPrinter.hpp:39
↓ 4 callersFunctioncompile
()
algorithms/lazy_vlm/run.py:4
↓ 4 callersMethodcontext
mllm/backends/qnn/QNNBackend.hpp:128
↓ 4 callersMethodconvert2Ids
mllm/models/minicpm_o2_6/tokenization_minicpmo.hpp:303
↓ 4 callersFunctioncopyTensorsInfo
mllm/backends/qnn/QNNUtils.cpp:191
↓ 4 callersMethodcreateRegionAtTop
mllm/compile/ir/Node.cpp:158
↓ 4 callersMethoddevice
mllm/nn/Layer.hpp:65
↓ 4 callersMethoddump
Dumps the JSON object to a formatted string.
mllm/engine/ConfigFile.cpp:40
↓ 4 callersFunctionelementwise_impl
mllm/backends/cpu/kernels/common/elewise-inl.hpp:16
↓ 4 callersMethodenable_observer
Enable tracking of min/max values to update scale and zero_point.
pymllm/backends/qualcomm/transformers/core/qdq.py:72
↓ 4 callersMethodencode
mllm/models/deepseek_ocr/tokenization_deepseek_ocr.hpp:52
↓ 4 callersMethodexecute_command
Execute a single, stateless shell command on device. This command will NOT maintain context like environment variables. For s
pymllm/utils/adb.py:299
↓ 4 callersFunctionfloat_to_fp16s
mllm/backends/qnn/custom-op-package/LLaMAPackage/src/ops/LLaMADequantizeAdd.cpp:91
↓ 4 callersFunctionfloat_to_fp16s
mllm/backends/qnn/custom-op-package/LLaMAPackage/src/ops/LLaMADequantize.cpp:90
↓ 4 callersFunctionfreeQnnTensors
mllm/backends/qnn/QNNUtils.cpp:294
↓ 4 callersMethodfromPreTrain
mllm/engine/service/Session.cpp:13
↓ 4 callersFunctiongelu_fp32
mllm/backends/cpu/kernels/arm/gelu.cpp:14
↓ 4 callersMethodgetAOpTypes
mllm/compile/ir/linalg/Op.hpp:140
↓ 4 callersFunctiongetBlobAddr
mllm/engine/prefix_cache/TLB.cpp:7
↓ 4 callersMethodgetDevice
FIXME: deprecated, context has no device
mllm/compile/ir/Node.cpp:259
↓ 4 callersMethodgetDevices
! \brief Gets a list of devices for this platform. * * Wraps clGetDeviceIDs(). */
mllm/backends/opencl/vendors/OpenCL-Headers/CL/opencl.hpp:2846
↓ 4 callersFunctiongetLaneAddr
mllm/engine/prefix_cache/TLB.cpp:17
↓ 4 callersMethodgetOpType
mllm/compile/symbolic_expr/AST.hpp:150
↓ 4 callersFunctiongetResponse
mllm/engine/service/Service.cpp:176
↓ 4 callersMethodgetType
mllm/nn/AbstractNnNode.cpp:43
↓ 4 callersFunctionget_combining_class
Get canonical combining class for a codepoint using existing flags data
mllm/preprocessor/tokenizers/llama_cpp_unicode/unicode.cpp:830
↓ 4 callersMethodget_devices
Get list of connected devices
pymllm/utils/adb.py:230
↓ 4 callersFunctionget_scale_shuffle
mllm/backends/cpu/kernels/common/ggml/quantize/quantize.hpp:250
↓ 4 callersMethodhas_value
mllm-kernel/include/mllm_kernel/tensor.hpp:234
↓ 4 callersMethodhas_value
mllm-kernel/include/mllm_kernel/tensor.hpp:287
↓ 4 callersFunctioninitQnnBackend
export initQnnBackend function to initialize QNN backend
mllm/backends/qnn/Register.cpp:17
↓ 4 callersMethodisGraphFinalized
mllm/backends/qnn/QNNModel.hpp:86
↓ 4 callersFunctionisInt
mllm/backends/qnn/aot/visitor/CastType.cpp:17
↓ 4 callersMethodis_contiguous
(self)
pymllm/ffi/__init__.py:261
↓ 4 callersFunctionllamafile_sgemm
* Performs optimized matrix multiplication on CPU. * * This subroutine may compute C = Aᵀ * B with column major ordering. * Despite its name, this
mllm/backends/cpu/kernels/common/llamafile/llamafile_sgemm.cpp:827
↓ 4 callersFunctionmatmul_fp32
mllm/backends/cpu/kernels/common/blas.cpp:10
↓ 4 callersMethodopType
mllm/nn/Layer.cpp:36
↓ 4 callersFunctionpanic
mllm-kernel/include/mllm_kernel/utils.hpp:82
↓ 4 callersMethodprevOp
mllm/compile/ir/Node.cpp:36
↓ 4 callersFunctionquantize
mllm/backends/cpu/kernels/arm/quantize/bitspack/bitspack.cpp:100
↓ 4 callersMethodregChildNode
mllm/nn/AbstractNnNode.cpp:10
↓ 4 callersFunctionregisterConvTemplate
* Register a new conversation template */
mllm/models/deepseek_ocr/conversation_preprocess.hpp:243
↓ 4 callersMethodremoveFromSymbolTable
mllm/compile/ir/Node.cpp:248
↓ 4 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
pymllm/backends/qualcomm/transformers/llama/modeling_llama.py:217
↓ 4 callersFunctionrotate_half
Rotates half the hidden dims of the input.
pymllm/backends/qualcomm/transformers/qwen3/modeling_qwen3.py:105
↓ 4 callersFunctionrotate_half
Rotates half the hidden dims of the input.
pymllm/backends/qualcomm/transformers/qwen2/modeling_qwen2.py:90
↓ 4 callersFunctionrotate_half
Rotates half the hidden dims of the input.
pymllm/backends/qualcomm/transformers/llama/modeling_llama.py:127
↓ 4 callersMethodsetOutputTensors
mllm/backends/qnn/aot_rt/QnnAOTModule.hpp:30
↓ 4 callersFunctionsetRandomSeed
mllm/mllm.cpp:70
↓ 4 callersMethodset_name
(self, name)
pymllm/ffi/__init__.py:251
↓ 4 callersMethodset_options
mllm-kernel/include/mllm_kernel/tensor.hpp:245
↓ 4 callersMethodset_value
mllm-kernel/include/mllm_kernel/tensor.hpp:171
↓ 4 callersFunctionshareQuantSpecSingleInputToSingleOutputAndSetOpQuantAnnoAttr
mllm/backends/qnn/aot/passes/LLMQuantRecipePass.cpp:126
↓ 4 callersMethodsoftmax
mllm/backends/cpu/kernels/common/fa2/fwd_bshd.hpp:162
↓ 4 callersFunctionsoftmax_v1_fp32
Safe sofmax for fp32. Not optimized for stride!=1 situation. When stride is set to 1, this function will utilize vexp1_fast_fp32 method to accelerate
mllm/backends/cpu/kernels/arm/softmax.cpp:18
↓ 4 callersFunctionstack
mllm/nn/Functional.cpp:66
↓ 4 callersMethodsub
mllm/core/Tensor.cpp:236
↓ 4 callersMethodtoken2id
mllm/preprocessor/tokenizers/WordPiece.cpp:166
↓ 4 callersMethodtrace
examples/llama_qnn_aot/modeling_llama_qnn_aot.hpp:422
↓ 4 callersFunctionunhalf
mllm/backends/cpu/kernels/common/llamafile/llamafile_sgemm.cpp:73
↓ 4 callersMethodzeros
mllm/core/Tensor.cpp:120
↓ 3 callersMethodModuleList
mllm/nn/Module.hpp:207
↓ 3 callersMethodTensor
mllm/core/Tensor.cpp:76
↓ 3 callersMethod__init__
(self)
pymllm/ffi/__init__.py:44
↓ 3 callersFunction_build_cache_name
( device_prefix: str, func_name: str, template_args: Tuple[str, ...] = (), )
mllm-kernel/mllm_kernel/jit_utils/compile.py:248
↓ 3 callersFunction_log2_ceil
mllm/engine/BuddyMemPool.cpp:12
↓ 3 callersFunction_make_tvm_ffi_wrapper
(tup: Tuple[str, str])
mllm-kernel/mllm_kernel/jit_utils/compile.py:48
↓ 3 callersFunction_pack_descriptor
(desc)
pymllm/convertor/model_file_v2.py:67
↓ 3 callersFunction_resolve_build_directory
( build_directory: str | None, default_name: str, )
mllm-kernel/mllm_kernel/jit_utils/compile.py:236
↓ 3 callersMethodabs
mllm/core/Tensor.cpp:395
↓ 3 callersFunctionadd
mllm/backends/cpu/kernels/common/llamafile/llamafile_sgemm.cpp:79
↓ 3 callersMethodaddTensorWrapper
mllm/backends/qnn/QNNModel.cpp:151
↓ 3 callersFunctionalign_alloc
mllm/backends/cpu/CPUAllocator.cpp:10
↓ 3 callersFunctionalign_free
mllm/backends/cpu/CPUAllocator.cpp:30
↓ 3 callersMethodcal
mllm/backends/cpu/kernels/arm/primitives.hpp:21
↓ 3 callersFunctionclamp
mllm/backends/cpu/kernels/arm/mllm_blas/mllm_blas_i8gemm_bitspack_1x4x16_fp32_neondot.hpp:17
↓ 3 callersMethodclear
mllm/engine/prefix_cache/RadixTree.cpp:37
↓ 3 callersMethodclearCache
mllm/nn/layers/KVCache.cpp:24
↓ 3 callersFunctioncompute_sum
mllm/backends/cpu/kernels/arm/quantize/bitspack/bitspack.cpp:77
↓ 3 callersMethodconvert2Ids
mllm/models/qwen3/tokenization_qwen3.hpp:221
↓ 3 callersMethodconvert_to_conv2d_deploy_hwio
(self)
pymllm/backends/qualcomm/transformers/core/qlinear.py:195
↓ 3 callersFunctioncopyGraphsInfo
mllm/backends/qnn/QNNUtils.cpp:148
↓ 3 callersFunctioncreateProgramLoweringPipeline
mllm/compile/passes/ProgramLoweringPipeline.cpp:335
↓ 3 callersFunctioncreateTrueBoolAttr
mllm/backends/qnn/aot/passes/MarkQnnGraphPass.cpp:19
↓ 3 callersMethodcuda
(self)
pymllm/ffi/__init__.py:244
↓ 3 callersFunctiondeepCopyQnnTensorInfo
mllm/backends/qnn/QNNUtils.cpp:205
↓ 3 callersMethoddepthIncrease
mllm/nn/AbstractNnNode.cpp:27
↓ 3 callersMethoddump
mllm/compile/symbolic_expr/AST.hpp:207
↓ 3 callersMethodenqueueMapSVM
mllm/backends/opencl/vendors/OpenCL-Headers/CL/opencl.hpp:8937
↓ 3 callersMethodenqueueUnmapSVM
mllm/backends/opencl/vendors/OpenCL-Headers/CL/opencl.hpp:9042
↓ 3 callersMethodequal
mllm/core/Tensor.cpp:462
↓ 3 callersMethodeval
mllm/compile/symbolic_expr/AST.hpp:213
↓ 3 callersFunctionexp_ps_f32
adapted from arm limited optimized routine the maximum error is 1.45358 plus 0.5 ulps numbers above 88.38 will flush to infinity numbers beneath -103.
mllm/backends/cpu/kernels/arm/primitives.hpp:432
↓ 3 callersFunctionfillAtbTensorWithShape
Helper to fill ATB tensor with custom shape (for reshape without copy)
mllm/backends/ascend/ops/AscendMatMulOp.cpp:29
↓ 3 callersFunctionflashAttention2
mllm/nn/Functional.cpp:70
↓ 3 callersFunctionfloat_to_fp16s
mllm/backends/qnn/custom-op-package/LLaMAPackage/src/ops/RoPE.cpp:181
↓ 3 callersMethodgetCurrentSeqCnt
algorithms/lazy_vlm/HKVCache.cpp:79
← previousnext →401–500 of 5,971, ranked by callers