Skip to content

Commit 2517ec7

Browse files
committed
Merge branch-24.10 into branch-25.02
2 parents b0ca5b0 + e71c19e commit 2517ec7

File tree

156 files changed

+3202
-1523
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+3202
-1523
lines changed

.devcontainer/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818
triton:
1919
container_name: morpheus-triton
2020
runtime: nvidia
21-
image: nvcr.io/nvidia/tritonserver:23.06-py3
21+
image: nvcr.io/nvidia/tritonserver:24.09-py3
2222
command: tritonserver --model-repository=/models/triton-model-repo --exit-on-error=false ${TRITON_MODEL_ARGS}
2323
ports:
2424
- 8000:8000

.github/workflows/ci_pipe.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ on:
4747
env:
4848
CHANGE_TARGET: "${{ github.base_ref }}"
4949
CUDA_PATH: "/usr/local/cuda/"
50-
CUDA_VER: "12.1"
50+
CUDA_VER: "12.5"
5151
GH_TOKEN: "${{ github.token }}"
5252
GIT_COMMIT: "${{ github.sha }}"
5353
MORPHEUS_ROOT: "${{ github.workspace }}/morpheus"

.github/workflows/pr.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ jobs:
9595
# Upload morpheus conda packages only for non PR branches. Use 'main' for main branch and 'dev' for all other branches
9696
conda_upload_label: ${{ !fromJSON(needs.prepare.outputs.is_pr) && (fromJSON(needs.prepare.outputs.is_main_branch) && 'main' || 'dev') || '' }}
9797
base_container: rapidsai/ci-conda:cuda12.5.1-ubuntu22.04-py3.10
98-
container: nvcr.io/ea-nvidia-morpheus/morpheus:morpheus-ci-build-241004
99-
test_container: nvcr.io/ea-nvidia-morpheus/morpheus:morpheus-ci-test-241004
98+
container: nvcr.io/ea-nvidia-morpheus/morpheus:morpheus-ci-build-241024
99+
test_container: nvcr.io/ea-nvidia-morpheus/morpheus:morpheus-ci-test-241024
100100
secrets:
101101
CONDA_TOKEN: ${{ secrets.CONDA_TOKEN }}
102102
NGC_API_KEY: ${{ secrets.NGC_API_KEY }}

CHANGELOG.md

+133
Large diffs are not rendered by default.

ci/iwyu/mappings.imp

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
{ "include": [ "\"mrc/protos/tensor_meta_data.pb.h\"", private, "<mrc/protos/tensor_meta_data.pb.h>", "public" ] },
99

1010
# stdlib
11+
{ "include": [ "<bits/chrono.h>", private, "<chrono>", "public" ] },
1112
{ "include": [ "<bits/cxxabi_forced.h>", private, "<mutex>", "public" ] },
1213
{ "include": [ "<bits/cxxabi_forced.h>", private, "<vector>", "public" ] },
1314
{ "include": [ "<bits/this_thread_sleep.h>", private, "<thread>", "public" ] },
@@ -29,6 +30,8 @@
2930
{ "include": ["\"cuda_runtime_api.h\"", "private", "<cuda_runtime.h>", "public"] },
3031
{ "include": ["<driver_types.h>", "private", "<cuda_runtime.h>", "public"] },
3132
{ "include": ["\"driver_types.h\"", "private", "<cuda_runtime.h>", "public"] },
33+
{ "include": ["\"cuda/__memory_resource/properties.h\"", "private", "<cuda/memory_resource>", "public"] },
34+
{ "include": ["\"cuda/__memory_resource/resource_ref.h\"", "private", "<cuda/memory_resource>", "public"] },
3235

3336
# gtest
3437
{ "include": ["@<gtest/gtest-.*>", "private", "<gtest/gtest.h>", "public"] },
@@ -47,7 +50,7 @@
4750
{ "include": [ "<google/protobuf/repeated_ptr_field.h>", private, "<google/protobuf/repeated_field.h>", "public" ] },
4851

4952
# pybind11
50-
{ "include": [ "<pybind11/detail/common.h>", "private", "<pybind11/pytypes.h>", "public" ] },
53+
{ "include": [ "@<pybind11/detail/.*>", "private", "<pybind11/pybind11.h>", "public" ] },
5154
{ "include": [ "<pybind11/cast.h>", "private", "<pybind11/pybind11.h>", "public" ] },
5255

5356
# rxcpp

ci/runner/Dockerfile

-6
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ SHELL ["/bin/bash", "-c"]
3535
# Create conda environment
3636
COPY ./dependencies.yaml /tmp/conda/
3737

38-
RUN <<EOF
39-
rapids-mamba-retry install -y \
40-
"rapids-dependency-file-generator>=1.13.*"
41-
conda clean -aipty
42-
EOF
43-
4438
# ============ build ==================
4539
FROM base as build
4640

ci/scripts/github/test.sh

+1-6
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ source ${WORKSPACE}/ci/scripts/github/morpheus_env.sh
2121
source ${WORKSPACE}/ci/scripts/github/cmake_all.sh
2222
/usr/bin/nvidia-smi
2323

24-
rapids-dependency-file-generator \
25-
--output conda \
26-
--file-key all \
27-
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee "${WORKSPACE_TMP}/env.yaml"
28-
29-
update_conda_env "${WORKSPACE_TMP}/env.yaml"
24+
update_conda_env "${WORKSPACE}/conda/environments/all_cuda-125_arch-x86_64.yaml"
3025

3126
log_toolchain
3227

ci/scripts/run_ci_local.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ GIT_BRANCH=$(git branch --show-current)
5858
GIT_COMMIT=$(git log -n 1 --pretty=format:%H)
5959

6060
LOCAL_CI_TMP=${LOCAL_CI_TMP:-${MORPHEUS_ROOT}/.tmp/local_ci_tmp}
61-
CONTAINER_VER=${CONTAINER_VER:-241004}
61+
CONTAINER_VER=${CONTAINER_VER:-241024}
6262
CUDA_VER=${CUDA_VER:-12.5}
6363
CUDA_FULL_VER=${CUDA_FULL_VER:-12.5.1}
6464
DOCKER_EXTRA_ARGS=${DOCKER_EXTRA_ARGS:-""}

conda/environments/all_cuda-125_arch-x86_64.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
- automake=1.16.5
1616
- beautifulsoup4=4.12
1717
- benchmark=1.8.3
18-
- boto3
18+
- boto3=1.35
1919
- breathe=4.35.0
2020
- c-ares=1.32
2121
- ccache
@@ -88,6 +88,7 @@ dependencies:
8888
- pydantic
8989
- pylibcudf=24.10
9090
- pylint=3.0.3
91+
- pynvml=11.4
9192
- pypdf=3.17.4
9293
- pypdfium2=4.30
9394
- pytest-asyncio
@@ -104,10 +105,9 @@ dependencies:
104105
- requests
105106
- requests-cache=1.1
106107
- requests-toolbelt=1.0
107-
- s3fs
108+
- s3fs=2024.10
108109
- scikit-build=0.17.6
109110
- scikit-learn=1.3.2
110-
- sentence-transformers=2.7
111111
- sphinx
112112
- sphinx_rtd_theme
113113
- sqlalchemy<2.0
@@ -140,5 +140,7 @@ dependencies:
140140
- nemollm==0.3.5
141141
- pymilvus==2.3.6
142142
- pytest-kafka==0.6.0
143+
- python-logging-loki
144+
- sentence-transformers==2.7
143145
- torch==2.4.0+cu124
144146
name: all_cuda-125_arch-x86_64

conda/environments/dev_cuda-125_arch-x86_64.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ dependencies:
7373
- pydantic
7474
- pylibcudf=24.10
7575
- pylint=3.0.3
76+
- pynvml=11.4
7677
- pypdfium2=4.30
7778
- pytest-asyncio
7879
- pytest-benchmark=4.0

conda/environments/examples_cuda-125_arch-x86_64.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
- appdirs
1414
- arxiv=1.4
1515
- beautifulsoup4=4.12
16-
- boto3
16+
- boto3=1.35
1717
- click>=8
1818
- cudf=24.10
1919
- cuml=24.10.*
@@ -53,9 +53,8 @@ dependencies:
5353
- requests
5454
- requests-cache=1.1
5555
- requests-toolbelt=1.0
56-
- s3fs
56+
- s3fs=2024.10
5757
- scikit-learn=1.3.2
58-
- sentence-transformers=2.7
5958
- sqlalchemy<2.0
6059
- tqdm=4
6160
- transformers=4.36.2
@@ -78,5 +77,7 @@ dependencies:
7877
- milvus==2.3.5
7978
- nemollm==0.3.5
8079
- pymilvus==2.3.6
80+
- python-logging-loki
81+
- sentence-transformers==2.7
8182
- torch==2.4.0+cu124
8283
name: examples_cuda-125_arch-x86_64

conda/environments/model-utils_cuda-125_arch-x86_64.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ dependencies:
1414
- matplotlib
1515
- onnx
1616
- pandas
17+
- pip
1718
- python=3.10
1819
- scikit-learn=1.3.2
1920
- seaborn
2021
- seqeval=1.2.2
2122
- transformers=4.36.2
2223
- xgboost
24+
- pip:
25+
- tensorrt-cu12
2326
name: model-utils_cuda-125_arch-x86_64

dependencies.yaml

+33-3
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,18 @@ files:
198198
- morpheus_core_pip
199199
- morpheus_llm_pip
200200

201+
# dfp example conda dependencies
202+
dfp_example:
203+
output: conda
204+
matrix:
205+
cuda: ["12.5"]
206+
arch: [x86_64]
207+
output: conda
208+
conda_dir: examples/digital_fingerprinting/production/conda/environments
209+
includes:
210+
- example-dfp-container
211+
- example-dfp-prod
212+
201213
channels:
202214
- conda-forge
203215
- huggingface
@@ -314,6 +326,7 @@ dependencies:
314326
- include-what-you-use=0.20
315327
- isort
316328
- pylint=3.0.3
329+
- pynvml=11.4
317330
- vale=3.7
318331
- vale-styles-microsoft
319332
- vale-styles-write-good
@@ -429,10 +442,24 @@ dependencies:
429442
- output_types: [conda]
430443
packages:
431444
- *nodejs
432-
- boto3
445+
- boto3=1.35
433446
- kfp
434447
- papermill=2.4.0
435-
- s3fs
448+
- s3fs=2024.10
449+
- pip
450+
- pip:
451+
- python-logging-loki
452+
453+
# packages needed in the DFP example container
454+
example-dfp-container:
455+
common:
456+
- output_types: [conda]
457+
packages:
458+
- morpheus-dfp=24.10
459+
- tini=0.19
460+
- pip:
461+
- --extra-index-url https://download.pytorch.org/whl/cu124
462+
- torch==2.4.0+cu124
436463

437464
example-gnn:
438465
common:
@@ -469,14 +496,14 @@ dependencies:
469496
- *pypdfium2
470497
- *python-docx
471498
- requests-toolbelt=1.0 # Transitive dep needed by nemollm, specified here to ensure we get a compatible version
472-
- sentence-transformers=2.7
473499
- pip
474500
- pip:
475501
- langchain==0.1.16
476502
- langchain-nvidia-ai-endpoints==0.0.11
477503
- faiss-cpu
478504
- google-search-results==2.4
479505
- nemollm==0.3.5
506+
- sentence-transformers==2.7 # using pip now instead of conda to avoid install of pytorch cpu
480507

481508
model-training-tuning:
482509
common:
@@ -492,6 +519,9 @@ dependencies:
492519
- seaborn
493520
- seqeval=1.2.2
494521
- xgboost
522+
- pip
523+
- pip:
524+
- tensorrt-cu12
495525

496526
cve-mitigation:
497527
common:

docker/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ RUN --mount=type=bind,source=.,target=/opt/host_repo \
347347
git clone file:///opt/host_repo/${MORPHEUS_ROOT_HOST} /tmp/morpheus_repo &&\
348348
cd /tmp/morpheus_repo &&\
349349
git lfs install &&\
350-
./scripts/fetch_data.py fetch datasets examples
350+
./scripts/fetch_data.py fetch examples
351351

352352
# ============ Stage: runtime ============
353353
# Setup container for runtime environment
@@ -360,7 +360,6 @@ COPY --from=git_clone "/tmp/morpheus_repo/conda/environments/*.yaml" "./conda/en
360360
COPY --from=git_clone "/tmp/morpheus_repo/docker" "./docker"
361361
COPY --from=build_docs "/workspace/${MORPHEUS_ROOT_HOST}/build/docs/html" "./docs"
362362
COPY --from=git_clone "/tmp/morpheus_repo/examples" "./examples"
363-
COPY --from=git_clone "/tmp/morpheus_repo/models/datasets" "./models/datasets"
364363
COPY --from=git_clone "/tmp/morpheus_repo/scripts" "./scripts"
365364
COPY --from=git_clone "/tmp/morpheus_repo/*.md" "./"
366365
COPY --from=git_clone "/tmp/morpheus_repo/LICENSE" "./"

0 commit comments

Comments
 (0)