Skip to content

Commit 3e8d4ab

Browse files
authored
Merge branch 'PaddlePaddle:develop' into develop
2 parents 830785b + 666ab65 commit 3e8d4ab

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

fastdeploy/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,16 @@
2424
os.environ["AISTUDIO_LOG"] = "critical"
2525
import typing
2626

27+
from paddleformers.utils.log import logger as pf_logger
28+
2729
from fastdeploy.engine.sampling_params import SamplingParams
2830
from fastdeploy.entrypoints.llm import LLM
31+
from fastdeploy.utils import envs
32+
33+
if envs.FD_DEBUG != "1":
34+
import logging
35+
36+
pf_logger.logger.setLevel(logging.INFO)
2937

3038
try:
3139
import use_triton_in_paddle

fastdeploy/input/ernie_tokenizer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
# limitations under the License.
1515
"""
1616

17-
# cipher_token=WjI1fQOvhN # do not edit this line
18-
1917
import os
2018
import re
2119
from shutil import copyfile

fastdeploy/model_executor/layers/activation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# limitations under the License.
1515
"""
1616

17-
# cipher_token=WjI1fQOvhN # do not edit this line
1817
from typing import Optional
1918

2019
import paddle

0 commit comments

Comments
 (0)