mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[Feature] support top_k_top_p sampling (#2753)
* support top_k_top_p sampling * fix * add api param * add api para * fix * fix * fix * fix * fix * fix * fix
This commit is contained in:
@@ -14,14 +14,14 @@
|
||||
# limitations under the License.
|
||||
"""
|
||||
|
||||
from abc import ABC, abstractmethod
|
||||
import argparse
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
import paddle
|
||||
import paddle.distributed as dist
|
||||
import paddle.distributed.fleet as fleet
|
||||
from fastdeploy.config import ModelConfig
|
||||
|
||||
from fastdeploy.config import ModelConfig
|
||||
from fastdeploy.utils import get_logger
|
||||
|
||||
logger = get_logger("worker", "worker.log")
|
||||
|
Reference in New Issue
Block a user