| 143 | } |
| 144 | |
| 145 | int64_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 | |
| 152 | bool planner_prefill_uses_host_backend(core::BackendType backend_type) { |
| 153 | switch (backend_type) { |
no outgoing calls
no test coverage detected