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

[draft] morpheus-llm conda package #1912

Closed

Conversation

AnuradhaKaruppiah
Copy link
Contributor

@AnuradhaKaruppiah AnuradhaKaruppiah commented Sep 24, 2024

  • Create morpheus-llm conda package
  • Update github workflow to upload the morpheus-llm conda package to anaconda

Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Style used for purposes of consistency -
1. Imports in __init__ and pipeline are absolute
2. All other imports (withing morpheus_dfp) are relative

Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
The morpheus_dfp package is entirely python and setup.py can be used directly to
create this package. However for the sake of consistency cmake with
mopheus_utils_build_python_package is used.

Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
1. Add a build flag to disable compiling morpheus-core
2. Add a build flag for morpheus_dfp
3. Add morpheus_dfp conda recipe

Cleanup:
1. Avoid enabling morpheus extended package flags in the runner container.
Instead set them via the build scripts. This is mainly to avoid the
confusion in managing the flags.
2. Removed some of the build flags passed to the conda recipes to avoid
confusion.
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
@AnuradhaKaruppiah AnuradhaKaruppiah requested review from a team as code owners September 24, 2024 22:55
Copy link

copy-pr-bot bot commented Sep 24, 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.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@AnuradhaKaruppiah AnuradhaKaruppiah changed the title morpheus-llm conda package [draft] morpheus-llm conda package Sep 24, 2024
@AnuradhaKaruppiah AnuradhaKaruppiah marked this pull request as draft September 24, 2024 22:55
@AnuradhaKaruppiah AnuradhaKaruppiah added non-breaking Non-breaking change improvement Improvement to existing functionality conda-build Enables running the conda-build step on a PR conda-lib-build labels Sep 24, 2024
@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

1. ci/conda/recipes/morpheus will be removed once the morpheus runtime
   container is updated to install the morpheus libraries
2. morpheus-libs/meta.yaml will generate conda packages for all the morpheus
   libraries

Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
@AnuradhaKaruppiah AnuradhaKaruppiah force-pushed the package-llm branch 4 times, most recently from 53734d0 to 03ce1cf Compare September 30, 2024 21:08
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
1. conda-build is used for building conda pacakge for the morpheus libraries.
2. Dropped the conda package with "all components". This will be replaced with
the individual conda packages.

Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
@AnuradhaKaruppiah
Copy link
Contributor Author

/ok to test

@AnuradhaKaruppiah
Copy link
Contributor Author

Moved these commits to PR #1897 . It was challenging to fixup the conda recipe across two PRs.

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 improvement Improvement to existing functionality non-breaking Non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants