MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / ggml_rope_ext

Function ggml_rope_ext

subprojects/llama.cpp/ggml/src/ggml.c:4177–4195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4175}
4176
4177struct ggml_tensor * ggml_rope_ext(
4178 struct ggml_context * ctx,
4179 struct ggml_tensor * a,
4180 struct ggml_tensor * b,
4181 struct ggml_tensor * c,
4182 int n_dims,
4183 int mode,
4184 int n_ctx_orig,
4185 float freq_base,
4186 float freq_scale,
4187 float ext_factor,
4188 float attn_factor,
4189 float beta_fast,
4190 float beta_slow) {
4191 return ggml_rope_impl(
4192 ctx, a, b, c, n_dims, NULL, mode, n_ctx_orig, freq_base, freq_scale,
4193 ext_factor, attn_factor, beta_fast, beta_slow, false
4194 );
4195}
4196
4197struct ggml_tensor * ggml_rope_ext_inplace(
4198 struct ggml_context * ctx,

Callers 15

build_rope_2dMethod · 0.85
weight_buft_supportedFunction · 0.85
build_rope_shiftMethod · 0.85
llm_build_glm4_moeMethod · 0.85
llm_build_deepseek2Method · 0.85
llm_build_codeshellMethod · 0.85
llm_build_smollm3Method · 0.85
llm_build_minicpm3Method · 0.85
llm_build_rnd1Method · 0.85
build_attention_layerMethod · 0.85
llm_build_falcon_h1Method · 0.85
llm_build_grovemoeMethod · 0.85

Calls 1

ggml_rope_implFunction · 0.85

Tested by 3

build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68