Skip to content

Error: Buffer must not exceed 256MB #13

Description

@charvoa

Steps to reproduce :

Created a new projet
Added native-diffusion as a dependency (branch: master)

Download pre-converted bins here : https://drive.google.com/file/d/1EU_qxlF-p6XrxsoACvcI2CAmu45NphAC/view?usp=share_link

Copy/Pasted code from Readme.md, and chanded it to localUrl :

let path = URL(fileURLWithPath: "/Users/xyz/Downloads/bins")
do {
  try await sd.prepModels(localUrl: path)
}

I launch the app, I type "astronaut cat" in the TextField. And after a few seconds I got this error :

-[MTLDebugHeap newBufferWithLength:options:]:123: failed assertion `Buffer Validation
newBufferWith*:length 0x20000000 must not exceed 256 MB.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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