You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tv...@apache.org on 2024/11/07 00:59:55 UTC

(beam) 01/01: Update run_inference_vllm.ipynb

This is an automated email from the ASF dual-hosted git repository.

tvalentyn pushed a commit to branch tvalentyn-patch-3
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 30c58fb4df0ef4e11600b65c38410d26224a05ee
Author: tvalentyn <tv...@users.noreply.github.com>
AuthorDate: Wed Nov 6 16:59:44 2024 -0800

    Update run_inference_vllm.ipynb
    
    Enable verbose logging for Dataflow launch.
---
 examples/notebooks/beam-ml/run_inference_vllm.ipynb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/notebooks/beam-ml/run_inference_vllm.ipynb b/examples/notebooks/beam-ml/run_inference_vllm.ipynb
index fea953bc1e6..5729ac20078 100644
--- a/examples/notebooks/beam-ml/run_inference_vllm.ipynb
+++ b/examples/notebooks/beam-ml/run_inference_vllm.ipynb
@@ -484,6 +484,7 @@
         "  def process(self, element, *args, **kwargs):\n",
         "    yield \"Input: {input}, Output: {output}\".format(input=element.example, output=element.inference)\n",
         "\n",
+        "logging.getLogger().setLevel(logging.INFO)  # Output additional Dataflow Job metadata and launch logs. \n",
         "prompts = [\n",
         "    \"Hello, my name is\",\n",
         "    \"The president of the United States is\",\n",