MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_rope_custom

Function ggml_rope_custom

ggml.c:5101–5119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5099}
5100
5101struct ggml_tensor * ggml_rope_custom(
5102 struct ggml_context * ctx,
5103 struct ggml_tensor * a,
5104 struct ggml_tensor * b,
5105 int n_dims,
5106 int mode,
5107 int n_ctx,
5108 int n_orig_ctx,
5109 float freq_base,
5110 float freq_scale,
5111 float ext_factor,
5112 float attn_factor,
5113 float beta_fast,
5114 float beta_slow) {
5115 return ggml_rope_impl(
5116 ctx, a, b, n_dims, mode, n_ctx, n_orig_ctx, freq_base, freq_scale,
5117 ext_factor, attn_factor, beta_fast, beta_slow, 0.0f, false, false
5118 );
5119}
5120
5121struct ggml_tensor * ggml_rope_custom_inplace(
5122 struct ggml_context * ctx,

Callers 7

build_llama_variantsMethod · 0.70
build_baichuanMethod · 0.70
build_falconMethod · 0.70
build_persimmonMethod · 0.70
build_stablelmMethod · 0.70
llama_build_train_graphsFunction · 0.50

Calls 1

ggml_rope_implFunction · 0.70

Tested by

no test coverage detected