[Refactor] Remove dead code in kv connector and model runner (#38383)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2026-03-31 17:05:23 -04:00
committed by GitHub
parent 517b769b58
commit 856589ed9a
7 changed files with 16 additions and 54 deletions
-5
View File
@@ -97,11 +97,6 @@ class ActiveKVConnector(KVConnector):
self.kv_connector.clear_connector_metadata()
return output
def clear_metadata(self) -> None:
"""Clear the connector metadata. Call this after draft model runs."""
if not self._disabled:
self.kv_connector.clear_connector_metadata()
def no_forward(self, scheduler_output: "SchedulerOutput") -> ModelRunnerOutput:
if self._disabled:
return EMPTY_MODEL_RUNNER_OUTPUT