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

damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 9ed81873281 Update run_inference_vllm.ipynb (#33032)
9ed81873281 is described below

commit 9ed818732814b7b265ff2d843da5b59d1823ff59
Author: tvalentyn <[email protected]>
AuthorDate: Thu Nov 7 06:41:58 2024 -0800

    Update run_inference_vllm.ipynb (#33032)
    
    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",

Reply via email to