Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to RAPIDS 24.10 #1874

Merged
merged 44 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
62a81b9
rm nvtabular from dependencies
cwharris Jul 24, 2024
70948e1
rm nvtabular
cwharris Jul 26, 2024
76bb589
fix styles
cwharris Jul 29, 2024
bd2fcf7
change rapids to 24.08
cwharris Jul 31, 2024
81646cf
update dependencies for rapids 24.08
cwharris Aug 1, 2024
28dabd6
update 121_arch to 124_arch
cwharris Aug 1, 2024
116317e
rapids 24.06
cwharris Aug 15, 2024
c8361fe
Merge branch 'branch-24.10' of github.com:nv-morpheus/Morpheus into r…
cwharris Aug 15, 2024
472f0b9
fix merge conflict
cwharris Aug 15, 2024
03ee92a
Updating build to work with new packages.
mdemoret-nv Aug 16, 2024
422b797
fix windows event log parsing
cwharris Aug 21, 2024
7bb3ad9
Merge branch 'branch-24.10' of github.com:nv-morpheus/Morpheus into r…
cwharris Aug 22, 2024
3114285
add temporary cudf string copy_range workaround
cwharris Aug 22, 2024
4e4d2a6
change 12.1 references to 12.5
cwharris Aug 28, 2024
bfc7e94
remove pytest launch workaround code
cwharris Aug 28, 2024
2a38c1f
Merge branch 'branch-24.10' of github.com:nv-morpheus/Morpheus into r…
cwharris Aug 28, 2024
c2e2697
update rapids deps to 24.10
cwharris Aug 28, 2024
b8500b2
update to rapids 24.10
cwharris Aug 28, 2024
c0afb2d
update ip conversion
cwharris Aug 28, 2024
504786d
fix pr.yaml
cwharris Aug 28, 2024
562e318
update test_autoencoder.py to use new convergence tolerence
cwharris Aug 30, 2024
8d8e635
use rapids_cpm_* for gbench and gtest
cwharris Aug 30, 2024
13fcf9f
Merge branch 'branch-24.10' into rapids-24.10
cwharris Oct 1, 2024
6eb32c2
fix pandas is_string_dtype check for mlflow
cwharris Oct 2, 2024
92b1c9d
fix pandas is_string_dtype check for mlflow
cwharris Oct 2, 2024
480fd83
remove badly merged file
cwharris Oct 2, 2024
955a84a
styles
cwharris Oct 2, 2024
59f79a0
remove sys import from conftest.py
cwharris Oct 2, 2024
b7700dc
Merge remote-tracking branch 'upstream/branch-24.10' into rapids-24.10
cwharris Oct 2, 2024
20b29cf
update utilities submodule commit
cwharris Oct 2, 2024
600726a
styles
cwharris Oct 2, 2024
372470c
update ci image
cwharris Oct 4, 2024
e041699
Merge branch 'branch-24.10' of github.com:nv-morpheus/Morpheus into r…
cwharris Oct 4, 2024
8546540
add matx cuda dependencies
cwharris Oct 7, 2024
5f33192
update utilities submodule
cwharris Oct 7, 2024
3cc7bd3
update utilities submodule
cwharris Oct 7, 2024
7af1ad7
update utilities submodule
cwharris Oct 7, 2024
e6c3d9a
update meta.yaml, etc
cwharris Oct 8, 2024
8af23e7
add newline to trigger conda build in ci
cwharris Oct 8, 2024
f2b2e06
fix glog version constraint
cwharris Oct 8, 2024
7ec3116
set CONDA_VERBOSITY=3 in run_conda_build.sh
cwharris Oct 8, 2024
1b91339
fix grpcio version in meta.yaml files
cwharris Oct 8, 2024
1756aba
fix cuda version in env filename references and remove unpinned pytho…
cwharris Oct 8, 2024
ba6f9cd
remove CONDA_VERBOSITY setting in run_conda_build.sh
cwharris Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/cuda12.1-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"args": {
"CUDA": "12.1",
"PYTHON_PACKAGE_MANAGER": "conda",
"BASE": "rapidsai/devcontainers:24.06-cpp-mambaforge-ubuntu22.04"
"BASE": "rapidsai/devcontainers:24.10-cpp-mambaforge-ubuntu22.04"
}
},
"privileged": true,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ jobs:
conda_run_build: ${{ !fromJSON(needs.prepare.outputs.is_pr) || fromJSON(needs.prepare.outputs.has_conda_build_label) }}
# Upload morpheus conda packages only for non PR branches. Use 'main' for main branch and 'dev' for all other branches
conda_upload_label: ${{ !fromJSON(needs.prepare.outputs.is_pr) && (fromJSON(needs.prepare.outputs.is_main_branch) && 'main' || 'dev') || '' }}
container: nvcr.io/ea-nvidia-morpheus/morpheus:morpheus-ci-build-240614
test_container: nvcr.io/ea-nvidia-morpheus/morpheus:morpheus-ci-test-240614
container: nvcr.io/ea-nvidia-morpheus/morpheus:morpheus-ci-build-241004
test_container: nvcr.io/ea-nvidia-morpheus/morpheus:morpheus-ci-test-241004
secrets:
CONDA_TOKEN: ${{ secrets.CONDA_TOKEN }}
NGC_API_KEY: ${{ secrets.NGC_API_KEY }}
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ option(MORPHEUS_USE_IWYU "Enable running include-what-you-use as part of the bui

set(MORPHEUS_PY_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/wheel" CACHE STRING "Location to install the python directory")

set(MORPHEUS_RAPIDS_VERSION "24.02" CACHE STRING "Sets default versions for RAPIDS libraries.")
set(MORPHEUS_RAPIDS_VERSION "24.10" CACHE STRING "Sets default versions for RAPIDS libraries.")
set(MORPHEUS_CACHE_DIR "${CMAKE_SOURCE_DIR}/.cache" CACHE PATH "Directory to contain all CPM and CCache data")
mark_as_advanced(MORPHEUS_CACHE_DIR)

Expand Down
8 changes: 4 additions & 4 deletions ci/conda/recipes/morpheus-libs/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
# limitations under the License.

c_compiler_version:
- 11.2
- 12.1

cxx_compiler_version:
- 11.2
- 12.1

cuda_compiler:
- cuda-nvcc

cuda_compiler_version:
- 12.1
- 12.5

python:
- 3.10

rapids_version:
- 24.02
- 24.10
14 changes: 6 additions & 8 deletions ci/conda/recipes/morpheus-libs/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ outputs:
- cuda-version {{ cuda_compiler_version }}.*
- ninja =1.11
- pkg-config =0.29
- sysroot_linux-64 =2.17
- sysroot_linux-64 =2.28
host:
# CUDA dependencies
- cuda-cudart-dev {{ cuda_compiler_version }}.*
Expand All @@ -65,7 +65,7 @@ outputs:
# Non-CUDA dependencies
- cudf {{ rapids_version }}
- cython 3.0.*
- glog 0.6.*
- glog >=0.7.1,<0.8
- libcudf {{ rapids_version }}
- librdkafka >=1.9.2,<1.10.0a0
- mrc {{ minor_version }}
Expand All @@ -76,7 +76,7 @@ outputs:
- rapidjson 1.1.0
- scikit-build 0.17.6
- versioneer-518
- zlib 1.2.13 # required to build triton client
- zlib 1.3.1 # required to build triton client
run:
# Runtime only requirements. This + setup.py is the definitive runtime requirement list
# This should be synced with `runtime` in dependencies.yaml
Expand All @@ -91,7 +91,7 @@ outputs:
- docker-py =5.0.*
- elasticsearch ==8.9.0
- feedparser =6.0.*
- grpcio =1.59.*
- grpcio =1.62.*
- mlflow>=2.10.0,<3
- mrc
- networkx=2.8.8
Expand All @@ -101,8 +101,6 @@ outputs:
- python
- python-confluent-kafka >=1.9.2,<1.10.0a0
- python-graphviz
- pytorch-cuda
- pytorch * *cuda*
- rapids-dask-dependency {{ rapids_version }} # provides dask and distributed
- requests
- requests-cache =1.1.*
Expand Down Expand Up @@ -188,14 +186,14 @@ outputs:
# package versions getting installed creating unexpected version conflicts.
- {{ pin_subpackage('morpheus-core', exact=True) }}
- cython 3.0.*
- glog 0.6.*
- glog >=0.7.1,<0.8
- pip
- pybind11-stubgen 0.10.5
- python {{ python }}
- rapidjson 1.1.0
- scikit-build 0.17.6
- versioneer-518
- zlib 1.2.13 # required to build triton client
- zlib 1.3.1 # required to build triton client
run:
- {{ pin_subpackage('morpheus-core', exact=True) }}

Expand Down
8 changes: 4 additions & 4 deletions ci/conda/recipes/morpheus/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
# limitations under the License.

c_compiler_version:
- 11.2
- 12.1

cxx_compiler_version:
- 11.2
- 12.1

cuda_compiler:
- cuda-nvcc

cuda_compiler_version:
- 12.1
- 12.5

python:
- 3.10

rapids_version:
- 24.02
- 24.10
10 changes: 4 additions & 6 deletions ci/conda/recipes/morpheus/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ outputs:
- libtool # Needed for DOCA build
- ninja =1.11
- pkg-config =0.29 # for mrc cmake
- sysroot_linux-64 =2.17
- sysroot_linux-64 =2.28
host:
# CUDA dependencies
- cuda-cudart-dev {{ cuda_compiler_version }}.*
Expand All @@ -68,7 +68,7 @@ outputs:
# Non-CUDA dependencies
- cudf {{ rapids_version }}
- cython 3.0.*
- glog 0.6.*
- glog >=0.7.1,<0.8
- libcudf {{ rapids_version }}
- librdkafka >=1.9.2,<1.10.0a0
- mrc {{ minor_version }}
Expand All @@ -80,7 +80,7 @@ outputs:
- rdma-core >=48 # Needed for DOCA.
- scikit-build 0.17.6
- versioneer-518
- zlib 1.2.13 # required to build triton client
- zlib 1.3.1 # required to build triton client
run:
# Runtime only requirements. This + setup.py is the definitive runtime requirement list
# This should be synced with `runtime` in dependencies.yaml
Expand All @@ -95,7 +95,7 @@ outputs:
- docker-py =5.0.*
- elasticsearch ==8.9.0
- feedparser =6.0.*
- grpcio =1.59.*
- grpcio =1.62.*
- libwebp>=1.3.2 # Required for CVE mitigation: https://nvd.nist.gov/vuln/detail/CVE-2023-4863
- mlflow>=2.10.0,<3
- mrc
Expand All @@ -106,8 +106,6 @@ outputs:
- python
- python-confluent-kafka >=1.9.2,<1.10.0a0
- python-graphviz
- pytorch-cuda
- pytorch * *cuda*
- rapids-dask-dependency {{ rapids_version }} # provides dask and distributed
- requests
- requests-cache =1.1.*
Expand Down
4 changes: 2 additions & 2 deletions ci/runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# Args used in FROM commands must come first
ARG FROM_IMAGE="rapidsai/ci-conda"
ARG CUDA_PKG_VER=12-0
ARG CUDA_SHORT_VER=12.1
ARG CUDA_VER=12.1.1
ARG CUDA_SHORT_VER=12.5
ARG CUDA_VER=12.5.1
ARG LINUX_DISTRO=ubuntu
ARG LINUX_VER=22.04
ARG PROJ_NAME=morpheus
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/run_ci_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ GIT_BRANCH=$(git branch --show-current)
GIT_COMMIT=$(git log -n 1 --pretty=format:%H)

LOCAL_CI_TMP=${LOCAL_CI_TMP:-${MORPHEUS_ROOT}/.tmp/local_ci_tmp}
CONTAINER_VER=${CONTAINER_VER:-240614}
CONTAINER_VER=${CONTAINER_VER:-241004}
CUDA_VER=${CUDA_VER:-12.1}
DOCKER_EXTRA_ARGS=${DOCKER_EXTRA_ARGS:-""}

Expand Down
12 changes: 4 additions & 8 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,11 @@ rapids_find_package(ZLIB

if(MORPHEUS_BUILD_BENCHMARKS)
# google benchmark
# - Expects package to pre-exist in the build environment
# ================
rapids_find_package(benchmark REQUIRED
GLOBAL_TARGETS benchmark::benchmark
include(${rapids-cmake-dir}/cpm/gbench.cmake)
rapids_cpm_gbench(
BUILD_EXPORT_SET ${PROJECT_NAME}-core-exports
INSTALL_EXPORT_SET ${PROJECT_NAME}-core-exports
FIND_ARGS CONFIG
)
endif()

Expand All @@ -65,13 +63,11 @@ morpheus_utils_configure_glog()

if(MORPHEUS_BUILD_TESTS)
# google test
# - Expects package to pre-exist in the build environment
# ===========
rapids_find_package(GTest REQUIRED
GLOBAL_TARGETS GTest::gtest GTest::gmock GTest::gtest_main GTest::gmock_main
include(${rapids-cmake-dir}/cpm/gtest.cmake)
rapids_cpm_gtest(
BUILD_EXPORT_SET ${PROJECT_NAME}-core-exports
INSTALL_EXPORT_SET ${PROJECT_NAME}-core-exports
FIND_ARGS CONFIG
)
endif()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ dependencies:
- clangdev=16
- click>=8
- cmake=3.27
- cuda-cudart-dev=12.1
- cuda-cudart=12.1
- cuda-nvcc=12.1
- cuda-nvml-dev=12.1
- cuda-nvrtc-dev=12.1
- cuda-nvrtc=12.1
- cuda-nvtx-dev=12.1
- cuda-nvtx=12.1
- cuda-tools=12.1
- cuda-version=12.1
- cudf=24.02
- cuml=24.02.*
- cuda-cudart-dev=12.5
- cuda-cudart=12.5
- cuda-nvcc=12.5
- cuda-nvml-dev=12.5
- cuda-nvrtc-dev=12.5
- cuda-nvrtc=12.5
- cuda-nvtx-dev=12.5
- cuda-nvtx=12.5
- cuda-sanitizer-api
- cuda-version=12.5
- cudf=24.10
- cuml=24.10.*
- cupy
- cxx-compiler
- cython=3.0
Expand All @@ -45,23 +45,28 @@ dependencies:
- exhale=0.3.6
- feedparser=6.0
- flake8
- gcc_linux-64=11.2
- git-lfs
- glog=0.6
- grpcio-status=1.59
- grpcio=1.59
- gxx_linux-64=11.2
- glog>=0.7.1,<0.8
- grpcio
- grpcio-status
- gtest=1.14
- gxx=12.1
- huggingface_hub=0.20.2
- include-what-you-use=0.20
- ipython
- isort
- jsonpatch>=1.33
- kfp
- libcudf=24.02
- libcublas-dev
- libcudf=24.10
- libcufft-dev
- libcurand-dev
- libcusolver-dev
- librdkafka>=1.9.2,<1.10.0a0
- libtool
- libwebp=1.3.2
- mlflow>=2.10.0,<3
- libzlib >=1.3.1,<2
- mlflow
- mrc=24.10
- myst-parser=0.18.1
- nbsphinx
Expand All @@ -81,6 +86,7 @@ dependencies:
- pre-commit
- pybind11-stubgen=0.10.5
- pydantic
- pylibcudf=24.10
- pylint=3.0.3
- pypdf=3.17.4
- pypdfium2=4.30
Expand All @@ -92,22 +98,20 @@ dependencies:
- python-docx==1.1.0
- python-graphviz
- python=3.10
- pytorch-cuda
- pytorch=*=*cuda*
- rapidjson=1.1.0
- rapids-dask-dependency=24.02
- rapids-dask-dependency=24.10
- rdma-core>=48
- requests
- requests-cache=1.1
- requests-toolbelt=1.0
- s3fs=2023.12.2
- s3fs
- scikit-build=0.17.6
- scikit-learn=1.3.2
- sentence-transformers=2.7
- sphinx
- sphinx_rtd_theme
- sqlalchemy<2.0
- sysroot_linux-64=2.17
- sysroot_linux-64>=2.28
- tqdm=4
- transformers=4.36.2
- tritonclient=2.34
Expand All @@ -120,20 +124,21 @@ dependencies:
- watchdog=3.0
- websockets
- yapf=0.40.1
- zlib=1.2.13
- pip:
- --extra-index-url https://download.pytorch.org/whl/cu124
- --find-links https://data.dgl.ai/wheels-test/repo.html
- --find-links https://data.dgl.ai/wheels/cu121/repo.html
- databricks-cli < 0.100
- databricks-connect
- dgl==2.0.0
- dglgo
- faiss-gpu==1.7.*
- faiss-cpu
- google-search-results==2.4
- langchain-nvidia-ai-endpoints==0.0.11
- langchain==0.1.16
- milvus==2.3.5
- nemollm==0.3.5
- pymilvus==2.3.6
- pytest-kafka==0.6.0
name: all_cuda-121_arch-x86_64
- torch==2.4.0+cu124
name: all_cuda-125_arch-x86_64
Loading
Loading