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

edsl overwrites cache_used_dict field in the results object retreived from coop. #1489

Open
zer0dss opened this issue Jan 15, 2025 · 0 comments

Comments

@zer0dss
Copy link
Collaborator

zer0dss commented Jan 15, 2025

If the user has in the local cache the entries for the results object retrieved from a remote inference job, edsl sets the values to True for those entries in cache_used_dict.
Example.
JSON retrieved from remote inference job executed without cache:
"cache_used_dict":
{"color1": false, "color2": false},
"cache_keys": {
"color1": "e39278b591f2547376cd2978e9d18e51",
"color2":"d7298a0740d5ea6ca654ed5ea8680a95"
}}]

JSON data after the edsl loads the Results object
"cache_used_dict": {
"color1": true,
"color2": true
},
"cache_keys": {
"color1": "e39278b591f2547376cd2978e9d18e51",
"color2": "d7298a0740d5ea6ca654ed5ea8680a95"
}

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

No branches or pull requests

1 participant