Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on saving large SameDiff model with FlatBuffers #10027

Open
adonnini opened this issue Aug 31, 2023 · 0 comments
Open

Error on saving large SameDiff model with FlatBuffers #10027

adonnini opened this issue Aug 31, 2023 · 0 comments

Comments

@adonnini
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant