mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-15 00:03:06 +00:00
comfy: log where rust can find them
This commit is contained in:
@@ -164,7 +164,7 @@ def wait_for_comfy_startup(server_address, timeout=SERVER_START_TIMEOUT, termina
|
||||
|
||||
|
||||
async def main():
|
||||
outer_retries = 2
|
||||
outer_retries = 1
|
||||
restart_trigger_file = args.server_restart_trigger_file
|
||||
|
||||
pipeline_type = PipelineType.BASE
|
||||
|
||||
@@ -263,12 +263,13 @@ async def main():
|
||||
if not args.skip_comfy_startup:
|
||||
print("Starting comfy server")
|
||||
try:
|
||||
await asyncio.create_subprocess_exec(
|
||||
"../venv/bin/python", "main.py", "--highvram", "--disable-metadata", cwd=COMFY_ROOT_DIRECTORY,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
stdin=subprocess.PIPE
|
||||
)
|
||||
comfyui_process = subprocess.Popen(["../venv/bin/python", "main.py", "--highvram", "--disable-metadata"], cwd=COMFY_ROOT_DIRECTORY, stderr=subprocess.STDOUT, stdin=subprocess.PIPE)
|
||||
# await asyncio.create_subprocess_exec(
|
||||
# "../venv/bin/python", "main.py", "--highvram", "--disable-metadata", cwd=COMFY_ROOT_DIRECTORY,
|
||||
# stdout=subprocess.STDOUT,
|
||||
# stderr=subprocess.STDOUT,
|
||||
# stdin=subprocess.PIPE
|
||||
# )
|
||||
except Exception as e:
|
||||
print("Error while starting comfy server")
|
||||
print(e)
|
||||
|
||||
Reference in New Issue
Block a user