Carson Katri
Carson Katri
I can reproduce this on MPS as well. It didn’t crash but created a ton of swap.
Thank you for the explanation, I thought this may be the case. Resizing the image to 128x128 would produce a 512x512 image, correct?
The model may support xformers and attention slicing, which could help I assume.
I implemented probably the most simplistic form of tiling possible here: https://github.com/carson-katri/dream-textures/blob/aa0132b42dd14ddbf9491c13a7a46a01da2c880a/generator_process/actions/upscale.py I’m sure there are much better approaches that would limit seams. Perhaps just tiling the latent decoding process?...
Two current solutions are to wrap the View in a `Button` or a `HTML` view with a listener for click events. All of SwiftUIs gesture APIs still need to be...
@libewa Please see this second example in the README of a HTML view calling Swift code on the mouse move event. It could be adapted to onclick fairly easily: https://github.com/TokamakUI/Tokamak#arbitrary-html
Does it build with a SwiftWasm toolchain, like through Carton?
Can a custom `Gesture` conforming use any `DynamicProperty`, such as `@Environment`?
Are you targeting WebAssembly? If so, you should probably build with Carton.
The model is several GBs large. Please wait for it to complete. The bar resets for each file it downloads.