-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPS (SimStore) CVs have several ways the can get the value for a given input object: (1) the can evaluate the function; (2) they can find the result in a memory cache; (3) they can find the result in an on-disk cache. The order in which they attempt these define the "mode" of the CV: * `analysis`: first memory cache, then disk cache, then evaluate * `production`: first memory cache, the evaluate * `no-caching`: always evaluate This PR allows a CLI interface to specify these behaviors. In particular, this might be useful for users who don't want to save CVs to disk for cheap CVs, like in toy models.
- Loading branch information
1 parent
02b3374
commit 63034a1
Showing
3 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters