Skip to content

Question: How can we serialize parameters that shold be kept for inference? #323

@bilzard

Description

@bilzard

The document says the serialization API will be removed in future.
https://brentyi.github.io/tyro/api/tyro/extras/_serialization/#tyro.extras._serialization.to_yaml

However, in some use case like architecture search, we want to define model parameter like number of layer, depth etc. in config.
In this situation, we also need these parameter in inference. So I think we should keep these parameter in file.

The question is, what we can do in this situation? Are there more sophisticated solution than just write custom code to serialize these parameters on our own?

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