[Feature 2.0.2] support top_k_top_p sampling (#2789)

* support top_k_top_p sampling

* fix

* add api param

* add api para

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* change func name
This commit is contained in:
Sunny-bot1
2025-07-10 12:01:51 +08:00
committed by GitHub
parent 1fe37cb7e8
commit 1107e08cd9
18 changed files with 524 additions and 134 deletions

View File

@@ -16,8 +16,8 @@
import json
import os
from datetime import datetime
from dataclasses import dataclass
from datetime import datetime
from typing import Any, Dict, List, Literal, Optional
from fastdeploy import envs