-
Notifications
You must be signed in to change notification settings - Fork 140
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
Breakout morpheus_llm #1853
Breakout morpheus_llm #1853
Conversation
4184fc0
to
ef5a4d8
Compare
/ok to test |
03eeafb
to
12d8ca0
Compare
/ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just need to fix the documentation builds.
12d8ca0
to
c6f9aa0
Compare
/ok to test |
9586692
to
d7bc5cb
Compare
/ok to test |
@dagardner-nv Can you please take another look at the review. I have updated it - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one issue noted above re documentation builds.
/ok to test |
1 similar comment
/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>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Drop test_cuda.cu. That is a part of the morpheus tests. Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
This workaround is needed for building morpheus_llm py bindings without installing morpheus. Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
morpheus is already specified via target_link_libraries ensuring it will be built before morpheus_llm Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
This is needed to setup the namespace correctly when building with MORPHEUS_PYTHON_INPLACE_BUILD=OFF Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
This is on by default Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
This may need to be fixed up Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
We may need to revisit this and split up the documentation Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Added a message in the main CMakelists.txt t check for this and fail the build early. Sample output - >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Runing CMake configure... + cmake -S . -B build -GNinja -DCMAKE_MESSAGE_CONTEXT_SHOW=ON -DMORPHEUS_USE_CLANG_TIDY=OFF -DMORPHEUS_PYTHON_INPLACE_BUILD=ON -DMORPHEUS_PYTHON_PERFORM_INSTALL=ON -DMORPHEUS_USE_CCACHE=ON -DMORPHEUS_USE_CONDA=ON -DMORPHEUS_SUPPORT_DOCA=OFF -DMORPHEUS_BUILD_MORPHEUS_LLM=ON -DCMAKE_AR=/home/ubuntu/miniforge3/envs/comp-llm/bin/x86_64-conda-linux-gnu-ar -DCMAKE_CXX_COMPILER_AR=/home/ubuntu/miniforge3/envs/comp-llm/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_C_COMPILER_AR=/home/ubuntu/miniforge3/envs/comp-llm/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_RANLIB=/home/ubuntu/miniforge3/envs/comp-llm/bin/x86_64-conda-linux-gnu-ranlib -DCMAKE_CXX_COMPILER_RANLIB=/home/ubuntu/miniforge3/envs/comp-llm/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_C_COMPILER_RANLIB=/home/ubuntu/miniforge3/envs/comp-llm/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_LINKER=/home/ubuntu/miniforge3/envs/comp-llm/bin/x86_64-conda-linux-gnu-ld -DCMAKE_STRIP=/home/ubuntu/miniforge3/envs/comp-llm/bin/x86_64-conda-linux-gnu-strip -DMORPHEUS_BUILD_DOCS=ON -DMORPHEUS_BUILD_MORPHEUS_LLM=OFF CMake Error at CMakeLists.txt:51 (message): MORPHEUS_BUILD_MORPHEUS_LLM must be ON if MORPHEUS_BUILD_DOCS is ON >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Configuring incomplete, errors occurred! Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
7432d1a
to
ce77f77
Compare
/ok to test |
/merge |
This PR breaks out the LLM source code into -
libmorpheus_llm.so
|_ llm/init.cpython-310-x86_64-linux-gnu.so
a. morpheus_llm - all llm modules are now in this namespace
b. with the following distribution -
./build/python/morpheus_llm/dist/morpheus_llm-24.10.0a0+46.g125a6be9.dirty-py3-none-any.whl
To build and install all components in a dev env you can use these steps (steps also updated in contributing.md) -
Items of note -
To ensure right order of build-n-install morpheus_llm has dependencies on the following targets -
Ref: python/morpheus_llm/morpheus_llm/_lib/cmake/libmorpheus_llm.cmake
Pending (major) items -