[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-03-13 20:13:30 +00:00
parent a8cdb53a4d
commit 82964b6e48
2 changed files with 3 additions and 5 deletions

View file

@ -175,9 +175,7 @@ class TeacherDistillationEnv(BaseEnv, ABC):
group["distill_logprobs"] = None
return group
top_k = int(
group_overrides.get("teacher_top_k", self.config.teacher_top_k)
)
top_k = int(group_overrides.get("teacher_top_k", self.config.teacher_top_k))
if top_k <= -1:
group["distill_token_ids"] = None
group["distill_logprobs"] = None