Skip to content

how can i use triton_python_backend_utils? #5977

Description

@YooSungHyun

Description
in trtionserver:23.05. and git clone https://github.com/triton-inference-server/python_backend -b r23.05

root@4248wefe0f480:~# python3

import triton_python_backend_utils
ModuleNotFoundError: No module named 'triton_python_backend_utils'

how can i use it? how can i doing pip install?
it just cp {workspace}/python_backend/src/resources/triton_python_backend_utils.py {model_path}/1/triton_python_backend_utils.py and use in model.py?

Triton Information
What version of Triton are you using?
23.05

Are you using the Triton container or did you build it yourself?
using tritonserver container

Expected behavior
A clear and concise description of what you expected to happen.

import done well

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions