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

Conversation

efajardo-nv
Copy link
Contributor

@efajardo-nv efajardo-nv commented Jul 12, 2022

  • Add pandas 1.3 to conda recipe. This will allow pandas version in conda package to match pandas from runtime pip dependencies. When they don't match pypi package was being installed.
  • Update Dockerfile so that runtime container build conda installs morpheus before installing runtime pip dependencies. pandas from conda-forge will first be installed. Since pandas from requirements.txt will also resolve to 1.3, pandas from conda-forge will now be kept.
  • Update log parsing example to explicitly convert cupy arrays to numpy in postprocessing stage. Implicit conversion causes error in pandas 1.4.3. See [BUG] log parsing example failure  #267.

Fixes #267

dependabot bot and others added 30 commits June 22, 2022 05:08
Bumps [numpy](https://github.com/numpy/numpy) from 1.20.3 to 1.22.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst)
- [Commits](numpy/numpy@v1.20.3...v1.22.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…dels/validation-inference-scripts/phishing-models/numpy-1.22.0

Bump numpy from 1.20.3 to 1.22.0 in /models/validation-inference-scripts/phishing-models
Bumps [numpy](https://github.com/numpy/numpy) from 1.19.5 to 1.22.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst)
- [Commits](numpy/numpy@v1.19.5...v1.22.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…dels/validation-inference-scripts/fraud-detection-models/numpy-1.22.0

Bump numpy from 1.19.5 to 1.22.0 in /models/validation-inference-scripts/fraud-detection-models
Bumps [numpy](https://github.com/numpy/numpy) from 1.19.5 to 1.22.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst)
- [Commits](numpy/numpy@v1.19.5...v1.22.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…dels/training-tuning-scripts/fraud-detection-models/numpy-1.22.0

Bump numpy from 1.19.5 to 1.22.0 in /models/training-tuning-scripts/fraud-detection-models
Bumps [numpy](https://github.com/numpy/numpy) from 1.20.3 to 1.22.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst)
- [Commits](numpy/numpy@v1.20.3...v1.22.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…dels/validation-inference-scripts/hammah-models/numpy-1.22.0

Bump numpy from 1.20.3 to 1.22.0 in /models/validation-inference-scripts/hammah-models
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
Also:
- Simplifies build script.
- Build stage now has access to 16 cores (prev 10)
- Log output of `lscpu` so we have a better idea what sort of host we are running on.

Fixes nv-morpheus#115

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

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

URL: nv-morpheus#181
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci]
@efajardo-nv efajardo-nv added bug Something isn't working non-breaking Non-breaking change 3 - Ready for Review labels Jul 12, 2022
@efajardo-nv efajardo-nv requested a review from a team as a code owner July 12, 2022 18:28
@efajardo-nv
Copy link
Contributor Author

Investigating why wrong pandas version (1.4.3) is being pip installed in container.

Copy link
Contributor

@dagardner-nv dagardner-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@efajardo-nv efajardo-nv changed the title Log parsing postproc fix Fix pandas version in runtime container Jul 14, 2022
@BartleyR
Copy link
Contributor

@mdemoret-nv Do you have a problem with back porting this to 22.06?

Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mdemoret-nv mdemoret-nv changed the base branch from branch-22.08 to branch-22.06 July 14, 2022 21:34
@mdemoret-nv
Copy link
Contributor

retargeting to 22.06 for a hotfix

@mdemoret-nv
Copy link
Contributor

rerun tests

@mdemoret-nv
Copy link
Contributor

@gpucibot merge

@ghost ghost merged commit 1f700a3 into nv-morpheus:branch-22.06 Jul 15, 2022
@efajardo-nv efajardo-nv deleted the log-parsing-fix branch July 29, 2024 21:04
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[BUG] log parsing example failure
6 participants