NVIDIA / NVIDIA/TensorRT

Can I run two context at the same time

Open
#4,132 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triaged
Dominant language
C++
Stars
13.4k
Forks
2.4k
Avg merge
5d 3h
Merged PRs (30d)
2

Description

I create two contexts from the same engine, and want to perform inference simultaneously, but from the nsys file, these two context didn't run at the same time. Want to know why and what is the difference between this situation and the example provided from https://developer.download.nvidia.com/CUDA/training/StreamsAndConcurrencyWebinar.pdf

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue mentions two contexts created from one engine, an Nsight Systems (nsys) capture, and the Streams and Concurrency webinar, but names no repository files or tests. Start by reviewing the capture alongside the webinar's concurrency assumptions and the TensorRT context and stream documentation. Done means explaining why the contexts do not overlap and identifying the conditions needed for simultaneous inference.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.