Skip to content

使用Pte算子调用本地模型时,没有找到相关python脚本应该如何设置的说明 #12

@pkunight

Description

@pkunight

image

文档示例Pte算子的写法如图所示, 但完全没有找到关于Python脚本片段应该如何配置的说明, 因此不知道应该如何使用.

意思是否是这个python脚本就是从inputstream接受算子的输入, 然后自己在python内调用模型, 然后print出来?

以及这样的话是否每次都需要重新加载模型, 没法在启动huggingfists的时候就预加载?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions