Skip to content

Move argument validation into dataclass post-init #3568

@maanug-nv

Description

@maanug-nv

Currently, various assertions and validations occur in validate_args() in arguments.py immediately after args are parsed. These should be migrated to the dataclasses' post-init/finalize functions. Assertions that cut across multiple configs should live in ConfigContainer post-init/finalize.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions