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

tvalentyn 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 792c865a939 Re-enable logging after importing vllm. (#35103)
792c865a939 is described below

commit 792c865a9391d0d63098623975d3abb7fff896ea
Author: claudevdm <[email protected]>
AuthorDate: Mon Jun 2 16:03:00 2025 -0400

    Re-enable logging after importing vllm. (#35103)
    
    Co-authored-by: Claude <[email protected]>
---
 sdks/python/apache_beam/ml/inference/vllm_inference.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sdks/python/apache_beam/ml/inference/vllm_inference.py 
b/sdks/python/apache_beam/ml/inference/vllm_inference.py
index c1f94259aca..c4d5aa2dcd3 100644
--- a/sdks/python/apache_beam/ml/inference/vllm_inference.py
+++ b/sdks/python/apache_beam/ml/inference/vllm_inference.py
@@ -43,6 +43,7 @@ try:
   os.environ["VLLM_CONFIGURE_LOGGING"] = "0"
   import vllm  # pylint: disable=unused-import
   logging.info('vllm module successfully imported.')
+  os.environ["VLLM_CONFIGURE_LOGGING"] = "1"
 except ModuleNotFoundError:
   msg = 'vllm module was not found. This is ok as long as the specified ' \
     'runner has vllm dependencies installed.'

Reply via email to