czbenchmarks.file_cache
File caching utilities for remote storage operations.
This module provides functions for caching datasets and model outputs to/from remote storage, primarily AWS S3. It includes functionality for downloading, uploading, and managing cached processed datasets.
Attributes
Classes
Configuration options for caching datasets and model outputs. |
Module Contents
- class czbenchmarks.file_cache.CacheOptions(/, **data: Any)[source]
Bases:
pydantic.BaseModel
Configuration options for caching datasets and model outputs.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- classmethod from_args(args: argparse.Namespace) CacheOptions [source]