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

Misc Conda Improvements #1462

Merged
merged 128 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
bae8984
Making the morpheus project relocatable to support building C++ compo…
mdemoret-nv Jul 27, 2023
bfd3098
Improving the install step
mdemoret-nv Jul 27, 2023
e2cc0bb
Removing -core from utilities
mdemoret-nv Aug 4, 2023
8bc32c1
Update morpheus utils
dagardner-nv Dec 19, 2023
de526c0
Merge branch 'branch-24.03' of github.com:nv-morpheus/Morpheus into d…
dagardner-nv Dec 19, 2023
7ee8b02
Fix merge error
dagardner-nv Dec 19, 2023
ba3cd1f
Track mdd_improve-setup
dagardner-nv Dec 19, 2023
9863c39
Updated mdd_improve-setup branch
dagardner-nv Dec 20, 2023
79263f3
Updated utilities repo
dagardner-nv Dec 26, 2023
f6fa607
Merge branch 'branch-24.03' of github.com:nv-morpheus/Morpheus into d…
dagardner-nv Dec 26, 2023
eb4d62c
Import mrc.core.segment to avoid stubgen error regarding ObjectProper…
dagardner-nv Dec 26, 2023
dab8e20
Remove unused import
dagardner-nv Dec 26, 2023
0b7f31c
Update stage to match type refactor
dagardner-nv Dec 27, 2023
6478686
Update stub file
dagardner-nv Dec 27, 2023
5f021a9
Add test for the external_cpp_stage
dagardner-nv Dec 27, 2023
261b298
Only install the cpython extensions into site-packages, avoids redund…
dagardner-nv Dec 27, 2023
d3f79c6
Ignore _version.py
dagardner-nv Dec 27, 2023
c243209
Add license header, remove redundant lines
dagardner-nv Dec 27, 2023
8d531d5
Yapf issue #984 has been fixed in our current version of yapf. Remove…
dagardner-nv Dec 27, 2023
d90705a
Resolve missing symbols error when performing release builds
dagardner-nv Dec 28, 2023
1aef7f4
Update utils
dagardner-nv Dec 28, 2023
5ebddf8
Separate the initialization of cuda from enabling it
dagardner-nv Dec 28, 2023
fd5f5e8
Build the install target
dagardner-nv Dec 28, 2023
e28b800
Update utils
dagardner-nv Dec 28, 2023
2ea3d4d
Set C++ std to 20, remove commented out code
dagardner-nv Dec 28, 2023
e69d86d
Fix type-o
dagardner-nv Dec 29, 2023
a006b0b
Include the examples dir when searching for C++ source files
dagardner-nv Dec 29, 2023
b373854
Include the utilities repo as it is nescesarry for building C++ stage…
dagardner-nv Dec 29, 2023
031f10f
Relocate commented out calls to 'conda clean' and re-enable, remove o…
dagardner-nv Jan 2, 2024
46cea05
Update CR year for files changed in this PR
dagardner-nv Jan 2, 2024
5c8768c
Remove unneeded prepend
dagardner-nv Jan 2, 2024
0d74656
WIP
dagardner-nv Jan 2, 2024
6b4d082
Add prepend back in
dagardner-nv Jan 2, 2024
decd08e
WIP
dagardner-nv Jan 2, 2024
22a9a7f
Incorporate examples/external_cpp_stage into examples/developer_guide…
dagardner-nv Jan 2, 2024
da68627
Adding stub file
dagardner-nv Jan 2, 2024
561ff00
Update cmake scripts to control where build artifacts are going
dagardner-nv Jan 2, 2024
df00e90
rename morpheus_pass_thru_example to src
dagardner-nv Jan 2, 2024
1708496
Fix package layout
dagardner-nv Jan 3, 2024
e9bb7ca
Add missing __init__.py
dagardner-nv Jan 3, 2024
4201a51
Setup versioneer
dagardner-nv Jan 3, 2024
6144ecf
Move versioneer file
dagardner-nv Jan 3, 2024
23aac56
Restructure the C++ rabbitmq example
dagardner-nv Jan 3, 2024
276922a
Update versioneer excludes
dagardner-nv Jan 3, 2024
c9a7257
WIP: Updarting RabbitMQ stage
dagardner-nv Jan 3, 2024
70faba9
Setup version file
dagardner-nv Jan 3, 2024
379c5e6
Update imports
dagardner-nv Jan 3, 2024
9796a91
Update paths
dagardner-nv Jan 3, 2024
ca83ef7
Update isort config [skip ci]
dagardner-nv Jan 3, 2024
a2c4969
Remove uneeded lint to mrc [no ci]
dagardner-nv Jan 3, 2024
60b7b3e
Initialize variables in definition order, avoids compiler warning
dagardner-nv Jan 3, 2024
72a0f95
Ensure fpic is set for both the rabbitmq libs and the stage, remove o…
dagardner-nv Jan 3, 2024
cc77f66
Update readme
dagardner-nv Jan 3, 2024
7ff5e5c
Updating docs
dagardner-nv Jan 4, 2024
3a7724d
Updating docs
dagardner-nv Jan 4, 2024
28970b0
Update CR year
dagardner-nv Jan 4, 2024
f01cb96
Don't remove the upstream remote as it won't exist [no ci]
dagardner-nv Jan 4, 2024
da183fb
Restore the SKIP_CONDA_ENV_UPDATE feature
dagardner-nv Jan 4, 2024
eb23513
Add missing dep for glog
dagardner-nv Jan 4, 2024
dbf2cda
Restore mistakenly removed line [no ci]
dagardner-nv Jan 4, 2024
c2234f2
Add deps for glog and grpc
dagardner-nv Jan 4, 2024
4cc100c
Add dep for rxcpp
dagardner-nv Jan 4, 2024
9a923a9
Update CR Year
dagardner-nv Jan 4, 2024
097f3af
Update CR Year
dagardner-nv Jan 4, 2024
287892e
Add data_retrieval to build target as git-lfs is needed for several c…
dagardner-nv Jan 4, 2024
c598632
Add setup.py needed when building wheels
dagardner-nv Jan 4, 2024
d8649b3
Install versioneer via conda
dagardner-nv Jan 4, 2024
4c86d39
Remove references to the locally installed versioneer
dagardner-nv Jan 4, 2024
379ec62
Update test path
dagardner-nv Jan 4, 2024
6545cab
Remove version constraint on versioneer
dagardner-nv Jan 4, 2024
f6914a7
Fix CR year
dagardner-nv Jan 4, 2024
f7bb920
Ignore no-member false-errors from pylint regarding versioneer
dagardner-nv Jan 4, 2024
78eebd6
Perform an install
dagardner-nv Jan 4, 2024
917526c
Don't install tests
dagardner-nv Jan 4, 2024
8885c92
Update CR year
dagardner-nv Jan 4, 2024
7f60f9a
Install the python package
dagardner-nv Jan 4, 2024
4888b55
Build the wheel
dagardner-nv Jan 4, 2024
d74d5c0
Set CMAKE_INSTALL_PREFIX
dagardner-nv Jan 5, 2024
831fc61
Update CR Year
dagardner-nv Jan 5, 2024
d78d596
Adopt newly merged changes in PR #61 in the utilities repo
dagardner-nv Jan 5, 2024
56035d8
Merge branch 'branch-24.03' into david-mdd_relocatable-package
dagardner-nv Jan 8, 2024
820c957
Adopt updated utilities repo to pick up morpheus_utils_configure_grpc…
dagardner-nv Jan 8, 2024
28c68be
Update CR year to reflect that this was created in 2023
dagardner-nv Jan 8, 2024
24cfaff
Update _version
dagardner-nv Jan 8, 2024
c34106d
Remove pylint disable comment
dagardner-nv Jan 8, 2024
fd18b8f
Dont copy the utilities repo, instead install it as part of the package
dagardner-nv Jan 8, 2024
f2187e1
Install cmake python utils
dagardner-nv Jan 8, 2024
6761ba9
Install morpheus_utils cmake scripts
dagardner-nv Jan 8, 2024
8abeb58
Remove relative path
dagardner-nv Jan 8, 2024
33169c6
Install cmake libs even when MORPHEUS_PYTHON_INPLACE_BUILD is true, s…
dagardner-nv Jan 8, 2024
1ef7f2e
Fix load command
dagardner-nv Jan 8, 2024
acfba28
Escape the $
dagardner-nv Jan 9, 2024
3256363
Wrap the include in an if statement
dagardner-nv Jan 9, 2024
4c4d818
Specify dependencies in setup.cfg
dagardner-nv Jan 9, 2024
d89862d
Fix version spec
dagardner-nv Jan 9, 2024
156d004
Fix escaping
dagardner-nv Jan 9, 2024
f3f7048
Create .conda-bld dir if it doesn't already exist
dagardner-nv Jan 9, 2024
bfad4a3
Update CR year
dagardner-nv Jan 9, 2024
30b30ed
Switch to using conda to fetch pyarrow-hotfix
dagardner-nv Jan 9, 2024
9293cec
add pyarrow-hotfix to the host section as well
dagardner-nv Jan 9, 2024
4880dbc
Re-generate conda packages with updated deps
dagardner-nv Jan 10, 2024
83c2309
Merge branch 'david-mdd_relocatable-package' of github.com:dagardner-…
dagardner-nv Jan 10, 2024
15f2ee8
Add MORPHEUS_SUPPORT_DOCA to list of variables needed to be exported …
dagardner-nv Jan 10, 2024
0b7b51d
Use package relative path to the columns file allowing consumers of t…
dagardner-nv Jan 10, 2024
0a297c6
Switch to package relative path for bert-base-cased-hash.txt
dagardner-nv Jan 10, 2024
eb36baa
Use MorpheusRelativePath for locating the model_vocab_hash_file
dagardner-nv Jan 10, 2024
f15a391
Remove redunant entries of runtime. Add target for examples
dagardner-nv Jan 10, 2024
4310619
Include runtime in examples
dagardner-nv Jan 10, 2024
c3bdbad
Remove blank space between click and the version spec, prevents click…
dagardner-nv Jan 10, 2024
9ae6826
Specify a version for sysroot_linux-64, without this I was getting ou…
dagardner-nv Jan 10, 2024
c4de249
Fix version spec for sqlalchemy
dagardner-nv Jan 10, 2024
11e08a1
Add cudatoolkit
dagardner-nv Jan 10, 2024
e0db8e4
Update CR Year
dagardner-nv Jan 11, 2024
09842ab
Merge branch 'branch-24.03' into david-mdd_relocatable-package
dagardner-nv Jan 17, 2024
e15c206
Remove commented out line [no ci]
dagardner-nv Jan 17, 2024
5015467
Limit debug printing to just morpheus [no ci]
dagardner-nv Jan 17, 2024
cc5d39a
Add comment explaining why bootstrapping cuda is now a two-step proce…
dagardner-nv Jan 17, 2024
3c7addb
Don't call morpheus_utils_configure_grpc
dagardner-nv Jan 18, 2024
6954460
Formatting fix
dagardner-nv Jan 18, 2024
2c740ce
Add pkg-config which is needed by mrc's cmake scripts to discover dep…
dagardner-nv Jan 18, 2024
9967192
Remove component
dagardner-nv Jan 18, 2024
c277694
Merge branch 'david-mdd_relocatable-package' into david_test_conda
dagardner-nv Jan 18, 2024
40adcb8
Merge branch 'branch-24.03' into david_test_conda
dagardner-nv Jan 22, 2024
9c226bb
Remove unused cmake script
dagardner-nv Jan 22, 2024
212910e
Remove pyarrow_hotfix from install_requires, as this is now installed…
dagardner-nv Jan 29, 2024
2ac8bac
Merge branch 'branch-24.03' into david_test_conda
dagardner-nv Jan 29, 2024
ebafc99
Pin pytest version to 7.4
dagardner-nv Jan 29, 2024
7054e87
Fix pytest version
dagardner-nv Jan 29, 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
4 changes: 3 additions & 1 deletion ci/conda/recipes/morpheus/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ outputs:
- mrc {{ minor_version }}
- pip
- pyarrow * *_cuda # Ensure we get a CUDA build. Version determined by cuDF
- pyarrow-hotfix # CVE-2023-47248
- pybind11-stubgen 0.10.5
- python {{ python }}
- rapidjson 1.1
Expand Down Expand Up @@ -92,14 +93,15 @@ outputs:
- pandas 1.3.*
- pluggy 1.0.*
- pyarrow * *_cuda # Ensure we get a CUDA build. Version determined by cuDF
- pyarrow-hotfix # CVE-2023-47248
- python
- python-confluent-kafka 1.9.2
- pytorch 2.0.1
- pytorch-cuda
- requests=2.31
- requests-cache=1.1
- scikit-learn 1.2.2.*
- sqlalchemy <=2.0 # 2.0 is incompatible with pandas=1.3
- sqlalchemy <2.0 # 2.0 is incompatible with pandas=1.3
- tqdm 4.*
- tritonclient 2.26.*
- typing_utils 0.1.*
Expand Down
3 changes: 2 additions & 1 deletion ci/conda/recipes/run_conda_build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -48,6 +48,7 @@ export CMAKE_CUDA_ARCHITECTURES=${CMAKE_CUDA_ARCHITECTURES:-"RAPIDS"}
export MORPHEUS_PYTHON_BUILD_STUBS=${MORPHEUS_PYTHON_BUILD_STUBS:-"ON"}
export MORPHEUS_CACHE_DIR=${MORPHEUS_CACHE_DIR:-"${MORPHEUS_ROOT}/.cache"}
export PARALLEL_LEVEL=${PARALLEL_LEVEL:-$(nproc)}
export MORPHEUS_SUPPORT_DOCA=${MORPHEUS_SUPPORT_DOCA:-OFF}

