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

Fix pandas version in runtime container #270

Merged
33 commits merged into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
47b8cbf
Bump numpy in /models/validation-inference-scripts/phishing-models
dependabot[bot] Jun 22, 2022
1dd7e4f
Merge pull request #173 from nv-morpheus/dependabot/pip/models/valida…
raykallen Jun 23, 2022
8021159
Bump numpy
dependabot[bot] Jun 23, 2022
dd36e4b
Merge pull request #175 from nv-morpheus/dependabot/pip/models/valida…
raykallen Jun 23, 2022
21dd0fa
Bump numpy in /models/training-tuning-scripts/fraud-detection-models
dependabot[bot] Jun 23, 2022
b0a033c
Merge pull request #174 from nv-morpheus/dependabot/pip/models/traini…
raykallen Jun 23, 2022
46048a6
Bump numpy in /models/validation-inference-scripts/hammah-models
dependabot[bot] Jun 23, 2022
45b31f8
Merge pull request #172 from nv-morpheus/dependabot/pip/models/valida…
raykallen Jun 23, 2022
36480ae
Merge pull request #184 from nv-morpheus/branch-22.06
mdemoret-nv Jun 23, 2022
e51f74b
Merge pull request #187 from nv-morpheus/branch-22.06
mdemoret-nv Jun 23, 2022
526cb75
Merge pull request #194 from nv-morpheus/branch-22.06
GPUtester Jun 24, 2022
2fa2182
Merge pull request #202 from nv-morpheus/branch-22.06
GPUtester Jun 27, 2022
57635e7
Merge pull request #204 from nv-morpheus/branch-22.06
GPUtester Jun 27, 2022
0f5d678
Merge pull request #222 from nv-morpheus/branch-22.06
GPUtester Jun 27, 2022
a234210
Merge pull request #225 from nv-morpheus/branch-22.06
GPUtester Jun 27, 2022
771cce7
Merge pull request #226 from nv-morpheus/branch-22.06
GPUtester Jun 28, 2022
2842793
Merge pull request #227 from nv-morpheus/branch-22.06
GPUtester Jun 28, 2022
0a63565
Merge pull request #228 from nv-morpheus/branch-22.06
GPUtester Jun 28, 2022
0f186a7
Merge pull request #233 from nv-morpheus/branch-22.06
GPUtester Jun 28, 2022
f9beca9
Merge pull request #235 from nv-morpheus/branch-22.06
GPUtester Jun 29, 2022
6f81ba1
Merge pull request #236 from nv-morpheus/branch-22.06
GPUtester Jun 29, 2022
1f25ba9
Merge pull request #241 from nv-morpheus/branch-22.06
GPUtester Jun 29, 2022
2018d06
Merge pull request #247 from nv-morpheus/branch-22.06
GPUtester Jun 30, 2022
dfb4a10
Merge pull request #248 from nv-morpheus/branch-22.06
GPUtester Jun 30, 2022
c168047
Merge pull request #253 from nv-morpheus/branch-22.06
GPUtester Jun 30, 2022
1d18cd4
Merge pull request #255 from nv-morpheus/branch-22.06
GPUtester Jun 30, 2022
8edb3ae
Merge pull request #260 from nv-morpheus/branch-22.06
GPUtester Jul 5, 2022
10ea14f
GPU not needed for build & documentation CI stages (#181)
dagardner-nv Jul 5, 2022
1a0fd7d
Merge pull request #263 from nv-morpheus/branch-22.06
GPUtester Jul 5, 2022
64564e1
Merge pull request #264 from nv-morpheus/branch-22.06
GPUtester Jul 5, 2022
0bbb617
log parsing cupy explicit conversion to numpy
Jul 12, 2022
80aa5e6
update runtime container build to conda install morpheus before runti…
efajardo-nv Jul 13, 2022
4191711
add pandas 1.3 to conda recipe
efajardo-nv Jul 14, 2022
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
12 changes: 5 additions & 7 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,13 @@ pipeline {
timeout(time: 4, unit: 'HOURS')
}
environment {
PARALLEL_LEVEL = '10'
USE_SCCACHE = '1'
HOME = "${WORKSPACE}"
}
agent {
docker {
image 'gpuci/rapidsai:22.04-cuda11.5-devel-centos7-py3.8'
label 'driver-495'
args '--runtime "nvidia" -e "NVIDIA_VISIBLE_DEVICES=$EXECUTOR_NUMBER"'
image 'gpuci/rapidsai-driver:22.04-cuda11.5-devel-centos7-py3.8'
label 'cpu4'
}
}
steps {
Expand Down Expand Up @@ -90,6 +88,7 @@ pipeline {
}
environment {
HOME = "${WORKSPACE}"
PARALLEL_LEVEL = '10'
}
steps {
cleanWs(
Expand All @@ -114,9 +113,8 @@ pipeline {
}
agent {
docker {
image 'gpuci/rapidsai:22.04-cuda11.5-devel-centos7-py3.8'
label 'driver-495'
args '--runtime "nvidia" -e "NVIDIA_VISIBLE_DEVICES=$EXECUTOR_NUMBER"'
image 'gpuci/rapidsai-driver:22.04-cuda11.5-devel-centos7-py3.8'
label 'cpu'
}
}
environment {
Expand Down
18 changes: 5 additions & 13 deletions ci/scripts/jenkins/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,20 @@ rm -rf ${MORPHEUS_ROOT}/.cache/ ${MORPHEUS_ROOT}/build/
conda config --add pkgs_dirs /opt/conda/pkgs
conda config --env --add channels conda-forge
conda config --env --set channel_alias ${CONDA_CHANNEL_ALIAS:-"https://conda.anaconda.org"}
mamba install -q -y -n base -c conda-forge "boa >=0.10"
mamba create -q -y -n morpheus python=${PYTHON_VER}
mamba env create -q -n morpheus -f ${MORPHEUS_ROOT}/docker/conda/environments/cuda${CUDA_VER}_dev.yml
conda activate morpheus

gpuci_logger "Installing CI dependencies"
mamba env update -q -n morpheus -f ${MORPHEUS_ROOT}/docker/conda/environments/cuda${CUDA_VER}_ci.yml
conda deactivate && conda activate morpheus

gpuci_logger "Final Conda Environment"
show_conda_info

gpuci_logger "Check versions"
python3 --version
gcc --version
g++ --version

show_conda_info

gpuci_logger "Installing dependencies"
mamba env update -q -n morpheus -f ${MORPHEUS_ROOT}/docker/conda/environments/cuda${CUDA_VER}_dev.yml
conda deactivate && conda activate morpheus

gpuci_logger "Final Conda Environment"
conda list

gpuci_logger "Check cmake & ninja"
cmake --version
ninja --version

Expand Down
11 changes: 9 additions & 2 deletions ci/scripts/jenkins/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,16 @@
gpuci_logger "Env Setup"
source /opt/conda/etc/profile.d/conda.sh
export MORPHEUS_ROOT=${MORPHEUS_ROOT:-$(git rev-parse --show-toplevel)}
gpuci_logger "Procs: $(nproc)"
gpuci_logger "Memory"

# For non-gpu hosts nproc will correctly report the number of cores we are able to use
# On a GPU host however nproc will report the total number of cores and PARALLEL_LEVEL
# will be defined specifying the subset we are allowed to use.
NUM_CORES=$(nproc)
export PARALLEL_LEVEL=${PARALLEL_LEVEL:-${NUM_CORES}}
gpuci_logger "Procs: ${NUM_CORES}"
/usr/bin/lscpu

gpuci_logger "Memory"
/usr/bin/free -g

gpuci_logger "User Info"
Expand Down
3 changes: 1 addition & 2 deletions ci/scripts/jenkins/docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
set -e

source ${WORKSPACE}/ci/scripts/jenkins/common.sh
/usr/bin/nvidia-smi

restore_conda_env
pip install ${MORPHEUS_ROOT}/build/wheel
Expand All @@ -27,7 +26,7 @@ gpuci_logger "Installing Documentation dependencies"
pip install -r requirement.txt

gpuci_logger "Building docs"
make html
make -j ${PARALLEL_LEVEL} html

gpuci_logger "Tarring the docs"
tar cfj "${WORKSPACE_TMP}/docs.tar.bz" build/html
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ COPY docker/conda/environments/cuda${CUDA_VER}_runtime.yml ./docker/conda/enviro
RUN --mount=type=bind,from=conda_bld_morpheus,source=/opt/conda/conda-bld,target=/opt/conda/conda-bld \
--mount=type=cache,id=conda_pkgs,target=/opt/conda/pkgs,sharing=locked \
source activate morpheus &&\
# Install runtime dependencies that are pip-only
/opt/conda/bin/mamba env update -n morpheus --file docker/conda/environments/cuda${CUDA_VER}_runtime.yml &&\
# Install morpheus
CONDA_ALWAYS_YES=true /opt/conda/bin/mamba install -n morpheus -c local -c rapidsai -c nvidia -c nvidia/label/dev -c conda-forge morpheus &&\
# Install runtime dependencies that are pip-only
/opt/conda/bin/mamba env update -n morpheus --file docker/conda/environments/cuda${CUDA_VER}_runtime.yml &&\
# Clean and activate
conda clean -afy

Expand Down
2 changes: 1 addition & 1 deletion examples/log_parsing/postprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def accepted_types(self) -> typing.Tuple:

def _postprocess(self, x: MultiPostprocLogParsingMessage):

infer_pdf = pd.DataFrame(x.seq_ids).astype(int)
infer_pdf = pd.DataFrame(x.seq_ids.get()).astype(int)
infer_pdf.columns = ["doc", "start", "stop"]
infer_pdf["confidences"] = x.confidences.tolist()
infer_pdf["labels"] = x.labels.tolist()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cuml==0+untagged.1.g835a9ae
dateparser==1.1.0
matplotlib==3.4.3
networkx==2.6.3
numpy==1.19.5
numpy==1.22.0
pandas==1.3.3
scikit_learn==1.0.2
stellargraph==1.2.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cuml==0+untagged.1.g835a9ae
dateparser==1.1.0
matplotlib==3.4.3
networkx==2.6.3
numpy==1.19.5
numpy==1.22.0
pandas==1.3.3
scikit_learn==1.0.2
stellargraph==1.2.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cupy==9.1.0
dfencoder==0.0.35
dill==0.3.4
matplotlib==3.4.2
numpy==1.20.3
numpy==1.22.0
pandas==1.0.1
scikit_learn==1.0.2
torch==1.7.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clx==0.0.1
cudf==0+untagged.1.g788bddd
cupy==9.1.0
numpy==1.20.3
numpy==1.22.0
onnxruntime==1.10.0
s3fs==2021.5.0
scipy==1.6.0
Expand Down