Skip to content

Optimizer should support pytree-based parameters #54

@alonfnt

Description

@alonfnt

The Optimizer, ParamSpace, and related components should operate on pytrees instead of flat dictionaries. This would enable better JAX compatibility, support nested parameter structures, simplify tree operations (fit, init, sample), and improve flexibility for complex domains. Padding logic, transformation handling, and OptimizerState storage should be updated accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions