Skip to content

Error on saving large SameDiff model with FlatBuffers #10027

@adonnini

Description

@adonnini

This is a follow-up to the following thread which was left unresolved:

https://community.konduit.ai/t/error-on-saving-large-samediff-model-with-flatbuffers/578

I am running into the same problem described in the thread linked above:

"FlatBuffers: cannot grow buffer beyond 2 gigabytes."

I am using m2.

The failure occurs when I try to execute this code:

    try {
        sd.asFlatFile(saveFileForInference, false);
    } catch (IOException e) {
        throw new RuntimeException(e);
    }

after I run sd.fit

Do you need any additional information?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions