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
clip_image_encode
examples/llava/clip.cpp:836
↓ 2 callers
Function
clip_image_f32_free
examples/llava/clip.cpp:690
↓ 2 callers
Function
clip_image_preprocess
normalize: x = (x - mean) / std TODO: implement bicubic interpolation instead of linear.
examples/llava/clip.cpp:726
↓ 2 callers
Method
close
(self)
convert-dense.py:884
↓ 2 callers
Function
code_point_length
smallthinker/powerinfer/libaz/external/fmt/include/fmt/base.h:1287
↓ 2 callers
Function
codepoint_from_utf8
unicode.h:259
↓ 2 callers
Function
collectNonEnumProps
(obj, keys)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/wordcut.js:5432
↓ 2 callers
Function
columnPosForMultiLine
Get column length from begining of buffer to current byte position for multiline mode*/
smallthinker/tools/run/linenoise.cpp/linenoise.cpp:1179
↓ 2 callers
Function
combine_error_stats
smallthinker/tests/test-quantize-stats.cpp:97
↓ 2 callers
Function
combine_error_stats
examples/quantize-stats/quantize-stats.cpp:97
↓ 2 callers
Function
common_chat_params_init_generic
smallthinker/common/chat.cpp:750
↓ 2 callers
Function
common_chat_parse_llama_3_1
smallthinker/common/chat.cpp:1132
↓ 2 callers
Function
common_chat_tools_parse_oaicompat
smallthinker/common/chat.cpp:326
↓ 2 callers
Function
common_download_file_single
download one single file from remote URL to local path
smallthinker/common/arg.cpp:247
↓ 2 callers
Function
common_log_pause
smallthinker/common/log.cpp:360
↓ 2 callers
Function
common_log_set_prefix
smallthinker/common/log.cpp:387
↓ 2 callers
Function
common_log_set_timestamps
smallthinker/common/log.cpp:391
↓ 2 callers
Function
common_log_set_verbosity_thold
smallthinker/common/log.cpp:14
↓ 2 callers
Function
common_ngram_cache_draft
smallthinker/common/ngram-cache.cpp:146
↓ 2 callers
Function
common_sampler_clone
smallthinker/common/sampling.cpp:316
↓ 2 callers
Function
common_sampler_get_seed
smallthinker/common/sampling.cpp:423
↓ 2 callers
Function
common_sampler_print
smallthinker/common/sampling.cpp:437
↓ 2 callers
Function
common_sampler_sample_and_accept_n
smallthinker/common/sampling.cpp:384
↓ 2 callers
Function
common_sampler_type_to_str
smallthinker/common/sampling.cpp:485
↓ 2 callers
Function
common_sampler_types_from_chars
smallthinker/common/sampling.cpp:552
↓ 2 callers
Function
common_sampler_types_from_names
smallthinker/common/sampling.cpp:501
↓ 2 callers
Function
common_set_adapter_lora
smallthinker/common/common.cpp:1069
↓ 2 callers
Function
common_speculative_are_compatible
smallthinker/common/speculative.cpp:77
↓ 2 callers
Function
common_speculative_free
smallthinker/common/speculative.cpp:65
↓ 2 callers
Function
common_speculative_gen_draft
smallthinker/common/speculative.cpp:137
↓ 2 callers
Function
common_speculative_init
smallthinker/common/speculative.cpp:21
↓ 2 callers
Function
compress_normal
(normal)
smallthinker/powerinfer/libaz/external/fmt/support/printable.py:89
↓ 2 callers
Function
compress_singletons
(singletons)
smallthinker/powerinfer/libaz/external/fmt/support/printable.py:73
↓ 2 callers
Function
compute_boundaries
examples/server/json.hpp:16972
↓ 2 callers
Function
compute_samples_hash
common/train.cpp:364
↓ 2 callers
Method
construct
examples/server/json.hpp:5461
↓ 2 callers
Function
consume_common_train_arg
common/train.cpp:1142
↓ 2 callers
Function
convert
(name: str)
convert-dense.py:544
↓ 2 callers
Function
convert
(name: str)
convert.py:573
↓ 2 callers
Function
convert_dictionary_to_pydantic_model
Convert a dictionary to a Pydantic model class. Args: dictionary (dict): Dictionary representing the model structure. model_
smallthinker/examples/pydantic_models_to_grammar.py:1260
↓ 2 callers
Function
convert_model_names
(model: LazyModel, params: Params, skip_unknown: bool)
smallthinker/examples/convert_legacy_llama.py:1100
↓ 2 callers
Function
convert_params
(func: ElementTree.Element)
smallthinker/powerinfer/libaz/external/fmt/support/python/mkdocstrings_handlers/cxx/__init__.py:106
↓ 2 callers
Function
convert_return_type
(d: Definition, node: ElementTree.Element)
smallthinker/powerinfer/libaz/external/fmt/support/python/mkdocstrings_handlers/cxx/__init__.py:115
↓ 2 callers
Function
convert_rwcount
On Windows the count argument to read and write is unsigned, so convert it from size_t preventing integer overflow.
smallthinker/powerinfer/libaz/external/fmt/src/os.cc:69
↓ 2 callers
Function
convert_template_params
(node: ElementTree.Element)
smallthinker/powerinfer/libaz/external/fmt/support/python/mkdocstrings_handlers/cxx/__init__.py:71
↓ 2 callers
Function
convert_type
(type_: ElementTree.Element)
smallthinker/powerinfer/libaz/external/fmt/support/python/mkdocstrings_handlers/cxx/__init__.py:94
↓ 2 callers
Method
copy_fill_from
smallthinker/powerinfer/libaz/external/fmt/include/fmt/base.h:848
↓ 2 callers
Method
copy_settings
examples/server/httplib.h:6219
↓ 2 callers
Function
cos_sycl
smallthinker/ggml/src/ggml-sycl/element_wise.cpp:570
↓ 2 callers
Function
cosine_decay
common/train.cpp:408
↓ 2 callers
Function
countl_zero_fallback
smallthinker/powerinfer/libaz/external/fmt/include/fmt/format.h:427
↓ 2 callers
Function
cpu_cycles
smallthinker/tests/test-quantize-perf.cpp:46
↓ 2 callers
Function
cpu_cycles
tests/test-quantize-perf.cpp:46
↓ 2 callers
Function
cpu_get_num_math
* Returns number of CPUs on system that are useful for math. */
smallthinker/common/common.cpp:175
↓ 2 callers
Function
cpu_get_num_physical_cores
smallthinker/common/common.cpp:60
↓ 2 callers
Method
cpy_k
smallthinker/src/llama-kv-cache-unified.cpp:639
↓ 2 callers
Method
cpy_v
smallthinker/src/llama-kv-cache-unified.cpp:653
↓ 2 callers
Function
cr
(e)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/bundle.081f42fc.min.js:27
↓ 2 callers
Function
createEscaper
(map)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/wordcut.js:5870
↓ 2 callers
Function
createIndexFinder
(dir, predicateFind, sortedIndex)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/wordcut.js:5167
↓ 2 callers
Function
createPredicateIndexFinder
(dir)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/wordcut.js:5137
↓ 2 callers
Function
createReduce
(dir)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/wordcut.js:4701
↓ 2 callers
Function
create_printer
smallthinker/tools/llama-bench/llama-bench.cpp:1797
↓ 2 callers
Function
create_server
()
smallthinker/tools/server/tests/unit/test_speculative.py:10
↓ 2 callers
Function
create_server_socket
smallthinker/ggml/src/ggml-rpc/ggml-rpc.cpp:292
↓ 2 callers
Method
create_session_btn
(elDiv, cid)
smallthinker/tools/server/public_simplechat/simplechat.js:685
↓ 2 callers
Function
create_socket
examples/server/httplib.h:2642
↓ 2 callers
Method
create_tensor_for
llama.cpp:2054
↓ 2 callers
Function
ctrlvec_load_prompt_file
smallthinker/tools/cvector-generator/cvector-generator.cpp:305
↓ 2 callers
Function
curl_perform_with_retry
smallthinker/common/arg.cpp:222
↓ 2 callers
Method
current_device_id
smallthinker/ggml/src/ggml-sycl/dpct/helper.hpp:877
↓ 2 callers
Function
d
(e)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/min/lunr.es.min.js:18
↓ 2 callers
Function
d
(t)
examples/server/public/index.js:1
↓ 2 callers
Method
deallocate
smallthinker/powerinfer/libaz/external/fmt/test/format-test.cc:463
↓ 2 callers
Method
deallocate
smallthinker/powerinfer/libaz/external/fmt/include/fmt/format.h:752
↓ 2 callers
Function
decode_utf8
Decodes a UTF-8 string which may end in an incomplete sequence. Adds a terminating 0 for use as pointer. If an invalid sequence is encountered, return
llama.cpp:7759
↓ 2 callers
Function
decrement
smallthinker/powerinfer/powerinfer-disk/src/atomic-queue/queue.h:90
↓ 2 callers
Function
deduce_memcpy_direction
smallthinker/ggml/src/ggml-sycl/dpct/helper.hpp:1395
↓ 2 callers
Function
default_convention_outfile
(file_type: GGMLFileType, expert_count: int | None, model_params_count: tuple[int, int, int], metadata: gguf.M
smallthinker/examples/convert_legacy_llama.py:1274
↓ 2 callers
Function
deinit
smallthinker/powerinfer/libaz/az/init.cpp:24
↓ 2 callers
Function
dequantize_block_q3_K
smallthinker/ggml/src/ggml-sycl/dequantize.hpp:294
↓ 2 callers
Function
dequantize_block_q5_K
smallthinker/ggml/src/ggml-sycl/dequantize.hpp:448
↓ 2 callers
Function
dequantize_block_q6_K
smallthinker/ggml/src/ggml-sycl/dequantize.hpp:496
↓ 2 callers
Function
dequantize_q4_K_common
smallthinker/ggml/src/ggml-sycl/dequantize.hpp:361
↓ 2 callers
Method
deserialize
possible answers (continuations) with multiple correct answers - not handled yet
smallthinker/tools/perplexity/perplexity.cpp:1330
↓ 2 callers
Function
deserialize_string
smallthinker/tools/perplexity/perplexity.cpp:1300
↓ 2 callers
Function
destroy_n
smallthinker/powerinfer/powerinfer-disk/src/atomic-queue/queue.h:128
↓ 2 callers
Method
detokenize
smallthinker/tools/server/utils.hpp:1222
↓ 2 callers
Method
detokenize
smallthinker/src/llama-vocab.cpp:2649
↓ 2 callers
Function
dev2dev_memcpy
smallthinker/ggml/src/ggml-sycl/ggml-sycl.cpp:433
↓ 2 callers
Function
directory_exists
smallthinker/ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp:164
↓ 2 callers
Function
dl_load_library
smallthinker/ggml/src/ggml-backend-reg.cpp:106
↓ 2 callers
Function
do_count_digits
It is a separate function rather than a part of count_digits to workaround the lack of static constexpr in constexpr functions.
smallthinker/powerinfer/libaz/external/fmt/include/fmt/format.h:1036
↓ 2 callers
Function
do_dump_model
(model_plus: ModelPlus)
convert-dense.py:1117
↓ 2 callers
Function
do_dump_model
(model_plus: ModelPlus)
convert.py:1183
↓ 2 callers
Function
do_dump_model
(model_plus: ModelPlus)
smallthinker/examples/convert_legacy_llama.py:1301
↓ 2 callers
Function
do_get_locale
smallthinker/powerinfer/libaz/external/fmt/test/util.cc:29
↓ 2 callers
Method
do_parse
smallthinker/powerinfer/libaz/external/fmt/include/fmt/chrono.h:2198
↓ 2 callers
Method
do_pop
smallthinker/powerinfer/powerinfer-disk/src/atomic-queue/queue.h:365
↓ 2 callers
Method
do_push
smallthinker/powerinfer/powerinfer-disk/src/atomic-queue/queue.h:370
← previous
next →
4,301–4,400 of 18,885, ranked by callers