Coder Social home page Coder Social logo

Comments (4)

SunnyGhj avatar SunnyGhj commented on June 14, 2024

Make sure CPU and network bandwidth are sufficient

from server.

SunnyGhj avatar SunnyGhj commented on June 14, 2024

Try adding intra_op_thread_count, inter_op_thread_count in your config like the following configuration,

name: “yolov8_16batch_dynamic”
platform: “tensorrt_plan”
max_batch_size: 0
parameters { key: "execution_mode" value: { string_value: "1" } }
parameters { key: "intra_op_thread_count" value: { string_value: "4" } }
parameters { key: "inter_op_thread_count" value: { string_value: "4" } }
input: [
{
name: “input”
data_type: TYPE_FP32
format: FORMAT_NONE
dims: [ -1, 3, 640, 640 ]
}
]
output: [
{
name: “boxes”,
data_type: TYPE_FP32
dims: [ -1, 8400, 4 ]
},
{
name: “scores”,
data_type: TYPE_FP32
dims: [ -1, 8400, 1 ]

},
{
name: "classes",
data_type: TYPE_FP32
dims: [ -1, 8400, 1 ]
}
]
instance_group: [
{
kind: KIND_GPU
count: 8
gpus: [1]
},
{
kind: KIND_GPU
count: 8
gpus: [2]
},
{
kind: KIND_GPU
count: 8
gpus: [3]
}
]

from server.

SunnyGhj avatar SunnyGhj commented on June 14, 2024

Make sure --backend-config=tensorrt,execution-policy=BLOCKING is in your docker run startup parameters

from server.

yoo-wonjun avatar yoo-wonjun commented on June 14, 2024

I encountered the same thing trying to run it symmetrically.

W0104 05:44:23.226400 1 server.cc:238] failed to enable peer access for some device pairs
[libprotobuf ERROR /tmp/tritonbuild/tritonserver/build/_deps/repo-third-party-build/grpc-repo/src/grpc/third_party/protobuf/src/google/protobuf/text_format.cc:335] Error parsing text-format inference.ModelConfig: 1:7: Interpreting non ascii codepoint 226.
[libprotobuf ERROR /tmp/tritonbuild/tritonserver/build/_deps/repo-third-party-build/grpc-repo/src/grpc/third_party/protobuf/src/google/protobuf/text_format.cc:335] Error parsing text-format inference.ModelConfig: 1:7: Expected string, got: �
E0104 05:44:23.228000 1 model_repository_manager.cc:1309] Poll failed for model directory 'yolov8_16batch_dynamic': failed to read text proto from /models/yolov8_16batch_dynamic/config.pbtxt

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.