Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set logging level for comfy package to WARN #449

Merged
merged 2 commits into from
Mar 10, 2025
Merged

Conversation

pschroedl
Copy link
Collaborator

Excessive 'INFO' logging may be slowing down pipelines.

This sets the log level to WARNING for the comfy package in the pipeline process and removes logs such as:

timestamp=2025-03-07 21:30:14 level=INFO location=model_management.py:629:_load_models_gpu gateway_request_id=8d6efc9d stream_id= message=Loaded <LoadedModel <ModelPatcher for BaseModel (model_dtype=torch.float16 device=cuda:0 size=7.8 KiB operations=disable_weight_init)>>

Attempts to use config arguments to ComfystreamClient did not produce the same results:
runner/app/live/pipelines/comfyui.py:270

        self.client = ComfyStreamClient(cwd=comfy_ui_workspace, verbose='WARNING', logging_level='WARNING')

had no effect.

@emranemran emranemran merged commit 0f6a5c0 into main Mar 10, 2025
10 checks passed
@emranemran emranemran deleted the log_level_warning branch March 10, 2025 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants