Skip to content

Fixed documentation for concurrent use of DL Streamer and DeepStream#679

Open
marcin-wadolkowski wants to merge 13 commits intomainfrom
ITEP-81301
Open

Fixed documentation for concurrent use of DL Streamer and DeepStream#679
marcin-wadolkowski wants to merge 13 commits intomainfrom
ITEP-81301

Conversation

@marcin-wadolkowski
Copy link
Contributor

Description

Please include a summary of the changes and the related issue. List any dependencies that are required for this change.

Fixes # (issue)

Any Newly Introduced Dependencies

Please describe any newly introduced 3rd party dependencies in this change. List their name, license information and how they are used in the project.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • I agree to use the MIT license for my code changes.
  • I have not introduced any 3rd party components incompatible with MIT.
  • I have not included any company confidential information, trade secret, password or security token.
  • I have performed a self-review of my code.

@tjanczak
Copy link
Contributor

Please also add README.md in https://github.com/open-edge-platform/dlstreamer/tree/main/samples/gstreamer/python/concurrent

This is the only non-documented in github, README.md can be very short here - just redirect to other article in documentation... but if someone will search through samples they will have no clue what is this sample code about.

Copy link
Contributor

@tjanczak tjanczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

marcin-wadolkowski and others added 5 commits March 16, 2026 07:48
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
@marcin-wadolkowski marcin-wadolkowski marked this pull request as draft March 16, 2026 07:43
@kblaszczak-intel
Copy link
Contributor

Could we change the file name to something more informative? Maybe "dlstreamer-deepstream-coexistence.md" would fit?

@marcin-wadolkowski marcin-wadolkowski marked this pull request as ready for review March 17, 2026 09:22

## How to use

Running pipelines simultaneously on DL Streamer and DeepStream:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverse order , use first sequentially version and as the second simultaneusly

--env ZE_ENABLE_ALT_DRIVERS=libze_intel_npu.so \
--env MODELS_PATH=/working_dir \
intel/dlstreamer:2026.0.0-ubuntu24 /bin/bash -c"
intel/dlstreamer:2025.2.0-ubuntu24 /bin/bash -c"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use 2026.0 DLS release image

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no such release image, yet:
https://hub.docker.com/r/intel/dlstreamer/tags
There are only release-candidates, yet.
See issue #700 announcing DL-Streamer release 2026 at around end-or March

if len(sys.argv) not in [4,5]:
print("Error:\nInvalid number of arguments. Usage:")
print("concurrent_dls_and_ds.sh <input> LPR <output>\n")
print("concurrent_dls_and_ds.sh <input> LPR <output> [-simultaneously]\n")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

concurrent_dls_and_ds.sh --> coexistence_dls_and_ds.py

@@ -0,0 +1,3 @@
This is the shell script implementation for running DL Streamer and DeepStream pipelines coexistently.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the shell script -> This is the shell script and Python

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this file into python/coexistence folder to keep all related scripts in one place

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this file; there will be only one located in samples/gstreamer/python/coexistence

@@ -0,0 +1,118 @@
# Coexistently use of DL Streamer and DeepStream

This tutorial explains how to simultaneously or sequentially run DL Streamer and DeepStream on a single machine for optimal performance.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change order 'simultaneously or sequentially' -> 'sequentially or simultaneously'


3. Hardware detection depends on the setup. The algorithm is as follows:

- Run pipeline simultaneously on both devices for:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simultaneously -> 'sequentially or simultaneously'

Copy link
Contributor

@tbujewsk tbujewsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Missed update in https://github.com/open-edge-platform/dlstreamer/tree/main/samples/gstreamer#readme

    '5. Concurrent use of DL Streamer and DeepStream' <-- update required

  2. Check the other comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants