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

Useless/misleading stage instance debug_mode attribute? #782

Open
thehrh opened this issue Jul 26, 2024 · 0 comments
Open

Useless/misleading stage instance debug_mode attribute? #782

thehrh opened this issue Jul 26, 2024 · 0 comments

Comments

@thehrh
Copy link
Contributor

thehrh commented Jul 26, 2024

This attribute claims to disable caching at the Stage base class level, but it doesn't actually seem to have any functionality. No service throughout the code base implements any custom behaviour.
debug_mode was introduced in 4cb9172 and used to have various effects as one can tell.

What to do with it? Make it, e.g., force compute always to call compute_function at least (no caching on identical parameter value hashes)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant