Skip to content

Remove triton optimization config, causing error for multi gpu inference#15

Draft
tzemicheal wants to merge 90 commits into
tzemicheal:tzemicheal-sid-model-tritonconfig-patchfrom
nv-morpheus:branch-25.02
Draft

Remove triton optimization config, causing error for multi gpu inference#15
tzemicheal wants to merge 90 commits into
tzemicheal:tzemicheal-sid-model-tritonconfig-patchfrom
nv-morpheus:branch-25.02

Conversation

@tzemicheal

Copy link
Copy Markdown
Owner

This fixes error caused when running Triton inference for multi-GPU for SID pipeline.

Description

Closes
When running Triton inference for SID pipeline using multi-gpu. It result on segment fault.
2024-12-09 23:24:38.378753895 [E:onnxruntime:, sequential_executor.cc:516 ExecuteKernel] Non-zero status code returned while running TRTKernel_graph_torch_jit_3139280210422962738_0 node. Name:'TensorrtExecutionProvider_TRTKernel_graph_torch_jit_3139280210422962738_0_0' Status Message: TensorRT EP execution context enqueue failed.

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • When the PR is ready for review, new or existing tests cover these changes.
  • When the PR is ready for review, the documentation is up to date with these changes.

dagardner-nv and others added 24 commits October 21, 2024 11:18
## Description
* Manually resolving forward merger issues from PR #1966

## By Submitting this PR I confirm:
- I am familiar with the [Contributing
Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these
changes.
- When the PR is ready for review, the documentation is up to date with
these changes.
## Description
Manually resolving forward merge conflicts from PR #1983 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing
Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these
changes.
- When the PR is ready for review, the documentation is up to date with
these changes.
…not just rows (#2040)

Prevents false positives when columns are missing in output

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #2040
* Replace `Broadcast` with `Router`
* Remove unneeded filter node from `dfp_preproc` module
* Fix DFP file & class paths in documentation
* Remove python blocks from documentation which didn't offer much to readers

Closes #2034 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #2050
* Set CMake policy #`CMP0144` to `NEW` in C++ examples, avoids a deprecation warning
* Set `-lto=auto` to avoid a warning about falling back to serialized compilation.

Related to nv-morpheus/MRC#518 .

Closes #1988

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #2054
## Description
Manually resolving conflicts from forwar-merger PR #2060

## By Submitting this PR I confirm:
- I am familiar with the [Contributing
Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these
changes.
- When the PR is ready for review, the documentation is up to date with
these changes.
)

* Allow the user to optionally run something other than `bash` when using `docker/run_container_release.sh` and `docker/run_container_dev.sh`

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #2061
Add support for writing DataFrames to parquet files in `write_to_file_stage.py`.

Closes #980 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #1937
* Ensure each example pipeline produces a unique output file name
* Add expected example output filenames to `.gitignore`
* Update `ransomware_detection` pipeline to include a unique column
* Update `ransomware_detection` adding a `--pipeline_batch_size` flag defaulting to the `model_max_batch_size` avoiding a config warning
* Update `Config` to call `_validate_config` from `Config.freeze` instead of the attribute setters, avoids issue where setting attributes becomes order dependent ex:
```python
from morpheus.config import Config
config = Config()
config.model_max_batch_size = 1024 # This line triggers a warning
config.pipeline_batch_size = 1024
```

Includes changes from PR #2040

Closes #2033
Closes #2035

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #2049
Some minor improvements to make `SharedProcessPool` related tests to run faster. Those are mostly combining multiple tests into one unit test function to reduce the number of times that the process pool being initialized and reset.

The total execution time of `test_shared_process_pool.py` and `test_multi_processing_stage.py` should be improved from ~60s to ~30s (when running locally).

Closes #1951 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #1950
Implemented C++ `MonitorStage` based on [indicators](https://github.com/p-ranav/indicators) library (supports progress bar display)
- Each `MonitorStage` displays a progress bar with customized description tag, message unit and (optional) message count method. Customized font is supported.
- Supports `ControlMessage` and `MessageMeta` as input type
- Able to run multiple `MonitorStage`s within the same pipeline

A quick demo:
![Screencast from 10-08-2024 10-23-41 AM (1)](https://github.com/user-attachments/assets/9b9cbf26-e85c-49b1-8b9d-4af8c3e5e73b)


- **Note**: `indicators` library does not have official support for displaying the progress bars with other log output. This PR uses this [workaround](p-ranav/indicators#107) to enable displaying progress bars alongside other log outputs.

Need to merge nv-morpheus/utilities#78

Closes [#804](#804)


## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)
  - Christopher Harris (https://github.com/cwharris)

URL: #1908
Forward-merge triggered by push to branch-24.10 that creates a PR to
keep branch-25.02 up-to-date. If this PR is unable to be immediately
merged due to conflicts, it will remain open for the team to manually
merge. See [forward-merger
docs](https://docs.rapids.ai/maintainers/forward-merger/) for more info.
Forward-merge triggered by push to branch-24.10 that creates a PR to
keep branch-25.02 up-to-date. If this PR is unable to be immediately
merged due to conflicts, it will remain open for the team to manually
merge. See [forward-merger
docs](https://docs.rapids.ai/maintainers/forward-merger/) for more info.
For ControlMessage, msg.tensors().count is a common pattern, calling msg.tensors() might require a bit more cost than we think. Add a `tensor_count` property to avoid the overhead.

Closes #1876 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

Approvers:
  - David Gardner (https://github.com/dagardner-nv)

URL: #2078
@tzemicheal tzemicheal self-assigned this Dec 9, 2024
@tzemicheal tzemicheal added the bug Something isn't working label Dec 9, 2024
dagardner-nv and others added 4 commits December 16, 2024 18:46
* Work-around known openai incompatibility with httpx v0.28 (openai/openai-python#1915)
* Templatize the llm pip dependencies
* Replace deprecated imports of openai from langchain and langchain_community 

Closes #2084 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: #2083
In anticipation of this downstream cuDF PR removing some functionality in `cudf._lib.utils` rapidsai/cudf#17586, this PR replaces that usage with equivalent usage from the stable `pylibcudf`

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Matthew Roeschke (https://github.com/mroeschke)
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - David Gardner (https://github.com/dagardner-nv)

URL: #2082
Current time limit is 60 minutes, recent builds have come close to hitting this limit, and Conda builds are often time sensitive.

Closes #2073


## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: #2075
* Update CR year

* IWYU fixes
dagardner-nv and others added 30 commits February 6, 2025 19:51
)

* Perform an `apt update` and `apt upgrade` during the Docker build picking up any security fixes available.
* Add `urllib3` to `ci/release/download_deps.py` (unrelated fix)


## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Will Killian (https://github.com/willkill07)
  - Tad ZeMicheal (https://github.com/tzemicheal)

URL: #2174
* Direct users to the main branch of https://github.com/nv-morpheus/morpheus_third_party_oss not a versioned branch
* Add a third party notice to the models container
* Remove `ci/release/download_deps.py` in favor of adopting the Rapids tools.

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Yuchen Zhang (https://github.com/yczhang-nv)
  - Tad ZeMicheal (https://github.com/tzemicheal)

URL: #2176
Closes #2177


## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

Approvers:
  - David Gardner (https://github.com/dagardner-nv)

URL: #2178
* Update the `external/morpheus-visualizations` submodule to adopt fixes from nv-morpheus/morpheus-visualizations#50

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Yuchen Zhang (https://github.com/yczhang-nv)

URL: #2186
* Update conda env files to ensure pulling pytorch from pypi

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>

* remove comments

* update

* WIP: Tue 03 Jun 2025 10:41:58 AM PDT

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>

* update doc

* WIP: Tue 03 Jun 2025 11:03:14 AM PDT [skip ci]

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>

---------

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>
* Update dependencies for Morpheus `24.06` container (#2217)

* Update conda env files to ensure pulling pytorch from pypi

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>

* remove comments

* update

* WIP: Tue 03 Jun 2025 10:41:58 AM PDT

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>

* update doc

* WIP: Tue 03 Jun 2025 11:03:14 AM PDT [skip ci]

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>

---------

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>

* Fix CR year

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Update test runner

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Update CR year

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Remove broken link

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Pin click version to avoid test breakage

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Update CR Year

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Pin setuptools

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Pin numba to fix compat

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Pin numba to fix compat

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Move to examples section:

Signed-off-by: David Gardner <dagardner@nvidia.com>

---------

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
Co-authored-by: Yuchen Zhang <134643420+yczhang-nv@users.noreply.github.com>
* Update dependencies for Morpheus `24.06` container (#2217)

* Update conda env files to ensure pulling pytorch from pypi



* remove comments

* update

* WIP: Tue 03 Jun 2025 10:41:58 AM PDT



* update doc

* WIP: Tue 03 Jun 2025 11:03:14 AM PDT [skip ci]



---------



* Fix CR year



* Update test runner



* Update CR year



* Remove broken link



* Pin click version to avoid test breakage



* Update CR Year



* Pin setuptools



* Pin numba to fix compat



* Pin numba to fix compat



* Move to examples section:



---------

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
Co-authored-by: Yuchen Zhang <134643420+yczhang-nv@users.noreply.github.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
## Description
* Resolving conflicts from #2299

## By Submitting this PR I confirm:
- I am familiar with the [Contributing
Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these
changes.
- When the PR is ready for review, the documentation is up to date with
these changes.
Signed-off-by: David Gardner <dagardner@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
## Description
* Manually resolving conflicts from #2301

## By Submitting this PR I confirm:
- I am familiar with the [Contributing
Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these
changes.
- When the PR is ready for review, the documentation is up to date with
these changes.
Signed-off-by: David Gardner <dagardner@nvidia.com>
* Set GPU runner to an earlier driver version
* Document #2305 as a known issue
* Pin `npy-append-array` to avoid version conflict with nvtabular
* Update rapids shared workflows to 24.10 to fix the check action
* Pin click version to <8.2 to avoid #2219
* Ensure the logger is reset in `test_cli.py`

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)
  - https://github.com/Salonijain27

Approvers:
  - Will Killian (https://github.com/willkill07)

URL: #2306
Signed-off-by: David Gardner <dagardner@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
* Remove pin for npy-append-array, this work-around is not needed in 24.10

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Remove old 24.06 work-around

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Pin the version of faiss to 1.9 to avoid a numpy dependency

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Numba should be upper-cased

Signed-off-by: David Gardner <dagardner@nvidia.com>

* Remove npy-append-array pin from conda recipe

Signed-off-by: David Gardner <dagardner@nvidia.com>

---------

Signed-off-by: David Gardner <dagardner@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
## Description
Manually resolving conflicts from #2308

## By Submitting this PR I confirm:
- I am familiar with the [Contributing
Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these
changes.
- When the PR is ready for review, the documentation is up to date with
these changes.
Signed-off-by: David Gardner <dagardner@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants