Skip to content

Can't store object dtyped sampler warnings in ClickHouseBackend #73

New issue

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

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

Already on GitHub? # to your account

Closed
michaelosthege opened this issue Dec 19, 2022 · 0 comments
Closed
Labels
bug Something isn't working important Work on this first

Comments

@michaelosthege
Copy link
Member

michaelosthege commented Dec 19, 2022

Since PyMC v4.3.0 the sampler warnings are collected as stats, which means that they end up in the sampler_stats that the ClickHouseBackend is asked to collect.

This leads to problems because object typed variables can't be stored in ClickHouse.

How this could be addressed:

  • Turn off collection of warning stats at the PyMC level
  • Filter them in the TraceBackend
  • Have ClickHouseBackendignore them

Not having strong preferences yet, but the best way might be to have the ClickHouseBackend.init_run filter the unsupported variables out.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working important Work on this first
Projects
None yet
Development

No branches or pull requests

1 participant