Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cactus-compute/cactus
/ functions
Functions
2,677 in github.com/cactus-compute/cactus
⨍
Functions
2,677
◇
Types & classes
447
↓ 5 callers
Function
stbi__zbuild_huffman
libs/stb/stb_image.h:3134
↓ 5 callers
Function
stbir__get_ring_buffer_entry
libs/stb/stb_image_resize2.h:5282
↓ 5 callers
Function
stbir_resize_extended
libs/stb/stb_image_resize2.h:6804
↓ 5 callers
Function
trim_mel_frames
cactus/ffi/cactus_utils.h:287
↓ 5 callers
Function
write_u64
cactus/graph/graph_io.cpp:34
↓ 4 callers
Method
_binary
(self, fn_name, a, b)
python/src/graph.py:240
↓ 4 callers
Function
_gemma_tower_output_name
(hf_key, strip_prefix, add_prefix)
python/src/converter.py:59
↓ 4 callers
Function
align_offset
Round up offset to next alignment boundary.
python/src/tensor_io.py:25
↓ 4 callers
Function
align_offset
cactus/graph/graph_io.cpp:24
↓ 4 callers
Function
cactus_audio_embed
Generates an audio embedding. Returns list of floats.
python/src/cactus.py:630
↓ 4 callers
Function
cactus_conv1d_causal_depthwise_f16
cactus/kernel/kernel_conv.cpp:73
↓ 4 callers
Function
cactus_dotq_with_pattern
cactus/kernel/kernel_matmul.cpp:24
↓ 4 callers
Function
cactus_embed_speaker
Extracts a speaker embedding vector. Returns JSON string.
python/src/cactus.py:676
↓ 4 callers
Function
cactus_image_embed
Generates an image embedding. Returns list of floats.
python/src/cactus.py:620
↓ 4 callers
Function
cactus_index_delete
Removes documents by ID.
python/src/cactus.py:798
↓ 4 callers
Function
cactus_index_destroy
Frees all index resources.
python/src/cactus.py:894
↓ 4 callers
Function
cactus_log_set_callback
Sets a log callback. Pass None to clear. Callback signature: (level: int, component: str, message: str).
python/src/cactus.py:907
↓ 4 callers
Function
cactus_stream_transcribe_start
Creates a streaming transcription session. Returns stream handle.
python/src/cactus.py:733
↓ 4 callers
Method
clear_debug_nodes
cactus/graph/graph_core.cpp:255
↓ 4 callers
Function
compare_arrays
tests/test_utils.h:63
↓ 4 callers
Method
concat
(self, a, b, axis=0)
python/src/graph.py:125
↓ 4 callers
Function
construct_response_json
cactus/ffi/cactus_utils.h:1735
↓ 4 callers
Method
conv1d_same_depthwise_k9
cactus/graph/graph_builder.cpp:692
↓ 4 callers
Method
decode
cactus/models/model_lfm2vl.cpp:394
↓ 4 callers
Method
divide
(self, a, b)
python/src/graph.py:82
↓ 4 callers
Method
divide
cactus/graph/graph_builder.cpp:50
↓ 4 callers
Method
embedding
cactus/engine/engine.h:1053
↓ 4 callers
Method
enqueue_n_threads
cactus/kernel/kernel_utils.h:387
↓ 4 callers
Function
extract_int_field
cactus/telemetry/telemetry.cpp:650
↓ 4 callers
Function
f16x8_split_f32
cactus/kernel/kernel_utils.h:154
↓ 4 callers
Method
get_chunk_size
cactus/npu/npu_ane.h:137
↓ 4 callers
Function
get_json_string_value
cactus/ffi/gemma_tools.h:190
↓ 4 callers
Method
glu
cactus/graph/graph_builder.cpp:1360
↓ 4 callers
Method
has_images
cactus/ffi/cactus_complete.cpp:390
↓ 4 callers
Method
is_populated
cactus/graph/graph_builder.cpp:1531
↓ 4 callers
Function
json_bool
cactus/ffi/cactus_stream.cpp:54
↓ 4 callers
Function
levenshtein_ci
cactus/ffi/cactus_utils.h:1096
↓ 4 callers
Method
load_config
(self)
python/src/config_utils.py:16
↓ 4 callers
Function
load_graph
cactus/graph/graph_io.cpp:651
↓ 4 callers
Function
make_temp_dir
tests/test_model_loading.cpp:7
↓ 4 callers
Function
make_temp_dir
tests/test_telemetry.cpp:17
↓ 4 callers
Function
match_quote_tag
cactus/ffi/gemma_tools.h:407
↓ 4 callers
Function
matches_stop_sequence
cactus/ffi/cactus_init.cpp:340
↓ 4 callers
Function
parallel_reduce
cactus/kernel/kernel_utils.h:586
↓ 4 callers
Function
parse_json_object_raw
cactus/ffi/gemma_tools.h:125
↓ 4 callers
Function
pcm_buffer_to_float_samples
cactus/ffi/cactus_utils.h:342
↓ 4 callers
Method
post_execute_updates
cactus/models/model_lfm2.cpp:363
↓ 4 callers
Function
print_separator
tests/chat.cpp:161
↓ 4 callers
Function
read_scalar_weight
cactus/models/gemma4/model_gemma4_audio.cpp:282
↓ 4 callers
Method
rel_pos_bias
cactus/graph/graph_builder.cpp:542
↓ 4 callers
Method
release_weight_pages
cactus/graph/graph_io.cpp:523
↓ 4 callers
Function
resolve_cloud_api_key
cactus/ffi/cactus_cloud.cpp:41
↓ 4 callers
Function
run_test
tests/test_llm.cpp:27
↓ 4 callers
Function
save_node
cactus/graph/graph_io.cpp:698
↓ 4 callers
Method
scalar_divide
cactus/graph/graph_builder.cpp:1309
↓ 4 callers
Method
scalar_subtract
cactus/graph/graph_builder.cpp:1295
↓ 4 callers
Method
softmax
cactus/graph/graph_builder.cpp:340
↓ 4 callers
Function
split_with_special_tokens
cactus/engine/engine_tokenizer.cpp:130
↓ 4 callers
Method
state_dict
(self)
python/src/cli.py:550
↓ 4 callers
Function
stbi__compute_y_16
libs/stb/stb_image.h:1133
↓ 4 callers
Function
stbi__extend_receive
libs/stb/stb_image.h:1395
↓ 4 callers
Function
stbi__jpeg_get_bit
libs/stb/stb_image.h:1422
↓ 4 callers
Function
stbi__load_and_postprocess_8bit
libs/stb/stb_image.h:694
↓ 4 callers
Function
stbi__load_gif_main_outofmem
libs/stb/stb_image.h:4652
↓ 4 callers
Function
stbi__mad3sizes_valid
libs/stb/stb_image.h:515
↓ 4 callers
Function
stbi__vertical_flip
libs/stb/stb_image.h:657
↓ 4 callers
Function
stbi__zget8
libs/stb/stb_image.h:3200
↓ 4 callers
Function
stbi_image_free
libs/stb/stb_image.h:571
↓ 4 callers
Function
stbi_load
libs/stb/stb_image.h:792
↓ 4 callers
Function
stbir__check_output_stuff
libs/stb/stb_image_resize2.h:6867
↓ 4 callers
Function
stbir__float_to_half_SIMD
libs/stb/stb_image_resize2.h:1648
↓ 4 callers
Function
stbir_resize_init
libs/stb/stb_image_resize2.h:6562
↓ 4 callers
Function
strip_unwanted_text_preserving_edges
cactus/ffi/cactus_stream.cpp:484
↓ 4 callers
Method
subtract
(self, a, b)
python/src/graph.py:76
↓ 4 callers
Method
tanh
(self, x)
python/src/graph.py:228
↓ 4 callers
Function
test_basic_operation
tests/test_utils.cpp:132
↓ 4 callers
Method
topk
cactus/graph/graph_builder.cpp:345
↓ 4 callers
Function
trim_lfm2_slice
cactus/ffi/cactus_utils.h:1401
↓ 4 callers
Method
update_kv_cache
cactus/engine/engine_model.cpp:368
↓ 4 callers
Function
validate_audio_params
cactus/ffi/cactus_utils.h:1795
↓ 4 callers
Method
variance
cactus/graph/graph_builder.cpp:276
↓ 4 callers
Method
wait_all
cactus/kernel/kernel_utils.h:379
↓ 3 callers
Function
_looks_like_project_root
(path: Path)
python/src/cli.py:15
↓ 3 callers
Function
_resolve_nested
(tree, dotted_path)
python/src/converter.py:1305
↓ 3 callers
Method
add
cactus/ffi/cactus_complete.cpp:355
↓ 3 callers
Method
add_batch
tests/test_index.cpp:58
↓ 3 callers
Function
append_lfm2_call
cactus/ffi/cactus_utils.h:1405
↓ 3 callers
Function
apply_curl_tls_trust
cactus/telemetry/telemetry.cpp:903
↓ 3 callers
Function
apply_residual_gate
cactus/models/model_needle.cpp:22
↓ 3 callers
Method
batchnorm
cactus/graph/graph_builder.cpp:475
↓ 3 callers
Function
cactus_add_f16
cactus/kernel/kernel_blas.cpp:187
↓ 3 callers
Function
cactus_conv1d_f16_k3
cactus/kernel/kernel_conv.cpp:177
↓ 3 callers
Function
cactus_detect_language
Detects the spoken language in audio. Returns JSON string.
python/src/cactus.py:567
↓ 3 callers
Function
cactus_diarize
Runs speaker diarization. Returns JSON string.
python/src/cactus.py:658
↓ 3 callers
Function
cactus_fp16_to_fp32
cactus/kernel/kernel_quants.cpp:87
↓ 3 callers
Function
cactus_index_compact
Compacts the index storage.
python/src/cactus.py:887
↓ 3 callers
Function
cactus_index_get
Retrieves documents by ID. Returns JSON string.
python/src/cactus.py:839
↓ 3 callers
Function
cactus_index_init
Initializes a vector index in the given directory. Returns handle.
python/src/cactus.py:761
↓ 3 callers
Function
cactus_index_query
Searches the index by embedding. Returns JSON string.
python/src/cactus.py:807
↓ 3 callers
Function
cactus_matmul_int8
cactus/kernel/kernel_matmul.cpp:484
← previous
next →
301–400 of 2,677, ranked by callers