Skip to content

possibly speed up save_object #1040

Open
@stemangiola

Description

@stemangiola

save_object is slow for big models (~10K parameters)

Possible improvement 1

qs2 is a very fast format for saving and reading data. For huge models, fit$save_object() is slow in the rds format.

It would be great to ass the qs2 (or qs) option to save_object.

Possible improvement 2

allow save_object to save a set of parameters. Would this speed up the function?

Possible improvement 3

If we had the option of saving or reading draws as DuckDB, making the summary of one parameter would not require the loading of the whole posterior draws.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions