MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / planner_attention_head_dim

Function planner_attention_head_dim

src/models/ace_step/planner.cpp:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145int64_t planner_attention_head_dim(const AceStepPlannerConfig & config) {
146 if (config.num_attention_heads <= 0 || config.num_key_value_heads <= 0 || config.head_dim <= 0) {
147 throw std::runtime_error("ACE-Step planner attention configuration is invalid");
148 }
149 return config.head_dim;
150}
151
152bool planner_prefill_uses_host_backend(core::BackendType backend_type) {
153 switch (backend_type) {

Calls

no outgoing calls

Tested by

no test coverage detected