-
Notifications
You must be signed in to change notification settings - Fork 25
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
Can't get values from memory_cache because hash was changed #208
Comments
Hey @rgerkin any idea how we can fix this? |
I updated code, but problem still here. |
I think you are pointing out in that screencast that during I see three possible solutions, so let's ask @gidili which makes more sense given other design concerns. 1a) Don't set the cache outside of the
and could be used with 1b) Same as 1a, but for The problem with both of the above, I think, is that @gidili intended for
I should probably be doing #2 anyway, so I think this could be combined with #1a or #1b. #1a and #1b are more in keeping with the way that other backends are used. Also there really should be backend for this Gepetto simulation bridge, that way in the future it would be possible to have totally matching versions of simulations done on the website and simulations done in notebooks or in the shell. And at the very least there should be a GepettoWebBackend which does absolutely nothing, and which is set when the model is instantiated. |
Solution with custom backend works fine, thank you |
Branch: dash
I'm setting memory cache, and then run judge on model.
But instead getting results from memory cache model tries to resolve it with backend. It happens because when I setting cache model sets it under one hash. But then in process of judging it starts setting some params and hash is changing, and model can't find values from cache, because it has another hash now.
Flow:
https://fex.net/s/ponye3o
The text was updated successfully, but these errors were encountered: