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
↓ 24 callers
Function
match_regex
(regex: str, text: str)
smallthinker/tools/server/tests/utils.py:528
↓ 24 callers
Method
option_defaults
Get the OptionDefault object, to set option defaults
smallthinker/powerinfer/libaz/external/cli11/include/CLI/App.hpp:512
↓ 24 callers
Method
parse
smallthinker/tools/run/run.cpp:214
↓ 24 callers
Method
require_option
The argumentless form of require option requires 1 or more options be used
smallthinker/powerinfer/libaz/external/cli11/include/CLI/App.hpp:816
↓ 24 callers
Method
save_gguf
(self, gguf_writer)
examples/finetune/convert-finetune-checkpoint-to-gguf.py:361
↓ 24 callers
Method
set_content
examples/server/httplib.h:4932
↓ 24 callers
Function
tensor_name
(key, bid=None, suffix=".weight")
examples/finetune/convert-finetune-checkpoint-to-gguf.py:315
↓ 24 callers
Function
test_sampler_queue
smallthinker/tests/test-sampling.cpp:195
↓ 24 callers
Function
test_templates
Applies the template to 1 user message w/ add_generation_prompt=true, then w/ the test message w/ add_generation_prompt=false, gets the diff, remove
smallthinker/tests/test-chat.cpp:274
↓ 24 callers
Function
trim
(arr)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/wordcut.js:4221
↓ 24 callers
Method
write
Stream implementation
examples/server/httplib.h:4993
↓ 24 callers
Function
write_tensor
examples/finetune/finetune.cpp:1101
↓ 23 callers
Function
ContainerEq
smallthinker/powerinfer/libaz/external/googletest/googlemock/include/gmock/gmock-matchers.h:4970
↓ 23 callers
Method
DescribeNegationTo
smallthinker/powerinfer/libaz/external/fmt/test/gtest/gmock/gmock.h:4335
↓ 23 callers
Function
IsPrime
Returns true if and only if n is a prime number.
smallthinker/powerinfer/libaz/external/googletest/googletest/samples/sample1.cc:45
↓ 23 callers
Function
IsValidEscape
Returns true if and only if "\\c" is a supported escape sequence.
smallthinker/powerinfer/libaz/external/googletest/googletest/src/gtest-port.cc:775
↓ 23 callers
Function
LOG_TOKENS_TOSTR_PRETTY
common/log.h:626
↓ 23 callers
Function
StartsWith
smallthinker/powerinfer/libaz/external/googletest/googlemock/include/gmock/gmock-matchers.h:4781
↓ 23 callers
Method
add_to_gguf
(self, gw: GGUFWriter, quiet: bool = False)
smallthinker/gguf-py/gguf/vocab.py:47
↓ 23 callers
Method
add_tokenizer_model
(self, model: str)
smallthinker/gguf-py/gguf/gguf_writer.py:849
↓ 23 callers
Function
almost_equal
smallthinker/tests/test-opt.cpp:14
↓ 23 callers
Method
apply
smallthinker/tests/test-sampling.cpp:44
↓ 23 callers
Function
common_init_from_params
smallthinker/common/common.cpp:888
↓ 23 callers
Function
format
smallthinker/powerinfer/libaz/external/fmt/include/fmt/std.h:202
↓ 23 callers
Method
get_field
(self, key: str)
smallthinker/gguf-py/gguf/gguf_reader.py:187
↓ 23 callers
Function
get_u32
examples/llava/clip.cpp:100
↓ 23 callers
Function
ggml_backend_buffer_is_host
smallthinker/ggml/src/ggml-backend.cpp:159
↓ 23 callers
Function
ggml_get_type_traits_cpu
smallthinker/ggml/src/ggml-cpu/ggml-cpu.c:373
↓ 23 callers
Function
input_adapter
examples/server/json.hpp:6451
↓ 23 callers
Function
llama_batch_get_one
llama.cpp:10619
↓ 23 callers
Function
llama_kv_self_clear
smallthinker/src/llama-context.cpp:2457
↓ 23 callers
Function
llama_kv_self_seq_rm
smallthinker/src/llama-context.cpp:2466
↓ 23 callers
Function
permute_sub_group_by_xor
smallthinker/ggml/src/ggml-sycl/dpct/helper.hpp:1830
↓ 23 callers
Function
z
()
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/bundle.081f42fc.min.js:27
↓ 22 callers
Method
Append
smallthinker/powerinfer/libaz/external/googletest/googletest/src/gtest.cc:3862
↓ 22 callers
Method
Get
smallthinker/powerinfer/libaz/external/fmt/test/gtest/gmock-gtest-all.cc:10625
↓ 22 callers
Function
IsNull
smallthinker/powerinfer/libaz/external/googletest/googletest/test/gtest-unittest-api_test.cc:132
↓ 22 callers
Function
N
(e,t)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/bundle.081f42fc.min.js:25
↓ 22 callers
Function
Pointwise
smallthinker/powerinfer/libaz/external/googletest/googlemock/include/gmock/gmock-matchers.h:5002
↓ 22 callers
Method
_set_vocab_sentencepiece
(self, add_to_gguf=True)
smallthinker/convert_hf_to_gguf.py:911
↓ 22 callers
Method
add
smallthinker/common/log.cpp:160
↓ 22 callers
Method
add_array
(self, key: str, val: Sequence[Any])
smallthinker/gguf-py/gguf/gguf_writer.py:316
↓ 22 callers
Method
add_token_types
(self, types: Sequence[TokenType] | Sequence[int])
smallthinker/gguf-py/gguf/gguf_writer.py:861
↓ 22 callers
Method
astype
(self, data_type: DataType)
convert.py:460
↓ 22 callers
Function
common_init
smallthinker/common/common.cpp:350
↓ 22 callers
Method
fdopen
smallthinker/powerinfer/libaz/external/fmt/test/posix-mock-test.cc:131
↓ 22 callers
Function
fill_n
smallthinker/powerinfer/libaz/external/fmt/include/fmt/format.h:521
↓ 22 callers
Function
format_to_n
smallthinker/powerinfer/libaz/external/fmt/include/fmt/base.h:2884
↓ 22 callers
Function
ggml_backend_buffer_free
smallthinker/ggml/src/ggml-backend.cpp:102
↓ 22 callers
Function
ggml_backend_dev_name
smallthinker/ggml/src/ggml-backend.cpp:450
↓ 22 callers
Function
ggml_cann_set_device
* @brief Sets the device to be used by CANN. * * @param device The device ID to set. */
smallthinker/ggml/src/ggml-cann/ggml-cann.cpp:74
↓ 22 callers
Function
ggml_is_transposed
smallthinker/ggml/src/ggml.c:1322
↓ 22 callers
Function
ggml_set_zero
ggml.c:2611
↓ 22 callers
Function
ggml_tensor_overhead
ggml.c:2076
↓ 22 callers
Function
ggml_view_3d
ggml.c:4667
↓ 22 callers
Function
llama_batch_get_one
smallthinker/src/llama-batch.cpp:325
↓ 22 callers
Method
load
(model_plus: ModelPlus)
convert.py:302
↓ 22 callers
Function
printe
smallthinker/tools/run/run.cpp:45
↓ 22 callers
Method
put
smallthinker/powerinfer/libaz/external/fmt/include/fmt/format.h:3764
↓ 22 callers
Function
read
smallthinker/tests/test-json-schema-to-grammar.cpp:74
↓ 22 callers
Method
release
smallthinker/tools/server/server.cpp:1374
↓ 22 callers
Function
s
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/bundle.081f42fc.min.js:1
↓ 22 callers
Method
shift
* Shift the oldest/earliest/0th line in the array. [Old-New|Earliest-Latest] * Optionally control whether only full lines (ie those with newline
smallthinker/tools/server/public_simplechat/datautils.mjs:255
↓ 22 callers
Method
size
smallthinker/powerinfer/libaz/external/fmt/test/gtest/gmock/gmock.h:8843
↓ 22 callers
Method
size
smallthinker/src/llama-kv-cells.h:39
↓ 22 callers
Method
str
for debugging
smallthinker/tools/server/utils.hpp:1103
↓ 22 callers
Function
vformat
smallthinker/powerinfer/libaz/external/fmt/include/fmt/color.h:531
↓ 21 callers
Function
AssertionSuccess
Makes a successful assertion result.
smallthinker/powerinfer/libaz/external/fmt/test/gtest/gmock-gtest-all.cc:2700
↓ 21 callers
Function
Char
NOLINT
smallthinker/powerinfer/libaz/external/googletest/googlemock/test/gmock-actions_test.cc:1203
↓ 21 callers
Function
FormatForComparisonFailureMessage
smallthinker/powerinfer/libaz/external/googletest/googletest/include/gtest/gtest-printers.h:463
↓ 21 callers
Function
Key
smallthinker/powerinfer/libaz/external/googletest/googlemock/include/gmock/gmock-matchers.h:5254
↓ 21 callers
Function
M
(r)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/lunr/min/lunr.tr.min.js:18
↓ 21 callers
Function
Message
Copy constructor.
smallthinker/powerinfer/libaz/external/fmt/test/gtest/gtest/gtest.h:2763
↓ 21 callers
Method
Option
Making an option by hand is not defined, it must be made by the App class
smallthinker/powerinfer/libaz/external/cli11/include/CLI/Option.hpp:344
↓ 21 callers
Function
SizeIs
smallthinker/powerinfer/libaz/external/googletest/googlemock/include/gmock/gmock-matchers.h:4949
↓ 21 callers
Method
_addRule
(name, rule)
smallthinker/tools/server/public_legacy/json-schema-to-grammar.mjs:292
↓ 21 callers
Method
_add_rule
(self, name, rule)
smallthinker/examples/json_schema_to_grammar.py:328
↓ 21 callers
Method
fallthrough
Set fallthrough, set to true so that options will fallthrough to parent if not recognized in a subcommand Default from parent, usually set on parent.
smallthinker/powerinfer/libaz/external/cli11/include/CLI/App.hpp:846
↓ 21 callers
Function
ggml_backend_buft_name
smallthinker/ggml/src/ggml-backend.cpp:34
↓ 21 callers
Function
ggml_backend_cpu_buffer_type
smallthinker/ggml/src/ggml-backend.cpp:1973
↓ 21 callers
Function
ggml_backend_dev_count
Device enumeration
smallthinker/ggml/src/ggml-backend-reg.cpp:343
↓ 21 callers
Function
ggml_backend_reg_dev_get
smallthinker/ggml/src/ggml-backend.cpp:521
↓ 21 callers
Function
ggml_get_name
smallthinker/ggml/src/ggml.c:1763
↓ 21 callers
Function
ggml_get_unary_op
smallthinker/ggml/src/ggml.c:1758
↓ 21 callers
Function
ggml_new_tensor_3d
ggml.c:2546
↓ 21 callers
Function
ggml_set_op_params_i32
smallthinker/ggml/src/ggml-impl.h:129
↓ 21 callers
Function
gguf_add_tensor
smallthinker/ggml/src/gguf.cpp:1109
↓ 21 callers
Function
llama_numa_init
smallthinker/src/llama.cpp:72
↓ 21 callers
Function
llama_sampler_init
smallthinker/src/llama-sampling.cpp:320
↓ 21 callers
Method
log
smallthinker/examples/llama.android/app/src/main/java/com/example/llama/MainViewModel.kt:102
↓ 21 callers
Function
q
(e,t,r)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/bundle.081f42fc.min.js:25
↓ 21 callers
Function
set
smallthinker/powerinfer/libaz/external/fmt/include/fmt/base.h:1013
↓ 21 callers
Function
sprintf
smallthinker/powerinfer/libaz/external/fmt/include/fmt/printf.h:575
↓ 21 callers
Function
t
()
examples/server/public/index.js:1
↓ 21 callers
Function
to_lower
Return a lower case version of a string
smallthinker/powerinfer/libaz/external/cli11/include/CLI/StringTools.hpp:183
↓ 21 callers
Method
type_size
smallthinker/powerinfer/libaz/external/cli11/include/CLI/impl/Option_inl.hpp:467
↓ 20 callers
Function
FormatFileLocation
Formats a source file path and a line number as they would appear in an error message from the compiler used to compile this code.
smallthinker/powerinfer/libaz/external/googletest/googletest/src/gtest-port.cc:1003
↓ 20 callers
Function
GTEST_LOCK_EXCLUDED_
smallthinker/powerinfer/libaz/external/googletest/googlemock/include/gmock/gmock-spec-builders.h:1790
↓ 20 callers
Function
IsSubstring
smallthinker/powerinfer/libaz/external/googletest/googletest/src/gtest.cc:1887
↓ 20 callers
Function
K
(e,t)
smallthinker/powerinfer/libaz/external/fmt/doc-html/assets/javascripts/bundle.081f42fc.min.js:27
← previous
next →
601–700 of 18,885, ranked by callers