Skip to content

Commit 17e00d9

Browse files
authored
fix reasoning_max_tokens (#4277)
1 parent aa045aa commit 17e00d9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fastdeploy/engine/sampling_params.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ def from_optional(
163163
def __post_init__(self):
164164
if self.seed is None:
165165
self.seed = random.randint(0, 922337203685477580)
166-
if self.max_tokens is not None and self.reasoning_max_tokens is None:
167-
self.reasoning_max_tokens = max(int(self.max_tokens * 0.8), 1)
168166
self._verify_args()
169167

170168
def _verify_args(self) -> None:

0 commit comments

Comments
 (0)