bitorch_engine.optim.diode_beta.check_pytorch_version

bitorch_engine.optim.diode_beta.check_pytorch_version(required_version)[source]

Checks if the current PyTorch version meets the specified minimum version requirement.

Parameters:

required_version (str) – The minimum version of PyTorch required.

Raises:

Exception – If the current PyTorch version is below the required minimum version.