You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble using Prefect with the pymc library. When I send logs to the UI, the flow gets stuck and doesn't finish, so I have to cancel it manually. This problem happens with both Prefect versions 2 and 3.
I've encountered similar issues with other situations, like with Dask and other integrations, but I couldn't figure out the problem. I think solving this issue will also help with other similar unnoticed problems.
Here's a minimal reproducible example. When it's working properly (without sending logs to the UI), it should run in 5 to 6 seconds.
logging.yaml
version: 1
disable_existing_loggers: False
handlers:
console:
level: WARNING
class: prefect.logging.handlers.PrefectConsoleHandler
api:
class: prefect.logging.handlers.APILogHandler
loggers:
pymc:
level: INFO
handlers: [ api ]
propagate: false
root:
level: INFO
handlers: [ console ]
Bug summary
I'm having trouble using Prefect with the pymc library. When I send logs to the UI, the flow gets stuck and doesn't finish, so I have to cancel it manually. This problem happens with both Prefect versions 2 and 3.
I've encountered similar issues with other situations, like with Dask and other integrations, but I couldn't figure out the problem. I think solving this issue will also help with other similar unnoticed problems.
Here's a minimal reproducible example. When it's working properly (without sending logs to the UI), it should run in 5 to 6 seconds.
logging.yaml
acme.py
Version info (
prefect version
output)Additional context
I already tried disabling the progress bar from Pymc, but the issue is still persisting (flow gets stuck)
Also, this is the stack trace when interrupting the execution on Prefect 3
The text was updated successfully, but these errors were encountered: