Print error logs from workers during integration tests

This commit is contained in:
Yang, Bo 2023-06-20 14:44:42 -07:00 committed by GitHub
parent c9c65ab323
commit 2a13c833b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,7 +245,7 @@ def launcher(event_loop):
env["USE_FLASH_ATTENTION"] = "false"
with subprocess.Popen(
args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env
args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, env=env
) as process:
yield ProcessLauncherHandle(process, port)
@ -256,7 +256,6 @@ def launcher(event_loop):
print(launcher_output, file=sys.stderr)
process.stdout.close()
process.stderr.close()
if not use_flash_attention:
del env["USE_FLASH_ATTENTION"]