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
↓ 15 callers
Function
fast_tanh_f32x4
cactus/kernel/kernel_utils.h:132
↓ 15 callers
Method
is_available
cactus/npu/npu_ane.h:113
↓ 15 callers
Function
parallel_for_2d
cactus/kernel/kernel_utils.h:574
↓ 15 callers
Function
setStreamMode
cactus/telemetry/telemetry.cpp:1490
↓ 15 callers
Function
skip_whitespace
cactus/ffi/gemma_tools.h:22
↓ 14 callers
Function
cactus_prefill
Prefills the KV cache with messages.
python/src/cactus.py:549
↓ 14 callers
Method
load
(cls, filename)
python/src/graph.py:24
↓ 14 callers
Method
scales_as_fp16
cactus/graph/graph.h:270
↓ 13 callers
Method
abs
(self, x)
python/src/graph.py:85
↓ 13 callers
Function
collect_parakeet_word_spans
cactus/ffi/cactus_stream.cpp:535
↓ 13 callers
Function
get_ram_usage_mb
cactus/ffi/cactus_utils.h:58
↓ 13 callers
Function
init
cactus/telemetry/telemetry.cpp:1298
↓ 13 callers
Function
json_string_field
cactus/ffi/cactus_utils.h:480
↓ 13 callers
Function
parakeet_word_from_span
cactus/ffi/cactus_stream.cpp:559
↓ 13 callers
Method
persistent
cactus/graph/graph_builder.cpp:1522
↓ 13 callers
Function
read_u32
read helpers
cactus/graph/graph_io.cpp:222
↓ 13 callers
Function
write_u32
cactus/graph/graph_io.cpp:30
↓ 12 callers
Function
as_fp16_ptr
cactus/graph/graph_ops_nn.cpp:71
↓ 12 callers
Method
compute_spectrogram
cactus/engine/engine_signals.cpp:680
↓ 12 callers
Method
index
cactus/graph/graph_builder.cpp:202
↓ 12 callers
Method
init
tests/test_utils.cpp:389
↓ 12 callers
Method
init_mel_filters
cactus/engine/engine_signals.cpp:656
↓ 12 callers
Method
max
cactus/graph/graph_builder.cpp:312
↓ 12 callers
Function
recordTranscription
cactus/telemetry/telemetry.cpp:1470
↓ 12 callers
Function
stbi__grow_buffer_unsafe
libs/stb/stb_image.h:1333
↓ 12 callers
Function
stbi__zreceive
libs/stb/stb_image.h:3217
↓ 12 callers
Method
transposeN
cactus/graph/graph_builder.cpp:180
↓ 11 callers
Function
create_model
cactus/engine/engine_model.cpp:751
↓ 11 callers
Function
extract_double_field
cactus/telemetry/telemetry.cpp:620
↓ 11 callers
Function
fill_fp16
tests/test_kv_cache.cpp:13
↓ 11 callers
Method
get_keys_int8
cactus/engine/engine_cache.cpp:549
↓ 11 callers
Method
init
tests/test_index.cpp:43
↓ 11 callers
Method
is_grouped_int8
cactus/graph/graph.h:274
↓ 11 callers
Function
is_npu_available
cactus/npu/npu.cpp:17
↓ 11 callers
Function
resample_to_16k_fp32
libs/audio/wav.h:101
↓ 11 callers
Method
save
(self, filename)
python/src/graph.py:18
↓ 10 callers
Method
attention_int8_hybrid
cactus/graph/graph_builder.cpp:573
↓ 10 callers
Function
cactus_reset
Clears the KV cache.
python/src/cactus.py:514
↓ 10 callers
Function
cactus_transcribe
Transcribes audio to text. Returns transcription string.
python/src/cactus.py:585
↓ 10 callers
Method
cat
(self, tensors, axis=0)
python/src/graph.py:140
↓ 10 callers
Function
escape
cactus/ffi/gemma_tools.h:18
↓ 10 callers
Function
fail_with
(message)
tests/ios/configure_xcode.rb:4
↓ 10 callers
Method
flatten
(self, x, start_dim=0, end_dim=-1)
python/src/graph.py:111
↓ 10 callers
Method
get_input_shape
cactus/npu/npu_ane.h:115
↓ 10 callers
Method
get_key_scales
cactus/engine/engine_cache.cpp:563
↓ 10 callers
Method
invalidate_persistent
cactus/graph/graph_builder.cpp:1535
↓ 10 callers
Method
print_line
tests/test_utils.cpp:367
↓ 10 callers
Function
runtime_id_from_serialized_index
tests/test_graph.cpp:22
↓ 10 callers
Method
set_window_size
cactus/engine/engine_cache.cpp:27
↓ 10 callers
Function
stbi__blinn_8x8
libs/stb/stb_image.h:2891
↓ 10 callers
Method
sum
cactus/graph/graph_builder.cpp:240
↓ 10 callers
Method
transpose
cactus/graph/graph_builder.cpp:160
↓ 9 callers
Function
cactus_fp16_to_int8
cactus/kernel/kernel_quants.cpp:159
↓ 9 callers
Function
cactus_matmul_f16
cactus/kernel/kernel_matmul.cpp:161
↓ 9 callers
Method
del
tests/test_index.cpp:86
↓ 9 callers
Function
escape_json
tests/chat.cpp:245
↓ 9 callers
Function
extract_json_number
tests/asr.cpp:121
↓ 9 callers
Method
get_values_int8
cactus/engine/engine_cache.cpp:556
↓ 9 callers
Method
load
cactus/graph/graph_io.cpp:457
↓ 9 callers
Function
load_wav
libs/audio/wav.h:97
↓ 9 callers
Method
pow
(self, x, exponent)
python/src/graph.py:93
↓ 9 callers
Method
preallocate
cactus/npu/npu_ane.h:103
↓ 9 callers
Function
seconds_to_pcm_bytes
cactus/ffi/cactus_stream.cpp:300
↓ 9 callers
Function
simd_align
cactus/kernel/kernel_utils.h:150
↓ 9 callers
Function
skip_ws
cactus/ffi/cactus_utils.h:591
↓ 9 callers
Function
stbi__get16le
libs/stb/stb_image.h:1069
↓ 9 callers
Function
stbi__get_marker
libs/stb/stb_image.h:2067
↓ 9 callers
Method
view
(self, x, shape)
python/src/graph.py:101
↓ 8 callers
Function
cactus_fp16_max_abs
cactus/kernel/kernel_quants.cpp:197
↓ 8 callers
Function
calculate_gflops
tests/test_performance.cpp:63
↓ 8 callers
Function
clipped_matmul
cactus/models/gemma4/model_gemma4_audio.cpp:274
↓ 8 callers
Method
conv2d_k3s2p1
cactus/graph/graph_builder.cpp:822
↓ 8 callers
Method
elapsed_ms
tests/test_utils.cpp:190
↓ 8 callers
Function
escape_json
cactus/ffi/cactus_stream.cpp:50
↓ 8 callers
Function
escape_json_string
cactus/telemetry/telemetry.cpp:800
↓ 8 callers
Function
flush
cactus/telemetry/telemetry.cpp:1509
↓ 8 callers
Method
format_chat_prompt
cactus/engine/engine_tokenizer.cpp:283
↓ 8 callers
Method
gather
cactus/graph/graph_builder.cpp:1396
↓ 8 callers
Method
get_effective_seq_len
cactus/engine/engine.h:535
↓ 8 callers
Method
get_embeddings
cactus/engine/engine_model.cpp:378
↓ 8 callers
Function
get_parakeet_spectrogram_config
cactus/ffi/cactus_utils.h:119
↓ 8 callers
Method
get_value_scales
cactus/engine/engine_cache.cpp:570
↓ 8 callers
Method
min
cactus/graph/graph_builder.cpp:294
↓ 8 callers
Function
parakeet_append_monotonic_text
cactus/ffi/cactus_stream.cpp:489
↓ 8 callers
Function
parakeet_strip_recent_committed_prefix
cactus/ffi/cactus_stream.cpp:731
↓ 8 callers
Function
recordCompletion
cactus/telemetry/telemetry.cpp:1449
↓ 8 callers
Function
remove_if_exists
(path)
python/src/cli.py:1574
↓ 8 callers
Method
scalar_sqrt
cactus/graph/graph_builder.cpp:1320
↓ 8 callers
Function
stbi__clamp
libs/stb/stb_image.h:1638
↓ 8 callers
Function
stbi__rewind
libs/stb/stb_image.h:432
↓ 8 callers
Function
stbi__skip
libs/stb/stb_image.h:1015
↓ 8 callers
Function
stbir__half_to_float
libs/stb/stb_image_resize2.h:1587
↓ 8 callers
Method
update_from_graph
cactus/engine/engine_cache.cpp:107
↓ 8 callers
Function
write_file
tests/test_model_loading.cpp:13
↓ 7 callers
Function
_find_first_key
(state_dict, candidates)
python/src/converter.py:52
↓ 7 callers
Method
add_clipped
cactus/graph/graph_builder.cpp:20
↓ 7 callers
Function
compute_padding
Compute padding bytes needed to reach alignment boundary.
python/src/tensor_io.py:33
↓ 7 callers
Method
conv1d
cactus/graph/graph_builder.cpp:656
↓ 7 callers
Method
conv1d_pointwise
cactus/graph/graph_builder.cpp:755
↓ 7 callers
Function
create_encoder
cactus/npu/npu.cpp:9
← previous
next →
101–200 of 2,677, ranked by callers