MCPcopy Create free account

hub / github.com/Tiiny-AI/PowerInfer / functions

Functions18,885 in github.com/Tiiny-AI/PowerInfer

↓ 1 callersFunctionreplace_numbers_with_words
smallthinker/tools/tts/tts.cpp:365
↓ 1 callersFunctionreplace_str
common/train.cpp:376
↓ 1 callersMethodrequest_jsonstr
* Return a string form of json object suitable for specified api endpoint. * @param {string} apiEP
smallthinker/tools/server/public_simplechat/simplechat.js:271
↓ 1 callersMethodrequest_messages_jsonstr
* Return a string form of json object suitable for chat/completions
smallthinker/tools/server/public_simplechat/simplechat.js:237
↓ 1 callersMethodrequest_prompt_jsonstr
* Return a string form of json object suitable for /completions * @param {boolean} bInsertStandardRolePrefix Insert "<THE_ROLE>: " as prefix wrt
smallthinker/tools/server/public_simplechat/simplechat.js:248
↓ 1 callersFunctionrequests_post_async
(*args, **kwargs)
smallthinker/examples/server_embd.py:11
↓ 1 callersMethodreset
we don't implement destructor, because we want to reuse callback_data. we just want to free the tensors
smallthinker/tools/cvector-generator/cvector-generator.cpp:161
↓ 1 callersMethodreset_bucket
smallthinker/tools/server/server.cpp:1543
↓ 1 callersMethodreset_shift
smallthinker/src/llama-kv-cells.h:31
↓ 1 callersFunctionresize
Resizes the buffer to contain `count` elements. If T is a POD type new elements may not be initialized.
smallthinker/powerinfer/libaz/external/fmt/include/fmt/format.h:867
↓ 1 callersMethodresponse_extract
* Extract the ai-model/assistant's response from the http response got. * Optionally trim the message wrt any garbage at the end. * @param {
smallthinker/tools/server/public_simplechat/simplechat.js:285
↓ 1 callersMethodresponse_extract_stream
* Extract the ai-model/assistant's response from the http response got in streaming mode. * @param {any} respBody * @param {string} apiEP
smallthinker/tools/server/public_simplechat/simplechat.js:304
↓ 1 callersFunctionresults
smallthinker/powerinfer/libaz/external/cli11/include/CLI/Option.hpp:677
↓ 1 callersMethodresume
smallthinker/common/log.cpp:238
↓ 1 callersFunctionretrieve_certs_from_keychain
examples/server/httplib.h:4531
↓ 1 callersFunctionretrieve_root_certs_from_keychain
examples/server/httplib.h:4555
↓ 1 callersFunctionrgb2xterm256
* Quantizes 24-bit RGB to xterm256 code range [16,256). */
smallthinker/tools/tts/tts.cpp:39
↓ 1 callersMethodrm
clear a non-empty cell
smallthinker/src/llama-kv-cells.h:142
↓ 1 callersMethodrm_adapter_lora
smallthinker/src/llama-context.cpp:624
↓ 1 callersFunctionrms_norm_f32_sycl
smallthinker/ggml/src/ggml-sycl/norm.cpp:335
↓ 1 callersFunctionrn
(e)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/bundle.081f42fc.min.js:27
↓ 1 callersFunctionrope_yarn_ramp
ggml.c:11124
↓ 1 callersFunctionrope_yarn_ramp
smallthinker/ggml/src/ggml-sycl/rope.cpp:13
↓ 1 callersFunctionrope_yarn_ramp
smallthinker/ggml/src/ggml-cpu/ops.cpp:5080
↓ 1 callersFunctionround_float
ggml.c::quantize_row_q4_0_ref
smallthinker/tests/test-double-float.cpp:28
↓ 1 callersFunctionround_float
ggml.c::quantize_row_q4_0_reference
tests/test-double-float.cpp:28
↓ 1 callersFunctionround_orig
ggml.c::quantize_row_q4_0_ref
smallthinker/tests/test-double-float.cpp:18
↓ 1 callersFunctionround_orig
ggml.c::quantize_row_q4_0_reference
tests/test-double-float.cpp:18
↓ 1 callersFunctionrpc_serve_client
smallthinker/ggml/src/ggml-rpc/ggml-rpc.cpp:1371
↓ 1 callersFunctionrpc_server_params_parse
smallthinker/tools/rpc/rpc-server.cpp:155
↓ 1 callersFunctionrun
smallthinker/tools/cvector-generator/mean.hpp:11
↓ 1 callersFunctionrun
smallthinker/examples/eval-callback/eval-callback.cpp:129
↓ 1 callersFunctionrunClearTimeout
(marker)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/wordcut.js:4400
↓ 1 callersFunctionrunCodeInWorker
( pyCode: string, callbackRunning: () => void )
smallthinker/tools/server/webui/src/components/CanvasPyInterpreter.tsx:70
↓ 1 callersMethodrun_merge
smallthinker/tools/export-lora/export-lora.cpp:186
↓ 1 callersFunctionrun_pca
smallthinker/tools/cvector-generator/pca.hpp:296
↓ 1 callersFunctionrun_subcommand_a
The function that runs our code. This could also simply be in the callback lambda itself, but having a separate function is cleaner.
smallthinker/powerinfer/libaz/external/cli11/examples/subcom_in_files/subcommand_a.cpp:31
↓ 1 callersMethodrun_task
smallthinker/ggml/src/ggml-cann/common.h:227
↓ 1 callersMethodrun_tasks
smallthinker/powerinfer/moe_sparse_pipeline/task.cpp:14
↓ 1 callersFunctions
(o,u)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/wordcut.js:1
↓ 1 callersFunctions
()
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/min/lunr.da.min.js:18
↓ 1 callersFunctions
()
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/min/lunr.fi.min.js:18
↓ 1 callersFunctions
()
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/min/lunr.nl.min.js:18
↓ 1 callersFunctions
()
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/min/lunr.sv.min.js:18
↓ 1 callersFunctions
()
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/min/lunr.ro.min.js:18
↓ 1 callersFunctions
()
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/min/lunr.it.min.js:18
↓ 1 callersFunctions
()
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/min/lunr.tr.min.js:18
↓ 1 callersFunctions8s8_compensation
smallthinker/ggml/src/ggml-cpu/amx/mmq.cpp:805
↓ 1 callersMethods_copy
smallthinker/src/llama-kv-cache-recurrent.cpp:611
↓ 1 callersMethods_mask
smallthinker/src/llama-kv-cache-recurrent.cpp:634
↓ 1 callersFunctionsame_tensor_data
smallthinker/tests/test-gguf.cpp:1035
↓ 1 callersFunctionsample
examples/llava/llava-cli.cpp:107
↓ 1 callersFunctionsample_id
TODO: use common/sampling.h
examples/llava/llava-cli.cpp:43
↓ 1 callersFunctionsample_softmax_batch
examples/baby-llama/baby-llama.cpp:1291
↓ 1 callersMethodsave
(self)
smallthinker/convert_llama_ggml_to_gguf.py:228
↓ 1 callersFunctionsaveConfig
(config: typeof CONFIG_DEFAULT)
smallthinker/tools/server/webui/src/utils/app.context.tsx:383
↓ 1 callersFunctionsave_as_llama_model
smallthinker/examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp:635
↓ 1 callersFunctionsave_as_llama_model
examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp:676
↓ 1 callersFunctionsave_checkpoint_gguf
examples/train-text-from-scratch/train-text-from-scratch.cpp:739
↓ 1 callersFunctionsave_checkpoint_lora_gguf
examples/finetune/finetune.cpp:984
↓ 1 callersFunctionsave_gbnf_grammar_and_documentation
Save GBNF grammar and documentation to specified files. Args: grammar (str): GBNF grammar string. documentation (str): Docum
smallthinker/examples/pydantic_models_to_grammar.py:981
↓ 1 callersMethodsave_gguf
(self, gguf_writer)
examples/train-text-from-scratch/convert-train-checkpoint-to-gguf.py:462
↓ 1 callersMethodsave_gguf
(self, gguf_writer)
examples/finetune/convert-finetune-checkpoint-to-gguf.py:450
↓ 1 callersFunctionsave_llama_lora_gguf
examples/finetune/finetune.cpp:906
↓ 1 callersFunctionsave_opt_context_gguf
common/train.cpp:596
↓ 1 callersMethodsave_tensor_for_layer
save a tensor into either v_pos or v_neg (decided by is_eval_pos)
smallthinker/tools/cvector-generator/cvector-generator.cpp:68
↓ 1 callersFunctionsave_wav
(filename, audio_data, sample_rate)
smallthinker/tools/tts/tts-outetts.py:88
↓ 1 callersFunctionsave_wav16
smallthinker/tools/tts/tts.cpp:92
↓ 1 callersFunctionscale_f32
smallthinker/ggml/src/ggml-sycl/ggml-sycl.cpp:1700
↓ 1 callersFunctionscale_f32_sycl
smallthinker/ggml/src/ggml-sycl/ggml-sycl.cpp:1847
↓ 1 callersFunctionsched_backend_from_cur
debug, remove
ggml-backend.c:487
↓ 1 callersFunctionsched_compute_splits
ggml-backend.c:801
↓ 1 callersMethodsecond
smallthinker/powerinfer/libaz/external/fmt/include/fmt/chrono.h:1758
↓ 1 callersFunctionselect_buft
smallthinker/src/llama-model.cpp:4720
↓ 1 callersMethodselect_buft
smallthinker/src/llama-model.cpp:4732
↓ 1 callersMethodselect_device
Select device with a device ID. \param [in] id The id of the device which can be obtained through get_device_id(const sycl::device).
smallthinker/ggml/src/ggml-sycl/dpct/helper.hpp:889
↓ 1 callersFunctionselect_weight_buft
find the first buffer type in the list that can use the tensor
smallthinker/src/llama-model.cpp:297
↓ 1 callersMethodsend
smallthinker/examples/llama.android/app/src/main/java/com/example/llama/MainViewModel.kt:39
↓ 1 callersMethodsend
examples/server/httplib.h:6360
↓ 1 callersFunctionsendMessage
( convId: string | null, leafNodeId: Message['id'] | null, content: string, extra: Message['ex
smallthinker/tools/server/webui/src/utils/app.context.tsx:298
↓ 1 callersFunctionsendNewMessage
()
smallthinker/tools/server/webui/src/components/ChatScreen.tsx:131
↓ 1 callersFunctionsend_socket
examples/server/httplib.h:2378
↓ 1 callersMethodsentencepiece_tokens
(self)
convert-dense.py:383
↓ 1 callersMethodsentencepiece_tokens
(self)
convert.py:404
↓ 1 callersMethodsentencepiece_tokens
(self)
smallthinker/gguf-py/gguf/vocab.py:335
↓ 1 callersMethodseq_count
number of different sequences in the cell
smallthinker/src/llama-kv-cells.h:207
↓ 1 callersMethodseq_cp
smallthinker/src/llama-kv-cache-unified.cpp:173
↓ 1 callersMethodseq_div
smallthinker/src/llama-kv-cache-unified.cpp:253
↓ 1 callersMethodseq_keep
smallthinker/src/llama-kv-cache-unified.cpp:197
↓ 1 callersMethodseq_rm
smallthinker/src/llama-kv-cache-unified.cpp:141
↓ 1 callersFunctionserialize_graph
smallthinker/ggml/src/ggml-rpc/ggml-rpc.cpp:735
↓ 1 callersFunctionserver_params_parse
examples/server/server.cpp:1812
↓ 1 callersFunctionset
smallthinker/powerinfer/libaz/external/fmt/test/gtest/gtest/gtest.h:2026
↓ 1 callersFunctionsetAbort
(convId: string, controller: AbortController | null)
smallthinker/tools/server/webui/src/utils/app.context.tsx:139
↓ 1 callersFunctionsetConfig
(config: typeof CONFIG_DEFAULT)
smallthinker/tools/server/webui/src/utils/storage.ts:203
↓ 1 callersMethodset_abort_callback
smallthinker/src/llama-context.cpp:583
↓ 1 callersMethodset_adapter_lora
smallthinker/src/llama-context.cpp:616
↓ 1 callersMethodset_address_family
examples/server/httplib.h:7539
↓ 1 callersMethodset_base_dir
examples/server/httplib.h:5200
↓ 1 callersMethodset_boundary
examples/server/httplib.h:4014
← previousnext →9,001–9,100 of 18,885, ranked by callers