Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiiny-AI/PowerInfer
/ functions
Functions
18,885 in github.com/Tiiny-AI/PowerInfer
⨍
Functions
18,885
◇
Types & classes
5,497
↳
Endpoints
6
↓ 2 callers
Function
parse_seq
seq ::= ( atom [ '...' ] )* ;
smallthinker/powerinfer/libaz/external/fmt/support/docopt.py:390
↓ 2 callers
Function
parse_shorts
shorts ::= '-' ( chars )* [ [ ' ' ] chars ] ;
smallthinker/powerinfer/libaz/external/fmt/support/docopt.py:334
↓ 2 callers
Function
parse_www_authenticate
examples/server/httplib.h:4694
↓ 2 callers
Method
pause
smallthinker/common/log.cpp:271
↓ 2 callers
Function
per_model_weight_count_estimation
(tensors: Iterable[tuple[str, LazyTensor]])
smallthinker/examples/convert_legacy_llama.py:1067
↓ 2 callers
Function
permute
(weights: NDArray, n_head: int, n_head_kv: int)
convert-dense.py:426
↓ 2 callers
Function
permute
(weights: NDArray, n_head: int, n_head_kv: int)
convert.py:447
↓ 2 callers
Function
permute
(weights: NDArray, n_head: int, n_head_kv: int)
smallthinker/examples/convert_legacy_llama.py:355
↓ 2 callers
Method
permute
(self, *dims: int)
smallthinker/convert_lora_to_gguf.py:161
↓ 2 callers
Function
permute_lazy
(lazy_tensor: LazyTensor, n_head: int, n_head_kv: int)
convert-dense.py:596
↓ 2 callers
Function
permute_lazy
(lazy_tensor: LazyTensor, n_head: int, n_head_kv: int)
convert.py:626
↓ 2 callers
Function
permute_lazy
(lazy_tensor: LazyTensor, n_head: int, n_head_kv: int)
smallthinker/examples/convert_legacy_llama.py:526
↓ 2 callers
Function
permute_part_lazy
(lazy_tensor: LazyTensor, n_part: int, n_head: int, n_head_kv: int)
convert-dense.py:601
↓ 2 callers
Function
permute_part_lazy
(lazy_tensor: LazyTensor, n_part: int, n_head: int, n_head_kv: int)
convert.py:631
↓ 2 callers
Function
permute_part_lazy
(lazy_tensor: LazyTensor, n_part: int, n_head: int, n_head_kv: int)
smallthinker/examples/convert_legacy_llama.py:532
↓ 2 callers
Function
pick_output_type
(model: LazyModel, output_type_str: str | None)
smallthinker/examples/convert_legacy_llama.py:1052
↓ 2 callers
Function
pop_back
@brief remove last reference token @sa https://json.nlohmann.me/api/json_pointer/pop_back/
examples/server/json.hpp:13840
↓ 2 callers
Method
pos_set
set the position of an empty cell does not modify "has_shift" note: call only if the cell is empty
smallthinker/src/llama-kv-cells.h:298
↓ 2 callers
Function
powerinfer_disable_tracing
smallthinker/powerinfer/powerinfer-perf/src/powerinfer-perf.cpp:43
↓ 2 callers
Function
powerinfer_enable_tracing
smallthinker/powerinfer/powerinfer-perf/src/powerinfer-perf.cpp:39
↓ 2 callers
Function
powerinfer_host_fused_sparse_moe_impl
smallthinker/powerinfer/fused_sparse_moe/fused_sparse_moe.cpp:515
↓ 2 callers
Function
powerinfer_host_post_attn_layernorm_impl
smallthinker/powerinfer/powerinfer-cpu/src/post_attn_layernorm.cpp:6
↓ 2 callers
Method
prepare
smallthinker/src/llama-kv-cache-unified.cpp:317
↓ 2 callers
Method
prepare_metadata
(self, vocab_only: bool)
smallthinker/convert_hf_to_gguf.py:380
↓ 2 callers
Function
print
smallthinker/powerinfer/libaz/external/fmt/include/fmt/format-inl.h:1719
↓ 2 callers
Method
print
smallthinker/common/log.cpp:60
↓ 2 callers
Method
print
smallthinker/common/sampling.cpp:133
↓ 2 callers
Function
print_common_train_usage
common/train.cpp:1089
↓ 2 callers
Function
print_debug_tensor
smallthinker/tools/cvector-generator/pca.hpp:21
↓ 2 callers
Function
print_error
smallthinker/powerinfer/libaz/external/fmt/test/format-test.cc:1929
↓ 2 callers
Function
print_error_stats
smallthinker/tests/test-quantize-stats.cpp:117
↓ 2 callers
Function
print_error_stats
examples/quantize-stats/quantize-stats.cpp:117
↓ 2 callers
Method
print_footer
smallthinker/tools/llama-bench/llama-bench.cpp:1363
↓ 2 callers
Method
print_header
smallthinker/tools/llama-bench/llama-bench.cpp:1359
↓ 2 callers
Method
print_info
smallthinker/src/llama-model.cpp:4546
↓ 2 callers
Function
print_lora_params
examples/finetune/finetune.cpp:211
↓ 2 callers
Function
print_normal
(normal, normalname)
smallthinker/powerinfer/libaz/external/fmt/support/printable.py:127
↓ 2 callers
Function
print_singletons
(uppers, lowers, uppersname, lowersname)
smallthinker/powerinfer/libaz/external/fmt/support/printable.py:117
↓ 2 callers
Method
print_test
smallthinker/tools/llama-bench/llama-bench.cpp:1385
↓ 2 callers
Method
print_timings
examples/server/server.cpp:480
↓ 2 callers
Function
print_usage
smallthinker/tools/llama-bench/llama-bench.cpp:310
↓ 2 callers
Function
print_usage
smallthinker/tools/rpc/rpc-server.cpp:142
↓ 2 callers
Function
print_usage
smallthinker/examples/lookup/lookup-merge.cpp:14
↓ 2 callers
Function
print_usage
examples/benchmark/benchmark-matmult.cpp:61
↓ 2 callers
Function
print_usage
examples/llama-bench/llama-bench.cpp:156
↓ 2 callers
Function
print_usage_information
smallthinker/tools/tokenize/tokenize.cpp:18
↓ 2 callers
Function
process_server_socket_core
examples/server/httplib.h:2589
↓ 2 callers
Function
prompt_contains_image
examples/llava/llava-cli.cpp:127
↓ 2 callers
Method
push
smallthinker/powerinfer/powerinfer-disk/src/atomic-queue/queue.h:627
↓ 2 callers
Function
push_back
smallthinker/powerinfer/libaz/external/fmt/include/fmt/args.h:154
↓ 2 callers
Function
put_codepoint
smallthinker/common/console.cpp:248
↓ 2 callers
Function
put_codepoint
common/console.cpp:245
↓ 2 callers
Function
qt
(e)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/bundle.081f42fc.min.js:27
↓ 2 callers
Function
quant_shape_from_byte_shape
(shape: Sequence[int], quant_type: GGMLQuantizationType)
smallthinker/gguf-py/gguf/quants.py:21
↓ 2 callers
Function
quant_shape_to_byte_shape
(shape: Sequence[int], quant_type: GGMLQuantizationType)
smallthinker/gguf-py/gguf/quants.py:14
↓ 2 callers
Function
quantize_iq2_s
smallthinker/ggml/src/ggml-quants.c:4911
↓ 2 callers
Function
quantize_iq3_s
smallthinker/ggml/src/ggml-quants.c:3955
↓ 2 callers
Function
quantize_row_iq3_xxs_impl
smallthinker/ggml/src/ggml-quants.c:3542
↓ 2 callers
Function
quantize_row_q2_K_ref
smallthinker/ggml/src/ggml-quants.c:636
↓ 2 callers
Function
quantize_row_q2_K_reference
ggml-quants.c:1458
↓ 2 callers
Function
quantize_row_q3_K_ref
smallthinker/ggml/src/ggml-quants.c:974
↓ 2 callers
Function
quantize_row_q3_K_reference
ggml-quants.c:1597
↓ 2 callers
Function
quantize_row_q4_0_reference
reference implementation for deterministic creation of model files
ggml-quants.c:428
↓ 2 callers
Function
quantize_row_q4_1_reference
ggml-quants.c:469
↓ 2 callers
Function
quantize_row_q4_K_ref
smallthinker/ggml/src/ggml-quants.c:1202
↓ 2 callers
Function
quantize_row_q4_K_reference
ggml-quants.c:1810
↓ 2 callers
Function
quantize_row_q5_0_reference
ggml-quants.c:510
↓ 2 callers
Function
quantize_row_q5_1_reference
ggml-quants.c:558
↓ 2 callers
Function
quantize_row_q5_K_ref
smallthinker/ggml/src/ggml-quants.c:1389
↓ 2 callers
Function
quantize_row_q5_K_reference
ggml-quants.c:1975
↓ 2 callers
Function
quantize_row_q6_K_ref
smallthinker/ggml/src/ggml-quants.c:1614
↓ 2 callers
Function
quantize_row_q6_K_reference
ggml-quants.c:2181
↓ 2 callers
Function
quantize_row_q8_0_ref
reference implementation for deterministic creation of model files
smallthinker/ggml/src/ggml-quants.c:188
↓ 2 callers
Function
quantize_row_q8_0_reference
reference implementation for deterministic creation of model files
ggml-quants.c:607
↓ 2 callers
Function
quantize_row_q8_1_sycl
smallthinker/ggml/src/ggml-sycl/ggml-sycl.cpp:1775
↓ 2 callers
Function
quantize_row_q8_K_ref
smallthinker/ggml/src/ggml-quants.c:2473
↓ 2 callers
Function
quantize_row_tq1_0_ref
smallthinker/ggml/src/ggml-quants.c:2019
↓ 2 callers
Function
quantize_row_tq2_0_ref
smallthinker/ggml/src/ggml-quants.c:2085
↓ 2 callers
Function
r
(e)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/min/lunr.el.min.js:1
↓ 2 callers
Function
random_string
smallthinker/tools/server/utils.hpp:456
↓ 2 callers
Function
random_string
https://stackoverflow.com/questions/440133/how-do-i-create-a-random-alpha-numeric-string-in-c/440240#answer-440240
examples/server/httplib.h:4728
↓ 2 callers
Function
read_content_with_length
examples/server/httplib.h:3490
↓ 2 callers
Method
read_string
smallthinker/examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp:499
↓ 2 callers
Method
read_string
examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp:521
↓ 2 callers
Method
read_u32
smallthinker/examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp:488
↓ 2 callers
Method
read_u32
examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp:510
↓ 2 callers
Function
readline
smallthinker/common/console.cpp:495
↓ 2 callers
Method
recv_with_timeout
same as recv(), but have timeout in seconds if timeout is reached, nullptr is returned
smallthinker/tools/server/server.cpp:1794
↓ 2 callers
Function
refreshLineWithCompletion
Called by completeLine() and linenoiseShow() to render the current * edited line with the proposed completion. If the current completion table * is
smallthinker/tools/run/linenoise.cpp/linenoise.cpp:844
↓ 2 callers
Function
refreshMultiLine
Multi line low level line refresh. * * Rewrite the currently edited line accordingly to the buffer content, * cursor position, and number of column
smallthinker/tools/run/linenoise.cpp/linenoise.cpp:1215
↓ 2 callers
Function
refreshShowHints
Helper of refreshSingleLine() and refreshMultiLine() to show hints * to the right of the prompt. */
smallthinker/tools/run/linenoise.cpp/linenoise.cpp:1052
↓ 2 callers
Function
refreshSingleLine
Single line low level line refresh. * * Rewrite the currently edited line accordingly to the buffer content, * cursor position, and number of colum
smallthinker/tools/run/linenoise.cpp/linenoise.cpp:1129
↓ 2 callers
Method
release
examples/server/httplib.h:334
↓ 2 callers
Function
relu_sycl
smallthinker/ggml/src/ggml-sycl/element_wise.cpp:440
↓ 2 callers
Function
remove_trailing_zeros
Remove trailing zeros from n and return the number of zeros removed (float)
smallthinker/powerinfer/libaz/external/fmt/include/fmt/format-inl.h:1153
↓ 2 callers
Function
renormalize_json
smallthinker/tests/test-chat.cpp:139
↓ 2 callers
Function
repack_q4_0_to_q4_0_4_bl
smallthinker/ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp:5794
↓ 2 callers
Function
replaceMessageAndGenerate
( convId: string, parentNodeId: Message['id'], // the parent node of the message to be replaced co
smallthinker/tools/server/webui/src/utils/app.context.tsx:350
↓ 2 callers
Function
replace_all
llama.cpp:127
↓ 2 callers
Method
reportResult
smallthinker/pocs/vdot/q8dot.cpp:108
← previous
next →
5,201–5,300 of 18,885, ranked by callers