cascade.utils.Config

class cascade.utils.Config[source]

Bases: object

Global configurations

Attributes

ANNDATA_KEY

Key to store data configuration in AnnData.

CKPT_SAVE_K

Number of top models to save as checkpoints.

CUDA_REMAP

Whether to remap granted CUDA device IDs.

DEBUG_FLAG

Convenience utility for setting conditional breakpoints without affecting running workflows.

DETERMINISTIC

Whether to use deterministic cuDNN implementations.

FALLBACK_DTYPE

LOG_LEVEL

Log level.

LOG_STEP_INTERVAL

Refresh rate of the training progress bar.

MIN_DELTA

Minimal score improvement call convergence in earlystopping.

NUM_WORKERS

Number of worker processes to use in data loader.

PATIENCE

Patience to call convergence in earlystopping.

PBAR_REFRESH

Refresh rate of the training progress bar.

PERSISTENT_WORKERS

Whether to use persistent workers in data loader.

PRECISION

Floating point precision.

RUN_ID

A unique UUID for the running session