You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love being able to cache model responses in inspect and the fine grained control I have over the cache policy. However, I often find myself writting a new solver and forgetting to add a cache policy when I call generate or wanting to change the cache policy in a bunch of places all at once. Is there some way to set a defeault cache policy for an eval?
If not, here are some potential options for an interface:
In the Task
Task(
dataset=dataset,
solver=solver,
scorer=[...],
config=GenerateConfig(cache=CachePolicy("1M")), # in the generate configcache=CachePolicy("1M") # or a seperate parameter
)
If we added it to GenerateConfig then all of the above would actually work! (syntax for the CLI and environment variables would be JSON encoded rather than what you show here). We'll plan on doing that.
I love being able to cache model responses in inspect and the fine grained control I have over the cache policy. However, I often find myself writting a new solver and forgetting to add a cache policy when I call generate or wanting to change the cache policy in a bunch of places all at once. Is there some way to set a defeault cache policy for an eval?
If not, here are some potential options for an interface:
inspect eval
The text was updated successfully, but these errors were encountered: