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

Tests for gnn_fraud_detection_pipeline & ransomware_detection #904

Merged
merged 185 commits into from
May 15, 2023

Conversation

dagardner-nv
Copy link
Contributor

@dagardner-nv dagardner-nv commented Apr 24, 2023

Description

  • Renamed examples/gnn_fraud_detection_pipeline/requirements.yml to docker/conda/environments/cuda11.8_examples.yml, replacing the original with a symlink.
  • Test stage includes additional packages needed for gnn_fraud_detection_pipeline & ransomware_detection pipelines
  • Locally pytest will skip these if the deps are missing
  • Add a new --fail_missing flag which will cause tests to fail instead of skip on missing deps
  • Remove unused redundant apt install of nodejs & npm
  • Use openjdk-11-jre-headless for Kafka instead of openjdk-11-jdk, removing un-needed deps from the image like alsa and GL.

gnn_fraud_detection_pipeline changes:

ransomware_detection changes:

  • Explicitly exclude ldrmodules_df_path from model_features
  • Document that C++ execution is currently unsupported
  • Move nested methods in CreateFeaturesRWStage to methods on the class allowing them to be tested
  • Perform pre-allocation of needed columns in PreprocessingRWStage
  • Update dependencies for training script, and update due to API changes in Tensorflow

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

…ed out here since the original is large and not part of the dataset pulled by the test stage in CI
…ased-hash.txt to the version in the morpheus/data dir
…with just the id2label actually used by LogParsingPostProcessingStage
@mdemoret-nv
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit cef498a into nv-morpheus:branch-23.07 May 15, 2023
rapids-bot bot pushed a commit that referenced this pull request May 15, 2023
Usage looks like:
```
ci/scripts/run_ci_local.sh checks
ci/scripts/run_ci_local.sh build
ci/scripts/run_ci_local.sh docs
ci/scripts/run_ci_local.sh test
```

Build artifacts are stored locally in `.tmp/local_ci_tmp` or can be overridden by defining `LOCAL_CI_TMP`

To run the entire CI pipeline:
```
ci/scripts/run_ci_local.sh all
```

To run bash inside of the CI containers:
```
# Runs in the build container
ci/scripts/run_ci_local.sh

# Runs in the test container
USE_GPU=1 ci/scripts/run_ci_local.sh
```

Includes changes from #904
Fixes #948

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

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

URL: #949
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement to existing functionality non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[BUG]: stellargraph requires python < 3.9 breaking the gnn_fraud_detection_pipeline example
2 participants