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
↓ 1 callers
Function
forward_batch
examples/baby-llama/baby-llama.cpp:698
↓ 1 callers
Method
forwarding_enabled
Controls whether events will be forwarded to listeners_. Set to false in death test child processes.
smallthinker/powerinfer/libaz/external/fmt/test/gtest/gmock-gtest-all.cc:5251
↓ 1 callers
Method
forwarding_enabled
Controls whether events will be forwarded to listeners_. Set to false in death test child processes.
smallthinker/powerinfer/libaz/external/googletest/googletest/src/gtest.cc:3821
↓ 1 callers
Function
freeHistory
Free the history, but does not reset it. Only used when we have to * exit() to avoid memory leaks are reported by valgrind & co. */
smallthinker/tools/run/linenoise.cpp/linenoise.cpp:1870
↓ 1 callers
Method
from_config
smallthinker/powerinfer/libaz/external/cli11/include/CLI/impl/Config_inl.hpp:227
↓ 1 callers
Method
from_model_architecture
(model_architecture)
convert-hf-to-powerinfer-gguf.py:183
↓ 1 callers
Method
from_pattern
(source)
smallthinker/powerinfer/libaz/external/fmt/support/docopt.py:289
↓ 1 callers
Method
from_remote_tensor
(cls, remote_tensor: gguf.utility.RemoteTensor)
smallthinker/convert_hf_to_gguf.py:6437
↓ 1 callers
Method
from_safetensors_slice
(cls, st_slice: Any)
smallthinker/convert_hf_to_gguf.py:6430
↓ 1 callers
Function
fs_create_directory_with_parents
NOTE: this is copied from common.cpp to avoid linking with libcommon returns true if successful, false otherwise
smallthinker/tools/rpc/rpc-server.cpp:30
↓ 1 callers
Function
fs_create_directory_with_parents
returns true if successful, false otherwise
smallthinker/common/common.cpp:771
↓ 1 callers
Function
fs_get_cache_directory
NOTE: this is copied from common.cpp to avoid linking with libcommon
smallthinker/tools/rpc/rpc-server.cpp:102
↓ 1 callers
Function
fs_get_cache_directory
smallthinker/common/common.cpp:842
↓ 1 callers
Method
ftype_name
smallthinker/src/llama-model-loader.cpp:1131
↓ 1 callers
Function
gelu
smallthinker/ggml/src/ggml-sycl/element_wise.cpp:46
↓ 1 callers
Function
gelu_erf
smallthinker/ggml/src/ggml-sycl/element_wise.cpp:88
↓ 1 callers
Function
gelu_quick
smallthinker/ggml/src/ggml-sycl/element_wise.cpp:76
↓ 1 callers
Function
gemv_q4_0_4x4_q8_0
smallthinker/powerinfer/libaz/az/cpu/aarch64/gemv.cpp:7
↓ 1 callers
Function
gemv_q4_0_4x4_q8_0
smallthinker/powerinfer/moe_sparse_pipeline/packed_kernel.cpp:5
↓ 1 callers
Function
gemv_q4_0_4x8_q8_0
smallthinker/powerinfer/libaz/az/cpu/aarch64/gemv.cpp:98
↓ 1 callers
Function
gemv_q4_0_8x8_q8_0
smallthinker/powerinfer/libaz/az/cpu/aarch64/gemv.cpp:194
↓ 1 callers
Function
gen_chatcmplid
smallthinker/tools/server/utils.hpp:471
↓ 1 callers
Function
gen_tool_call_id
smallthinker/tools/server/utils.hpp:475
↓ 1 callers
Function
generate
helper function to evaluate a prompt and generate a response
smallthinker/tools/run/run.cpp:988
↓ 1 callers
Method
generate_extra_tensors
(self)
smallthinker/convert_hf_to_gguf.py:262
↓ 1 callers
Function
generate_field_markdown
Generate markdown documentation for a Pydantic model field. Args: field_name (str): Name of the field. field_type (type[Any]
smallthinker/examples/pydantic_models_to_grammar.py:741
↓ 1 callers
Function
generate_field_text
Generate text documentation for a Pydantic model field. Args: field_name (str): Name of the field. field_type (type[Any]): T
smallthinker/examples/pydantic_models_to_grammar.py:898
↓ 1 callers
Function
generate_gbnf_float_rules
Generate GBNF float rules based on the given constraints. :param max_digit: Maximum number of digits in the integer part (default: None)
smallthinker/examples/pydantic_models_to_grammar.py:215
↓ 1 callers
Function
generate_gbnf_integer_rules
Generate GBNF Integer Rules Generates GBNF (Generalized Backus-Naur Form) rules for integers based on the given maximum and minimum digits.
smallthinker/examples/pydantic_models_to_grammar.py:168
↓ 1 callers
Function
generate_gbnf_rule_for_type
Generate GBNF rule for a given field type. :param model_name: Name of the model. :param field_name: Name of the field. :param field
smallthinker/examples/pydantic_models_to_grammar.py:280
↓ 1 callers
Function
generate_kernels
ggml-opencl.cpp:861
↓ 1 callers
Function
generate_list_rule
Generate a GBNF rule for a list of a given element type. :param element_type: The type of the elements in the list (e.g., 'string'). :re
smallthinker/examples/pydantic_models_to_grammar.py:101
↓ 1 callers
Function
generate_response
Function to generate a response based on the prompt
smallthinker/tools/run/run.cpp:1063
↓ 1 callers
Function
generate_uuidv5
smallthinker/examples/gguf-hash/gguf-hash.cpp:270
↓ 1 callers
Function
generator_added_lr_strip
(tokenizer: TokenizerGroundtruth)
smallthinker/tests/test-tokenizer-random.py:280
↓ 1 callers
Function
generator_apostrophe
()
smallthinker/tests/test-tokenizer-random.py:268
↓ 1 callers
Function
generator_ascii_lr_strip
()
smallthinker/tests/test-tokenizer-random.py:256
↓ 1 callers
Function
generator_vocab_words
Brute force check all vocab words
smallthinker/tests/test-tokenizer-random.py:251
↓ 1 callers
Function
get
smallthinker/powerinfer/libaz/external/fmt/test/gtest/gmock/gmock.h:6635
↓ 1 callers
Function
getColumns
Try to get the number of columns in the current terminal, or assume 80 * if it fails. */
smallthinker/tools/run/linenoise.cpp/linenoise.cpp:791
↓ 1 callers
Function
getListMessageDisplay
( msgs: Readonly<Message[]>, leafNodeId: Message['id'] )
smallthinker/tools/server/webui/src/components/ChatScreen.tsx:53
↓ 1 callers
Function
getMessage
(self)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/wordcut.js:725
↓ 1 callers
Function
getSSEStreamAsync
(fetchResponse: Response)
smallthinker/tools/server/webui/src/utils/misc.ts:23
↓ 1 callers
Function
getServerProps
( baseUrl: string, apiKey?: string )
smallthinker/tools/server/webui/src/utils/misc.ts:177
↓ 1 callers
Function
get_128_bins
smallthinker/tools/mtmd/mtmd-audio.cpp:360
↓ 1 callers
Function
get_2d_sincos_pos_embed
smallthinker/tools/mtmd/clip.cpp:3594
↓ 1 callers
Function
get_2d_sincos_pos_embed_from_grid
smallthinker/tools/mtmd/clip.cpp:3574
↓ 1 callers
Function
get_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
smallthinker/tools/mtmd/legacy-models/minicpmv-convert-image-encoder-to-gguf.py:671
↓ 1 callers
Function
get_adreno_cl_compiler_version
smallthinker/ggml/src/ggml-opencl/ggml-opencl.cpp:208
↓ 1 callers
Function
get_alignment
smallthinker/ggml/src/ggml-rpc/ggml-rpc.cpp:650
↓ 1 callers
Method
get_all_parent_hexsha8s
Helper method to recursively get hexsha8 values for all parents of a commit.
smallthinker/scripts/compare-llama-bench.py:192
↓ 1 callers
Method
get_always_capture_default
Return true if this will automatically capture the default value for help printing
smallthinker/powerinfer/libaz/external/cli11/include/CLI/Option.hpp:136
↓ 1 callers
Method
get_arch
llama.cpp:2029
↓ 1 callers
Method
get_arch
smallthinker/src/llama-model-loader.cpp:697
↓ 1 callers
Method
get_arch_name
llama.cpp:2020
↓ 1 callers
Method
get_arch_name
smallthinker/src/llama-model-loader.cpp:693
↓ 1 callers
Function
get_arg_index_by_name
smallthinker/powerinfer/libaz/external/fmt/include/fmt/compile.h:65
↓ 1 callers
Method
get_array_values
(self)
smallthinker/gguf-py/gguf/scripts/gguf_editor_gui.py:750
↓ 1 callers
Method
get_audio_config
(self)
smallthinker/convert_hf_to_gguf.py:1192
↓ 1 callers
Function
get_backend_memory
smallthinker/tools/rpc/rpc-server.cpp:257
↓ 1 callers
Function
get_base_tensor_name
(lora_tensor_name: str)
smallthinker/convert_lora_to_gguf.py:225
↓ 1 callers
Method
get_basedir
llama.cpp:862
↓ 1 callers
Method
get_bpe_merges
smallthinker/src/llama-vocab.cpp:3032
↓ 1 callers
Function
get_buffer
smallthinker/powerinfer/libaz/external/fmt/include/fmt/base.h:2083
↓ 1 callers
Function
get_cached_power_for_binary_exponent
! For a normalized diyfp w = f * 2^e, this function returns a (normalized) cached power-of-ten c = f_c * 2^e_c, such that the exponent of the product
examples/server/json.hpp:17111
↓ 1 callers
Method
get_can_shift
smallthinker/src/llama-kv-cache-unified.cpp:593
↓ 1 callers
Function
get_chat_template
(model_id, variant=None)
smallthinker/scripts/get_chat_template.py:19
↓ 1 callers
Function
get_cmd_params_instances
smallthinker/tools/llama-bench/llama-bench.cpp:1000
↓ 1 callers
Function
get_cmd_params_instances
examples/llama-bench/llama-bench.cpp:403
↓ 1 callers
Function
get_codepoints
(f)
smallthinker/powerinfer/libaz/external/fmt/support/printable.py:44
↓ 1 callers
Function
get_cpu_info
smallthinker/tools/llama-bench/llama-bench.cpp:114
↓ 1 callers
Function
get_cpu_info
examples/llama-bench/llama-bench.cpp:76
↓ 1 callers
Method
get_data
Return the edited tokenizer data.
smallthinker/gguf-py/gguf/scripts/gguf_editor_gui.py:335
↓ 1 callers
Method
get_data
(self)
smallthinker/gguf-py/gguf/scripts/gguf_editor_gui.py:784
↓ 1 callers
Function
get_device_hw_info
smallthinker/ggml/src/ggml-sycl/sycl_hw.cpp:4
↓ 1 callers
Function
get_device_memory
smallthinker/ggml/src/ggml-rpc/ggml-rpc.cpp:835
↓ 1 callers
Function
get_device_type_name
smallthinker/ggml/src/ggml-sycl/dpct/helper.hpp:71
↓ 1 callers
Method
get_embeddings
smallthinker/src/llama-context.cpp:509
↓ 1 callers
Method
get_embeddings_ith
smallthinker/src/llama-context.cpp:513
↓ 1 callers
Method
get_embeddings_seq
smallthinker/src/llama-context.cpp:551
↓ 1 callers
Method
get_escape_whitespaces
smallthinker/src/llama-vocab.cpp:3006
↓ 1 callers
Function
get_escaped
(codepoints)
smallthinker/powerinfer/libaz/external/fmt/support/printable.py:30
↓ 1 callers
Function
get_example_targets_batch
common/train.cpp:211
↓ 1 callers
Function
get_example_targets_batch
examples/baby-llama/baby-llama.cpp:1386
↓ 1 callers
Function
get_executable_path
smallthinker/ggml/src/ggml-backend-reg.cpp:409
↓ 1 callers
Function
get_existing_models
(convert_py)
smallthinker/convert_hf_to_gguf_update.py:197
↓ 1 callers
Function
get_expected_max
The max number of times the option expects to be included
smallthinker/powerinfer/libaz/external/cli11/include/CLI/Option.hpp:573
↓ 1 callers
Method
get_field
(self, key: str)
gguf-py/gguf/gguf_reader.py:121
↓ 1 callers
Method
get_formated_timings
examples/server/server.cpp:465
↓ 1 callers
Function
get_ftype
examples/llava/clip.cpp:121
↓ 1 callers
Function
get_global_expert_cache
smallthinker/powerinfer/moe_sparse_pipeline/expert_cache.cpp:172
↓ 1 callers
Function
get_gpu_info
smallthinker/tools/llama-bench/llama-bench.cpp:126
↓ 1 callers
Function
get_gpu_info
examples/llama-bench/llama-bench.cpp:104
↓ 1 callers
Function
get_handcrafted_file
smallthinker/tests/test-gguf.cpp:159
↓ 1 callers
Method
get_has_shift
smallthinker/src/llama-kv-cells.h:74
↓ 1 callers
Function
get_head_sizes
(type_k, type_v)
smallthinker/ggml/src/ggml-cuda/template-instances/generate_cu_files.py:42
↓ 1 callers
Function
get_help_all_ptr
Get a pointer to the help all flag. (const)
smallthinker/powerinfer/libaz/external/cli11/include/CLI/App.hpp:1184
↓ 1 callers
Function
get_help_ptr
Get a pointer to the help flag.
smallthinker/powerinfer/libaz/external/cli11/include/CLI/App.hpp:1178
↓ 1 callers
Method
get_ignore_merges
smallthinker/src/llama-vocab.cpp:2994
↓ 1 callers
Function
get_impl_ptr
examples/server/json.hpp:20581
← previous
next →
6,901–7,000 of 18,885, ranked by callers