MCPcopy Create free account

hub / github.com/andrewkchan/deepseek.cpp / functions

Functions195 in github.com/andrewkchan/deepseek.cpp

↓ 1 callersFunctionmoe_gate
src/infer.cpp:493
↓ 1 callersMethodndim
src/codec.cpp:236
↓ 1 callersFunctionper_expert_blockwise_quantize
(expert_weights: torch.Tensor, block_size: torch.Tensor, dtype: torch.dtype)
convert.py:277
↓ 1 callersFunctionper_expert_k_quantize
(expert_weights: torch.Tensor, method: Literal["q2_k", "q3_k"])
convert.py:288
↓ 1 callersFunctionper_tensor_dequantize
(qweight: torch.Tensor, scale: torch.Tensor)
convert.py:246
↓ 1 callersFunctionquant_to_codec_dtype
src/codec.cpp:55
↓ 1 callersFunctionquantize_row_q2_K_ref
src/quant.cpp:147
↓ 1 callersFunctionquantize_row_q3_K_ref
src/quant.cpp:308
↓ 1 callersMethodrms_kv_a_weight
src/model.h:314
↓ 1 callersMethodrms_kv_a_weight
src/model.h:404
↓ 1 callersMethodrms_q_a_weight
src/model.h:313
↓ 1 callersMethodrms_q_a_weight
src/model.h:403
↓ 1 callersFunctionrun_interactive
src/main.cpp:514
↓ 1 callersMethodsample_prob
src/sampler.cpp:12
↓ 1 callersFunctionsigmoid
src/infer.cpp:489
↓ 1 callersFunctionstring_to_codec_dtype
src/codec.cpp:85
↓ 1 callersFunctiontest_attn
src/test.cpp:70
↓ 1 callersFunctiontest_matmul
src/test.cpp:128
↓ 1 callersMethodto_dict
(self)
convert.py:123
MethodBlock
src/model.cpp:149
MethodBlockMHA
src/model.cpp:354
MethodBlockMLA
src/model.cpp:518
MethodDebugTensor
src/model.h:488
MethodDebugTensor
src/model.cpp:904
MethodInferenceState
src/model.cpp:677
MethodModel
src/model.cpp:756
FunctionPYBIND11_MODULE
quantizer.cpp:68
MethodProfileDisabledScope
src/profile.cpp:48
MethodProfileScope
src/profile.cpp:22
MethodQTensor
src/codec.h:113
MethodSampler
src/sampler.cpp:7
MethodSession
src/main.cpp:72
MethodTokenizer
src/tokenizer.cpp:3
MethodYALMData
src/codec.cpp:255
Method__init__
(self, config, tokenizer_config, quant, n_layers, use_mla, bsize)
convert.py:47
Method_attention_impl
src/infer.cpp:935
Method_block_cpu
src/infer.cpp:811
Method_copy_embedding
src/infer.cpp:1217
Method_forward_cpu
src/infer.cpp:1265
Methodattention_impl
src/model.cpp:493
Functionclip
src/infer.cpp:644
Functioncopy_debug_tensor
src/infer.cpp:19
Functiondequantize_row_q8_K
src/quant.cpp:655
Functiondump_debug_map
src/infer.cpp:30
Functiondump_debug_map_as_safetensors
src/infer.cpp:73
Functionffn_cpu
src/infer.cpp:1166
Methodfrom_codec_tensor
src/codec.cpp:166
Methodfrom_directory
src/codec.cpp:333
Methodhas_ext_modules
(self)
setup.py:7
Functionlayernorm
src/infer.cpp:613
Functionmain
src/test.cpp:312
Functionmain
src/main.cpp:594
Methodmax_err
src/model.cpp:913
Functionmem_bench2_thread
src/test.cpp:257
Functionmha_cpu
src/infer.cpp:1143
Methodmode
src/model.h:143
Methodmoegate
src/model.h:210
Methodmoegate_bias
src/model.h:211
Methodn_elements
src/codec.cpp:245
Methodparse_args
Returns true if args are valid, false otherwise
src/main.cpp:91
Methodparse_args
Returns true if args are valid, false otherwise
src/main.cpp:203
Functionquantize_q2_k
quantizer.cpp:4
Functionquantize_q3_k
quantizer.cpp:36
Methodrms_att_weight
src/model.h:205
Methodrms_ffn_weight
src/model.h:206
Methodsample_argmax
src/sampler.cpp:28
Methodsave
src/debug.cpp:5
Functionsave_debug_tensor
src/infer.cpp:27
Methodset_mode
src/model.h:144
Methodshared_w1
src/model.h:212
Methodshared_w2
src/model.h:213
Methodshared_w3
src/model.h:214
Functionstring_to_quant
src/codec.cpp:24
Methodupdate_from_file
src/codec.cpp:262
Methodw1
src/model.h:207
Methodw2
src/model.h:208
Methodw3
src/model.h:209
Methodwc
src/model.h:408
Methodwkv_a
src/model.h:318
Methodwkv_a
src/model.h:406
Methodwkv_b
src/model.h:319
Methodwo
src/model.h:320
Methodwo
src/model.h:407
Methodwq
src/model.h:315
Methodwq_a
src/model.h:316
Methodwq_a
src/model.h:405
Methodwq_b
src/model.h:317
Methodwq_rope_b
src/model.h:409
Methodwv_b
src/model.h:410
Method~Block
src/model.cpp:288
Method~BlockMHA
src/model.cpp:463
Method~BlockMLA
src/model.cpp:622
Method~InferenceState
src/model.cpp:728
Method~ProfileDisabledScope
src/profile.cpp:53
Method~ProfileScope
src/profile.cpp:30
← previous101–195 of 195, ranked by callers