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

Refactor Morpheus unit tests and plugin to the conda recipe for per-lib testing #1933

Merged
merged 25 commits into from
Oct 12, 2024

Conversation

AnuradhaKaruppiah
Copy link
Contributor

@AnuradhaKaruppiah AnuradhaKaruppiah commented Oct 8, 2024

  • Unit tests refactor - core, dfp, llm
  • Conda recipe update to include package testing
  • Github workflow changes to require GPUs for the conda packaging stage
  • Move away from the morpheus-build-container to a slimmer base image (rapidsai/ci-conda)

@AnuradhaKaruppiah AnuradhaKaruppiah requested review from a team as code owners October 8, 2024 21:45
Copy link

copy-pr-bot bot commented Oct 8, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@AnuradhaKaruppiah AnuradhaKaruppiah added non-breaking Non-breaking change feature request New feature or request conda-build Enables running the conda-build step on a PR labels Oct 8, 2024
@AnuradhaKaruppiah AnuradhaKaruppiah self-assigned this Oct 8, 2024
@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

2 similar comments
@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

@AnuradhaKaruppiah AnuradhaKaruppiah force-pushed the tests-refactor branch 5 times, most recently from 0f90d26 to 6b38de4 Compare October 10, 2024 03:07
@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

@AnuradhaKaruppiah AnuradhaKaruppiah force-pushed the tests-refactor branch 2 times, most recently from 6c0b070 to b2311dc Compare October 10, 2024 19:15
@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

1 similar comment
@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

AnuradhaKaruppiah and others added 25 commits October 11, 2024 17:11
Signed-off-by: Anuradha Karuppiah <[email protected]>
databricks-connect is currently pip installed which makes it difficult
to add as a conda runtime dependency. so the tests for the functionality
have been made optional.

Signed-off-by: Anuradha Karuppiah <[email protected]>
tmpdir is a legacy fixture that seems to only be available with
pytest_kafka

Signed-off-by: Anuradha Karuppiah <[email protected]>
It is need by beautiful soup to fix the test failure in
test_rss_controller.py -
 bs4.FeatureNotFound: Couldn't find a tree builder with the features you
requested: xml.

Signed-off-by: Anuradha Karuppiah <[email protected]>
conda buids runs the relevant unit tests to validate the library that
it just built and these tests require GPU(s).

Signed-off-by: Anuradha Karuppiah <[email protected]>
GPU is a pre-requisite for testing the conda packages

Signed-off-by: Anuradha Karuppiah <[email protected]>
Signed-off-by: Anuradha Karuppiah <[email protected]>
These are pip dependencies needed to run the llm unit tests at the end
of conda build

Signed-off-by: Anuradha Karuppiah <[email protected]>
databricks units tests will be skipped in the morpheus-conda testing.

Signed-off-by: Anuradha Karuppiah <[email protected]>
This was detectected as an isort problem.

Signed-off-by: Anuradha Karuppiah <[email protected]>
…tall

Example:
Without this change -
[pytest -v tests/morpheus] - works
[pytest -v tests/morpheus/pipeline] - fails

Signed-off-by: Anuradha Karuppiah <[email protected]>
@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

@AnuradhaKaruppiah
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 3e9e02d into nv-morpheus:branch-24.10 Oct 12, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conda-build Enables running the conda-build step on a PR feature request New feature or request non-breaking Non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants