Skip to content

Commit

Permalink
[CI] Fix ci import. (#9239)
Browse files Browse the repository at this point in the history
Co-authored-by: lugimzzz <zhenglujing@baidu.com>
  • Loading branch information
ZHUI and lugimzzz authored Oct 10, 2024
1 parent 0040a60 commit d2d0ae6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions llm/predict/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
3 changes: 2 additions & 1 deletion llm/predict/export_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@

import paddle
from paddle.distributed import fleet
from predictor import ModelArgument, PredictorArgument, create_predictor

from paddlenlp.trainer import PdArgumentParser
from paddlenlp.utils import llm_utils

from .predictor import ModelArgument, PredictorArgument, create_predictor


@dataclass
class ExportArgument:
Expand Down

0 comments on commit d2d0ae6

Please sign in to comment.