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

Method AceStepPlannerRuntime

src/models/ace_step/planner.cpp:2716–2725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2714 return {formatted, trim_to_valid_tokens(tokenizer.tokenize_text(formatted, max_prompt_tokens))};
2715}
2716
2717AceStepPlannerRuntime::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
2728AceStepPlannerRuntime::AceStepPlannerRuntime(

Callers

nothing calls this directly

Calls 8

assignMethod · 0.80
to_stringFunction · 0.50
backend_typeMethod · 0.45
release_storageMethod · 0.45
find_token_idMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected