mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 03:44:54 +00:00
Print error logs from workers during integration tests
This commit is contained in:
parent
c9c65ab323
commit
2a13c833b5
@ -245,7 +245,7 @@ def launcher(event_loop):
|
|||||||
env["USE_FLASH_ATTENTION"] = "false"
|
env["USE_FLASH_ATTENTION"] = "false"
|
||||||
|
|
||||||
with subprocess.Popen(
|
with subprocess.Popen(
|
||||||
args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env
|
args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, env=env
|
||||||
) as process:
|
) as process:
|
||||||
yield ProcessLauncherHandle(process, port)
|
yield ProcessLauncherHandle(process, port)
|
||||||
|
|
||||||
@ -256,7 +256,6 @@ def launcher(event_loop):
|
|||||||
print(launcher_output, file=sys.stderr)
|
print(launcher_output, file=sys.stderr)
|
||||||
|
|
||||||
process.stdout.close()
|
process.stdout.close()
|
||||||
process.stderr.close()
|
|
||||||
|
|
||||||
if not use_flash_attention:
|
if not use_flash_attention:
|
||||||
del env["USE_FLASH_ATTENTION"]
|
del env["USE_FLASH_ATTENTION"]
|
||||||
|
Loading…
Reference in New Issue
Block a user