Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cpp/tensorrt_llm/executor/decodingConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ EagleConfig::EagleConfig(std::optional<EagleChoices> eagleChoices, bool greedySa
TLLM_CHECK_WITH_INFO(eagleChoices.has_value() == false,
"When dynamic tree is enabled (for Eagle-2), eagle choices should not be set.");
}
if (mDynamicTreeMaxTopK.has_value())
{
TLLM_CHECK_WITH_INFO(mDynamicTreeMaxTopK.value() > 0, "dynamicTreeMaxTopK must be positive");
}
}

bool EagleConfig::operator==(EagleConfig const& other) const
Expand Down