Search before asking
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?