From 41609802fabdf042472dc8600f80c00c877ad608 Mon Sep 17 00:00:00 2001 From: Anuradha Karuppiah Date: Tue, 1 Oct 2024 09:53:39 -0700 Subject: [PATCH 1/2] Build morpheus_llm by default (#1911) Changed the MORPHEUS_BUILD_MORPHEUS_LLM default to ON Authors: - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah) Approvers: - Christopher Harris (https://github.com/cwharris) URL: https://github.com/nv-morpheus/Morpheus/pull/1911 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a295b5ac5d..f0e16ed901 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ option(BUILD_SHARED_LIBS "Default value for whether or not to build shared or st option(MORPHEUS_BUILD_BENCHMARKS "Whether or not to build benchmarks" OFF) option(MORPHEUS_BUILD_DOCS "Enable building of API documentation" OFF) option(MORPHEUS_BUILD_EXAMPLES "Whether or not to build examples" OFF) -option(MORPHEUS_BUILD_MORPHEUS_LLM "Whether or not to build morpheus_llm" OFF) +option(MORPHEUS_BUILD_MORPHEUS_LLM "Whether or not to build morpheus_llm" ON) option(MORPHEUS_BUILD_TESTS "Whether or not to build tests" OFF) option(MORPHEUS_ENABLE_DEBUG_INFO "Enable printing debug information" OFF) option(MORPHEUS_PYTHON_BUILD_STUBS "Whether or not to generated .pyi stub files for C++ Python modules. Disable to avoid requiring loading the NVIDIA GPU Driver during build" ON) From 0fddc65c8c6ee49c25061ffb084d8232827b2d76 Mon Sep 17 00:00:00 2001 From: David Gardner <96306125+dagardner-nv@users.noreply.github.com> Date: Tue, 1 Oct 2024 16:31:06 -0700 Subject: [PATCH 2/2] Remove debug log in `HttpServerSourceStage` when the queue is empty (#1921) Closes [#1919](https://github.com/nv-morpheus/Morpheus/issues/1919) ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md). - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - David Gardner (https://github.com/dagardner-nv) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: https://github.com/nv-morpheus/Morpheus/pull/1921 --- .../morpheus/morpheus/stages/input/http_server_source_stage.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/morpheus/morpheus/stages/input/http_server_source_stage.py b/python/morpheus/morpheus/stages/input/http_server_source_stage.py index 66a16c9584..fbcac0debf 100644 --- a/python/morpheus/morpheus/stages/input/http_server_source_stage.py +++ b/python/morpheus/morpheus/stages/input/http_server_source_stage.py @@ -256,7 +256,6 @@ def _generate_frames(self, subscription: mrc.Subscription) -> typing.Iterator[Me or not subscription.is_subscribed()): self._processing = False else: - logger.debug("Queue empty, sleeping ...") time.sleep(self._sleep_time) except Closed: logger.error("Queue closed unexpectedly, shutting down")