# Set CONDA_CHANNEL_ALIAS to mimic the conda config channel_alias property during the build
CONDA_CHANNEL_ALIAS=${CONDA_CHANNEL_ALIAS:-""}
Expand Down
6 changes: 3 additions & 3 deletions conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ dependencies:
- breathe=4.34.0
- ccache>=3.7
- clangdev=16
- click >=8
- click>=8
- cmake=3.25
- cuda-cudart-dev=11.8
Expand Down Expand Up @@ -76,13 +75,14 @@ dependencies:
- pluggy=1.0
- pre-commit
- protobuf=4.21.*
- pyarrow-hotfix
- pybind11-stubgen=0.10
- pylint>=2.17.4,<2.18
- pypdf=3.16
- pytest
- pytest-asyncio
- pytest-benchmark>=4.0
- pytest-cov
- pytest=7.4
- python-confluent-kafka=1.9.2
- python-dotenv=1.0
- python-graphviz
Expand All @@ -97,6 +97,7 @@ dependencies:
- sphinx
- sphinx_rtd_theme
- sqlalchemy<2.0
- sysroot_linux-64=2.17
- tqdm=4
- transformers=4.30.2
- tritonclient=2.26
Expand All @@ -113,7 +114,6 @@ dependencies:
- grpcio-status==1.58
- milvus==2.3.2
- nemollm
- pyarrow_hotfix
- pymilvus==2.3.2
- pytest-kafka==0.6.0
name: all_cuda-118_arch-x86_64_py-310
Expand Down
6 changes: 3 additions & 3 deletions conda/environments/dev_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ dependencies:
- breathe=4.34.0
- ccache>=3.7
- clangdev=16
- click >=8
- click>=8
- cmake=3.25
- cuda-cudart-dev=11.8
Expand Down Expand Up @@ -61,12 +60,13 @@ dependencies:
- pluggy=1.0
- pre-commit
- protobuf=4.21.*
- pyarrow-hotfix
- pybind11-stubgen=0.10
- pylint>=2.17.4,<2.18
- pytest
- pytest-asyncio
- pytest-benchmark>=4.0
- pytest-cov
- pytest=7.4
- python-confluent-kafka=1.9.2
- python-graphviz
- pytorch-cuda
Expand All @@ -78,6 +78,7 @@ dependencies:
- sphinx
- sphinx_rtd_theme
- sqlalchemy<2.0
- sysroot_linux-64=2.17
- tqdm=4
- tritonclient=2.26
- typing_utils=0.1
Expand All @@ -89,7 +90,6 @@ dependencies:
- pip:
- databricks-connect
- milvus==2.3.2
- pyarrow_hotfix
- pymilvus==2.3.2
- pytest-kafka==0.6.0
name: dev_cuda-118_arch-x86_64_py-310
Expand Down
19 changes: 14 additions & 5 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ files:
- test_python_morpheus
- docs
- cudatoolkit
- runtime
- checks

dev:
Expand All @@ -47,9 +46,18 @@ files:
- test_python_morpheus
- docs
- cudatoolkit
- runtime
- checks

examples:
output: conda
matrix:
cuda: ["11.8"]
arch: [x86_64]
includes:
- examples
- runtime
- cudatoolkit

build:
output: none
matrix:
Expand Down Expand Up @@ -143,6 +151,7 @@ dependencies:
- pybind11-stubgen=0.10
- rapidjson=1.1.0
- scikit-build=0.17.1
- sysroot_linux-64=2.17
- tritonclient=2.26 # Required by NvTabular, force the version, so we get protobufs compatible with 4.21
- ucx=1.14

Expand Down Expand Up @@ -185,7 +194,7 @@ dependencies:
- sphinx_rtd_theme
- numpydoc=1.4
- pluggy=1.0
- &click click >=8
- &click click>=8

benchmark_cpp:
common:
Expand Down Expand Up @@ -245,6 +254,7 @@ dependencies:
- nb_conda_kernels
- numpydoc=1.4
- nvtabular=23.06
- pyarrow-hotfix
- python-confluent-kafka=1.9.2
- python-graphviz
- pytorch-cuda
Expand All @@ -260,15 +270,14 @@ dependencies:
- pip:
- databricks-connect
- milvus==2.3.2
- pyarrow_hotfix
- pymilvus==2.3.2

test_python_morpheus:
common:
- output_types: [conda]
packages:
- nodejs=18.*
- pytest
- pytest=7.4 # 8.0 appears to be incompatible with pytest-asyncio
- pytest-asyncio
- pytest-benchmark>=4.0
- pytest-cov
Expand Down
3 changes: 2 additions & 1 deletion docker/build_conda_packages.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# SPDX-FileCopyrightText: Copyright (c) 2021-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2021-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -36,6 +36,7 @@ CUR_GID=$(id -g ${LOGNAME})
MORPHEUS_ROOT=${MORPHEUS_ROOT:-$(git rev-parse --show-toplevel)}
mkdir -p ${MORPHEUS_ROOT}/.cache/ccache
mkdir -p ${MORPHEUS_ROOT}/.cache/cpm
mkdir -p ${MORPHEUS_ROOT}/.conda-bld

echo "Building container"
# Call the build script to get a container ready to build conda packages
Expand Down
4 changes: 2 additions & 2 deletions docker/conda/environments/cuda11.8_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,11 @@ dependencies:
- pluggy=1.0
- protobuf=4.21.*
- pyarrow * *_cuda # Ensure we get a CUDA build. Version determined by cuDF
- pyarrow-hotfix # CVE-2023-47248. See morpheus/__init__.py for more details
- pybind11-stubgen=0.10.5
- pydot
- pylint>=2.17.4,<2.18 # 2.17.4 contains a fix for toml support
- pytest
- pytest=7.4
- pytest-asyncio
- pytest-benchmark>=4.0
- pytest-cov
Expand Down Expand Up @@ -124,6 +125,5 @@ dependencies:
# Add additional dev dependencies here
- databricks-connect
- milvus==2.3.2
- pyarrow_hotfix # CVE-2023-47248. See morpheus/__init__.py for more details
- pymilvus==2.3.2
- pytest-kafka==0.6.0
5 changes: 2 additions & 3 deletions examples/abp_nvsmi_detection/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: Copyright (c) 2021-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-FileCopyrightText: Copyright (c) 2021-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -107,13 +107,12 @@ The following command line is the entire command to build and launch the pipelin

From the Morpheus repo root directory, run:
```bash
export MORPHEUS_ROOT=$(pwd)
# Launch Morpheus printing debug messages
morpheus --log_level=DEBUG \
`# Run a pipeline with 8 threads and a model batch size of 1024 (Must be equal or less than Triton config)` \
run --num_threads=8 --pipeline_batch_size=1024 --model_max_batch_size=1024 \
`# Specify a NLP pipeline with 256 sequence length (Must match Triton config)` \
pipeline-fil --columns_file=${MORPHEUS_ROOT}/morpheus/data/columns_fil.txt \
pipeline-fil --columns_file=data/columns_fil.txt \
`# 1st Stage: Read from file` \
from-file --filename=examples/data/nvsmi.jsonlines \
`# 2nd Stage: Deserialize from JSON strings to objects` \
Expand Down
6 changes: 3 additions & 3 deletions examples/log_parsing/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
# Copyright (c) 2021-2023, NVIDIA CORPORATION.
# Copyright (c) 2021-2024, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -63,7 +63,7 @@ python run.py \
--num_threads 1 \
--input_file ${MORPHEUS_ROOT}/models/datasets/validation-data/log-parsing-validation-data-input.csv \
--output_file ./log-parsing-output.jsonlines \
--model_vocab_hash_file=${MORPHEUS_ROOT}/morpheus/data/bert-base-cased-hash.txt \
--model_vocab_hash_file=data/bert-base-cased-hash.txt \
--model_vocab_file=${MORPHEUS_ROOT}/models/training-tuning-scripts/sid-models/resources/bert-base-cased-vocab.txt \
--model_seq_length=256 \
--model_name log-parsing-onnx \
Expand Down Expand Up @@ -114,7 +114,7 @@ morpheus --log_level INFO \
pipeline-nlp \
from-file --filename ./models/datasets/validation-data/log-parsing-validation-data-input.csv \
deserialize \
preprocess --vocab_hash_file ${MORPHEUS_ROOT}/morpheus/data/bert-base-cased-hash.txt --stride 64 --column=raw \
preprocess --vocab_hash_file data/bert-base-cased-hash.txt --stride 64 --column=raw \
monitor --description "Preprocessing rate" \
inf-logparsing --model_name log-parsing-onnx --server_url localhost:8001 --force_convert_inputs=True \
monitor --description "Inference rate" --unit inf \
Expand Down
5 changes: 3 additions & 2 deletions examples/log_parsing/run.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2021-2023, NVIDIA CORPORATION.
# Copyright (c) 2021-2024, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -18,6 +18,7 @@
from inference import LogParsingInferenceStage
from postprocessing import LogParsingPostProcessingStage

from morpheus.cli.utils import MorpheusRelativePath
from morpheus.config import Config
from morpheus.config import PipelineModes
from morpheus.pipeline import LinearPipeline
Expand Down Expand Up @@ -61,7 +62,7 @@
)
@click.option('--model_vocab_hash_file',
required=True,
type=click.Path(exists=True, dir_okay=False),
type=MorpheusRelativePath(exists=True, dir_okay=False),
help="Model vocab hash file to use for pre-processing.")
@click.option('--model_vocab_file',
required=True,
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@
author="NVIDIA Corporation",
include_package_data=True,
packages=find_packages(include=["morpheus*"], exclude=['tests']),
install_requires=[
# Only list the packages which cannot be installed via conda here.
"pyarrow_hotfix", # CVE-2023-47248. See morpheus/__init__.py for more details
],
install_requires=[],
license="Apache",
python_requires='>=3.10, <4',
cmdclass=versioneer.get_cmdclass(), # pylint: disable=no-member
Expand Down
Loading