Skip to content

Consider more efficient serialization of CmdStanFit objects #340

Closed
@wlandau

Description

@wlandau

Is your feature request related to a problem? Please describe.

Posterior samples take up a lot of space, and RDS scales poorly. Without compression, the files get pretty big. With gzfile compression, serialization takes a lot of time.

Describe the solution you'd like

I propose a new qs-based save method analogous to the current $save_object().

Describe alternatives you've considered

If all the data in a CmdStanFit object can be expressed as a collection of data frames, maybe fst and arrow could be alternatives, but that would require multiple files per object and thus more bookkeeping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions