-
Notifications
You must be signed in to change notification settings - Fork 55
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
Trying to retrieve cache from key which doesn't exist yet triggers fatal error #190
Comments
In my opinion, blocking when the cache does not exist seems like the better approach. Previously, this wasn’t feasible, so I left it as it was, but now with the latest ExecutionBlock, blocking in the absence of the cache feels more seamless. |
Yeah maybe... I'm not that experienced with ComfyUI yet, I'm not 100% sure if blocking would solve the problem in the use case mentioned above. Just want to make it clear that my end goal here to have a way of skipping certain compute steps if the data is already in cache and do the compute and save it if it's not. My thought was to have a switch which would check if the data is null or not and based on that run some other nodes. Not sure if that would be possible with ExecutionBlock |
|
Yeah that something I would need, awesome thank you! |
Hey,
Currently, when attempting to retrieve a value from the cache using a key that doesn't exist, an exception is triggered, halting the workflow. While I understand the rationale behind this design, it's causing a blocker for my use case. Let me explain my workflow:
Unfortunately, this process fails at the first step due to the exception. To address this issue, here are two potential solutions:
Either of these solutions would enable my workflow without disrupting current functionality. I’d love to hear your thoughts on this or explore alternative approaches if you have other suggestions.
The text was updated successfully, but these errors were encountered: