"sgl-kernel/vscode:/vscode.git/clone" did not exist on "7e8187e00428d292b98526ba7b78f95a30f05fba"
  • Aaron V's avatar
    Create a means for caching task registration and request building. Ad… (#1372) · 1e6c9272
    Aaron V authored
    
    
    * Create a means for caching task registration and request building. Add the ability to specify an args dict for simple_evaluate().
    
    * Remove extra S in cache path in caching module
    Co-authored-by: default avatarHailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
    
    * Rename requests cache args, make model_args polymorphic so that a dict can also be accepted.
    
    * Update docs to reflect new caching behavior, add CLI args for requests caching. Create a function for deleting items in the cache.
    
    * Update documentation, fix minor bug with arg parsing for requests caching where an undefined variable was used.
    
    * Remove line from gitignore, add to cli for caching datasets.
    
    * Add hashing suffix to .pickles. Update test script typo.
    
    * Favor isinstance() over type() in evaluator.py
    
    * Add tests for caching, gets tests working, remove unneeded arg from build_all_requests().
    
    * Update arg description to simple_evaluate.
    
    * Update pyproject.toml
    
    * Fix typehint
    
    * Remove the use of random() for creating default cache pickle hash.
    
    * Check that cache dir exists before clearing it in request cache tests.
    
    * Fix linting problems.
    
    * Fix additional formatting errors.
    
    * Remove trailing whitespace.
    
    * Add new line to the end of .gitignore.
    
    ---------
    Co-authored-by: default avatarHailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
    1e6c9272
interface.md 10.3 KB