Skip to content

Workflows fail to stop while workflow inference profiling is enabled (readonly filesystem) #1110

Open
@dagleaves

Description

@dagleaves

Search before asking

  • I have searched the Inference issues and found no similar bug report.

Bug

profiling_directory: str = "./inference_profiling",

Because the default profiling directory is found in "./inference_profiling" and workflow profiling is enabled by default, this fails to stop workflow inference as it errors when trying to write to this folder. Disabling workflow profiling via ENABLE_WORKFLOWS_PROFILING=False environment variable is sufficient to resolve the issue.

This is a workaround. I assume a proper fix would be to write to /tmp to support profiling? Not sure.

Environment

Inference: 0.44.0
OS: Ubuntu Server 24.04

Minimal Reproducible Example

Preview any workflow and attempt to stop it.

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions