def __post_init__()

in src/optimum/nvidia/export/config.py [0:0]


    def __post_init__(self):
        if self.max_batch_size < 1:
            raise ValueError(f"max_batch_size should >= 1, got {self.max_batch_size}")