Skip to content

Flux sometimes fails spuriously before encodeText and then kills my test iPad entirely until restart. #77

Description

@Bersaelor

Model name

flux

Command run

This is a follow up of this thread I have now managed to complete many generations of images. Here's how I got there:

uv run coreai.diffusion.export flux2-klein-4b --platform iOS --overwrite

then compiled

{
    for m in VAEEncoder_half VAEDecoder_half TextEncoder Transformer_512; do
      xcrun coreai-build compile "$SRC/${m}.aimodel" \
        --platform iOS --architecture h16g --preferred-compute gpu \
        --output "$DST/${m}.aimodelc"
    done
}

imported into Xcode target and called via the documentation.

macOS / iOS target

macos 27 beta 2, ipadOS 27 beta 2

Xcode version

xcode 27 beta 2

Python / uv version

uv 0.11.25

Full error output

When prompting I sometimes get spurious:

Task 1123: signal SIGABRT

in this line of code of the coreai-models framework.

here's a full stack trace screenshot:

Image

Anything else?

It would be really nice if the framework coreai-models could give more info about what exactly went wrong, or help the host app recovering instead of crashing.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions