Closed Levocetirizine closed 3 years ago
The error that you are seeing is related to the way that you have compiled Python backend. You need to specify the TRITON_BACKEND_REPO_TAG, TRITON_COMMON_REPO_TAG, and TRITON_CORE_REPO_TAG to match the release version that you are using.
mkdir build
cd build
cmake -DTRITON_ENABLE_GPU=ON -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/install -DTRITON_BACKEND_REPO_TAG=r21.05 -DTRITON_CORE_REPO_TAG=r21.05 -DTRITON_COMMON_REPO_TAG=r21.05 ..
make install
The Python backend gives large flexibility in ensemble model, is there a plan that it will be officially supported in Jetson ?
@msalehiNV / @deadeyegoodwin Is there a plan to support PB in Jetson?
@Levocetirizine the build steps given above should fix your issue. Please reopen if it does not. We will consider adding the python backend to the jetson release.
@deadeyegoodwin @Tabrizian I just tested your cmake script and it works fine ! Thank you a lot for your reply.
Is your feature request related to a problem? Please describe. Hello, I'm trying to use python backend on Jetson AGX Xavier (L4T 32.5.1, JetPack 4.5). The Triton binary was downloaded from Release 2.11.0, and I noticed that only TensorFlow, TensorRT and ONNX backends are officially supported.
I was not sure if it's possible to run Python backend on Jetson, but I tried to clone the python_backend repo and built everything from source. It looks fine and I got things such as libtriton_python.so, the stub, and utils.py. I then copied them into the backend directory.
When I tried to load the models, these error logs were shown (add_sub model is from the example, yolov4_preprocess model is homemade and works well in x86):
I could not understand the meaning unexpected no host policy , it seem related with
instance_group [{ kind: KIND_CPU }]
in config.pbtxt. But I have no clue...The ONNX model can be loaded successfully though.
Describe the solution you'd like I am not sure if this is a bug or a misconfiguration. The Python backend gives large flexibility in ensemble model, is there a plan that it will be officially supported in Jetson ?