| 2714 | return {formatted, trim_to_valid_tokens(tokenizer.tokenize_text(formatted, max_prompt_tokens))}; |
| 2715 | } |
| 2716 | |
| 2717 | AceStepPlannerRuntime::AceStepPlannerRuntime( |
| 2718 | std::shared_ptr<const AceStepAssets> assets, |
| 2719 | core::ExecutionContext & execution) |
| 2720 | : AceStepPlannerRuntime( |
| 2721 | std::move(assets), |
| 2722 | execution, |
| 2723 | assets::TensorStorageType::Native, |
| 2724 | 256ull * 1024ull * 1024ull, |
| 2725 | 128ull * 1024ull * 1024ull, |
| 2726 | GenerationConfig{4096, 512, 4032}) {} |
| 2727 | |
| 2728 | AceStepPlannerRuntime::AceStepPlannerRuntime( |
nothing calls this directly
no test coverage detected