Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Facico/Chinese-Vicuna
/ functions
Functions
461 in github.com/Facico/Chinese-Vicuna
⨍
Functions
461
◇
Types & classes
80
↳
Endpoints
1
Function
ggml_relu
tools/Vicuna.cpp/ggml.c:3508
Function
ggml_relu_inplace
tools/Vicuna.cpp/ggml.c:3514
Function
ggml_reshape
tools/Vicuna.cpp/ggml.c:3767
Function
ggml_reshape_2d
tools/Vicuna.cpp/ggml.c:3792
Function
ggml_rms_norm_inplace
tools/Vicuna.cpp/ggml.c:3650
Function
ggml_scale_inplace
tools/Vicuna.cpp/ggml.c:3717
Function
ggml_set_i32_1d
tools/Vicuna.cpp/ggml.c:2866
Function
ggml_set_param
tools/Vicuna.cpp/ggml.c:4214
Function
ggml_set_scratch
tools/Vicuna.cpp/ggml.c:2492
Function
ggml_sgn_inplace
tools/Vicuna.cpp/ggml.c:3412
Function
ggml_silu_inplace
tools/Vicuna.cpp/ggml.c:3582
Function
ggml_sqr
tools/Vicuna.cpp/ggml.c:3231
Function
ggml_sqr_inplace
tools/Vicuna.cpp/ggml.c:3237
Function
ggml_sqrt
tools/Vicuna.cpp/ggml.c:3265
Function
ggml_sqrt_inplace
tools/Vicuna.cpp/ggml.c:3271
Function
ggml_step_inplace
tools/Vicuna.cpp/ggml.c:3480
Function
ggml_sub
tools/Vicuna.cpp/ggml.c:3109
Function
ggml_sub_inplace
tools/Vicuna.cpp/ggml.c:3116
Function
ggml_time_ms
tools/Vicuna.cpp/ggml.c:295
Function
ggml_up64
tools/Vicuna.cpp/ggml.c:2356
Function
ggml_vec_silu_f16
tools/Vicuna.cpp/ggml.c:1948
Function
ggml_view_2d
tools/Vicuna.cpp/ggml.c:3868
Function
gpt_random_prompt
tools/Vicuna.cpp/utils.cpp:107
Function
gpt_tokenize
tools/Vicuna.cpp/utils.cpp:225
Function
gpt_vocab_init
tools/Vicuna.cpp/utils.cpp:318
Function
interaction
( input, history, temperature=0.1, top_p=0.75, top_k=40, num_beams=4, max_new_toke
interaction.py:111
Method
kernel_call
()
tools/quant/custom_autotune.py:63
Function
load_quant
(model, checkpoint, wbits, groupsize=-1, fused_mlp=True, eval=True, warmup_autotune=True)
tools/quant_llama.py:246
Function
main
usage: ./llama-quantize models/llama/ggml-model.bin models/llama/ggml-model-quant.bin type
tools/Vicuna.cpp/quantize.cpp:291
Function
main
tools/Vicuna.cpp/chat.cpp:799
Function
make_fused_mlp
Replace all LlamaMLP modules with QuantLlamaMLP modules, which fuses many of the operations.
tools/quant/fused_mlp.py:235
Function
make_quant_attn
Replace all LlamaAttention modules with QuantLlamaAttention modules, fusing the q, k, v projections.
tools/quant/fused_attn.py:86
Function
make_quant_linear
(module, names, bits, groupsize, name='')
tools/quant/quant_linear.py:397
Function
matmul248_kernel_config_pruner
The main purpose of this function is to shrink BLOCK_SIZE_* when the corresponding dimension is smaller.
tools/quant/custom_autotune.py:167
Function
matmul_248_kernel
Compute the matrix multiplication C = A x B. A is of shape (M, K) float16 B is of shape (K//8, N) int32 C is of s
tools/quant/quant_linear.py:72
Function
noop
(*args, **kwargs)
tools/quant_llama.py:250
Function
noop
(*args, **kwargs)
tools/quant_generate.py:30
Method
on_log
(self, args, state, control, logs, **kwargs)
finetune_chat.py:233
Function
permute
(w)
tools/merge_lora.py:102
Method
postprocess
(self, text, render=True)
prompt.py:78
Method
preprocess_gen
(self, data_point)
prompt.py:24
Method
preprocess_train
(self, data_point)
prompt.py:39
Method
preprocess_train
(self, data_point)
prompt.py:152
Function
pthread_create
tools/Vicuna.cpp/ggml.c:53
Function
pthread_join
tools/Vicuna.cpp/ggml.c:64
Function
save
( inputs, history, temperature=0.1, top_p=0.75, top_k=40, num_beams=4, max_new_tok
chat.py:122
Function
set_console_logger
(name)
utils.py:64
Function
set_file_logger
(name, dir, use_console=False)
utils.py:73
Function
set_seed
(seed)
tools/datautils.py:5
Function
sigint_handler
tools/Vicuna.cpp/chat.cpp:767
Function
skip
(*args, **kwargs)
tools/quant_llama.py:21
Function
tmp
(_, inp, out)
tools/quant_llama.py:105
Function
to_json
(data, path)
utils.py:102
Function
to_jsonl
(data, path)
utils.py:91
Function
tokenize
(prompt)
finetune.py:167
Function
tokenize
(prompt)
finetune_4bit.py:49
Function
tokenize
(prompt)
finetune_fp16.py:175
Function
tokenize
(prompt)
tools/application/chitchat_finetune.py:95
Function
transpose_matmul_248_kernel
Compute the matrix multiplication C = A x B. A is of shape (M, N) float16 B is of shape (K//8, N) int32 C is of s
tools/quant/quant_linear.py:199
Method
warmup
(self, *args, **kwargs)
tools/quant/custom_autotune.py:117
Function
wrapper
(*args)
chat.py:365
← previous
401–461 of 461, ranked by callers