Skip to content

exceptions

zeus.optimizer.batch_size.exceptions

Zeus batch size optimizer client exceptions.

ZeusBSORuntimError

Bases: ZeusBaseError

Bso server failed to process the request correctly.

Source code in zeus/optimizer/batch_size/exceptions.py
6
7
8
9
class ZeusBSORuntimError(ZeusBaseError):
    """Bso server failed to process the request correctly."""

    pass

ZeusBSOTrainFailError

Bases: ZeusBaseError

Training failed for the chosen batch_size.

Source code in zeus/optimizer/batch_size/exceptions.py
12
13
14
15
class ZeusBSOTrainFailError(ZeusBaseError):
    """Training failed for the chosen batch_size."""

    pass

ZeusBSOConfigError

Bases: ZeusBaseError

Configuration of training doesn't meet the requirements. ex) heterogeneous GPU.

Source code in zeus/optimizer/batch_size/exceptions.py
18
19
20
21
class ZeusBSOConfigError(ZeusBaseError):
    """Configuration of training doesn't meet the requirements. ex) heterogeneous GPU."""

    pass

ZeusBSOOperationOrderError

Bases: ZeusBaseError

Order of calling methods of BatchSizeOptimizer is wrong.

Source code in zeus/optimizer/batch_size/exceptions.py
24
25
26
27
class ZeusBSOOperationOrderError(ZeusBaseError):
    """Order of calling methods of BatchSizeOptimizer is wrong."""

    pass

ZeusBSOBadOperationError

Bases: ZeusBaseError

The usage of operations is wrong.

Source code in zeus/optimizer/batch_size/exceptions.py
30
31
32
33
class ZeusBSOBadOperationError(ZeusBaseError):
    """The usage of operations is wrong."""

    pass