MCPcopy Create free account

hub / github.com/cactus-compute/cactus / functions

Functions2,677 in github.com/cactus-compute/cactus

↓ 1,332 callersMethodsize
cactus/engine/engine.h:1057
↓ 779 callersMethoddata
cactus/graph/graph_io.cpp:888
↓ 510 callersMethodmmap_weights
cactus/graph/graph_io.cpp:492
↓ 260 callersMethodreshape
cactus/graph/graph_builder.cpp:197
↓ 241 callersFunctioncfg_get
Get a config value from a dict or object, with fallback default.
python/src/config_utils.py:64
↓ 196 callersMethodmatmul
cactus/graph/graph_builder.cpp:127
↓ 164 callersMethodget
tests/test_utils.cpp:469
↓ 154 callersMethodclear
cactus/graph/graph_core.cpp:55
↓ 150 callersMethodrun_test
tests/test_utils.cpp:101
↓ 147 callersMethodget_output_buffer
cactus/npu/npu_ane.h:119
↓ 128 callersMethodadd
cactus/graph/graph_builder.cpp:11
↓ 127 callersFunctionstbi__err
libs/stb/stb_image.h:485
↓ 112 callersFunctionprint_color
Print a message with ANSI color codes.
python/src/cli.py:64
↓ 103 callersFunctionas_graph
cactus/ffi/cactus_graph.cpp:13
↓ 99 callersMethodset_input
(self, tensor, data, dtype=None)
python/src/graph.py:47
↓ 94 callersMethodinput
(self, shape, dtype=FP16)
python/src/graph.py:38
↓ 86 callersMethodrms_norm
cactus/graph/graph_builder.cpp:330
↓ 85 callersMethodinput
cactus/graph/graph_builder.cpp:7
↓ 75 callersMethodexecute
tests/test_utils.h:92
↓ 71 callersFunctionfail_invalid
cactus/ffi/cactus_graph.cpp:17
↓ 71 callersMethodslice
cactus/graph/graph_builder.cpp:1415
↓ 70 callersFunctionstbi__get8
libs/stb/stb_image.h:994
↓ 64 callersFunctionhandle_error_response
cactus/ffi/cactus_utils.h:702
↓ 63 callersMethodset_input
cactus/graph/graph_execute.cpp:206
↓ 62 callersFunctioncolored
tests/asr.cpp:65
↓ 61 callersMethodcreate_input
tests/test_utils.h:84
↓ 60 callersMethodencode
cactus/engine/engine_sp.cpp:436
↓ 59 callersMethodset_input_data
tests/test_utils.h:88
↓ 58 callersFunctionsave_tensor_with_header
Save a tensor to binary format with header metadata and group-wise quantization. For 2D tensors with INT8/INT4 precision: - INT4 is packed (2
python/src/tensor_io.py:129
↓ 56 callersFunctioncactus_destroy
Frees all model resources.
python/src/cactus.py:509
↓ 54 callersFunctionparallel_for
cactus/kernel/kernel_utils.h:540
↓ 49 callersMethodexecute
cactus/graph/graph_execute.cpp:251
↓ 47 callersFunctioncolored
tests/chat.cpp:156
↓ 45 callersMethodscalar_multiply
cactus/graph/graph_builder.cpp:1302
↓ 44 callersMethodadd
(self, a, b)
python/src/graph.py:73
↓ 43 callersMethodverify_output
tests/test_utils.h:98
↓ 42 callersFunctioncactus_init
Initializes a model from the given path. Returns handle.
python/src/cactus.py:501
↓ 41 callersMethodsoft_reset
cactus/graph/graph_execute.cpp:728
↓ 39 callersMethodlayernorm
cactus/graph/graph_builder.cpp:460
↓ 37 callersMethodmultiply
cactus/graph/graph_builder.cpp:40
↓ 36 callersMethodconcat
cactus/graph/graph_builder.cpp:1172
↓ 35 callersMethoddecode
cactus/engine/engine_sp.cpp:465
↓ 33 callersMethodnumpy
(self)
python/src/graph.py:350
↓ 31 callersFunction_enc
(s)
python/src/cactus.py:465
↓ 31 callersFunctionjstring_to_cstr
android/cactus_jni.cpp:9
↓ 31 callersMethodlog_performance
tests/test_utils.cpp:111
↓ 31 callersFunctionrelease_jstring
android/cactus_jni.cpp:14
↓ 28 callersFunctioncactus_complete
Runs chat completion. Returns response string.
python/src/cactus.py:524
↓ 28 callersFunctioncactus_get_last_error
Returns the last error message or None.
python/src/cactus.py:471
↓ 28 callersMethodembedding
cactus/graph/graph_io.cpp:557
↓ 28 callersMethodparse
tests/test_utils.cpp:310
↓ 28 callersFunctionsave
(filename, key)
python/src/converter.py:1133
↓ 28 callersMethodset_external_input
cactus/graph/graph_execute.cpp:224
↓ 27 callersMethodget_data
cactus/graph/graph_core.cpp:146
↓ 27 callersMethodprecision_cast
cactus/graph/graph_builder.cpp:1474
↓ 26 callersFunctioncactus_fp32_to_fp16
cactus/kernel/kernel_quants.cpp:108
↓ 26 callersMethodscalar_add
cactus/graph/graph_builder.cpp:1288
↓ 25 callersFunctionfast_exp_f32x4
cactus/kernel/kernel_utils.h:76
↓ 25 callersMethodmean
cactus/graph/graph_builder.cpp:258
↓ 24 callersMethodadd
tests/test_index.cpp:50
↓ 24 callersMethodattention
cactus/graph/graph_builder.cpp:504
↓ 24 callersMethodhard_reset
(self)
python/src/graph.py:63
↓ 24 callersMethodrope
cactus/graph/graph_builder.cpp:335
↓ 23 callersFunction_err
(default)
python/src/cactus.py:477
↓ 23 callersMethodget_output
cactus/graph/graph_execute.cpp:238
↓ 23 callersFunctionreset_cache
cactus/ffi/cactus_complete.cpp:334
↓ 23 callersFunctionsuppress_unwanted_text
cactus/ffi/cactus_stream.cpp:109
↓ 22 callersFunctionescape_json_string
cactus/ffi/cactus_utils.h:434
↓ 22 callersMethodget_output
tests/test_utils.h:94
↓ 22 callersMethodget_tokenizer
cactus/engine/engine.h:725
↓ 21 callersFunctionjson_number
tests/test_utils.cpp:195
↓ 21 callersMethodrelu
cactus/graph/graph_builder.cpp:1336
↓ 21 callersFunctionunpack_int4_as_int8x16x2
cactus/kernel/kernel_utils.h:175
↓ 20 callersMethodclear
tests/test_utils.cpp:463
↓ 20 callersFunctionjson_string
tests/test_utils.cpp:207
↓ 20 callersMethodreset
cactus/engine/engine_cache.cpp:54
↓ 20 callersFunctionsetup_random_data
tests/test_performance.cpp:40
↓ 20 callersFunctionstream_store_f16x8
cactus/kernel/kernel_utils.h:34
↓ 20 callersFunctionthrowCactusException
android/cactus_jni.cpp:26
↓ 20 callersFunctionthrowOnError
android/cactus_jni.cpp:31
↓ 20 callersFunctiontolower
tests/test_exhaustive.cpp:52
↓ 19 callersMethodexecute
(self)
python/src/graph.py:68
↓ 19 callersFunctionstbi__malloc
libs/stb/stb_image.h:492
↓ 18 callersFunctioncactus_quantize_kv_fp16_to_int8
cactus/kernel/kernel_quants.cpp:267
↓ 18 callersMethodget
tests/test_index.cpp:77
↓ 18 callersMethodprint_json
tests/test_utils.cpp:329
↓ 18 callersMethodprint_summary
tests/test_utils.cpp:119
↓ 18 callersFunctionrecordStreamTranscription
cactus/telemetry/telemetry.cpp:1479
↓ 18 callersFunctionstbi__get16be
libs/stb/stb_image.h:1057
↓ 17 callersMethod_ensure_tensor
(self, x)
python/src/graph.py:249
↓ 17 callersMethodgelu
cactus/graph/graph_builder.cpp:1344
↓ 17 callersFunctionjson_number
cactus/ffi/cactus_stream.cpp:24
↓ 17 callersMethodupdate
cactus/engine/engine_cache.cpp:634
↓ 16 callersMethodall_passed
tests/test_utils.cpp:128
↓ 16 callersFunctionapply_vocabulary_spelling_correction
cactus/ffi/cactus_utils.h:1121
↓ 16 callersMethodget_total_seq_len
cactus/engine/engine.h:536
↓ 16 callersMethodis_empty
cactus/engine/engine.h:549
↓ 16 callersMethodmmap_embeddings
cactus/graph/graph_io.cpp:462
↓ 16 callersMethodsilu
cactus/graph/graph_builder.cpp:1340
↓ 15 callersMethod_tensor_from_node
(self, node_id)
python/src/graph.py:270
next →1–100 of 2,677, ranked by callers