iris.c icon indicating copy to clipboard operation
iris.c copied to clipboard

Flux 2 image generation model pure C inference

Results iris.c issues
Sort by recently updated
recently updated
newest added

When compiling jpeg.h with gcc, the compiler emits a -Wshift-negative-value warning in jpeg_extend ``` jpeg.h: In function 'jpeg_extend': jpeg.h:377:21: warning: left shift of negative value [-Wshift-negative-value] 377 | v =...

Hi Salvatore I'm using iris.c to learn diffusion internals by building a small scriptable experiment harness around it (out-of-tree: sweeps over steps/schedule/guidance/seed, contact sheets, image diffs, reproducible manifests). Right now...

On a 12 GB card the Z-Image-Turbo transformer does not fit, and iris runs all of it on the CPU: about 19 minutes per step at 1024x1024. The patch below...

On an RTX 3060 12 GB with the CUDA build of ff97831, FLUX.2-klein-4B at 1024x1024 decodes the image on the CPU, and that is most of the time: ``` $...

./download_model.sh zimage-turbo doesn't work, it tries to download files that don't exist on the website, like `tokenizer/added_tokens.json`.

I suggest adding a Vulkan compute backend for Windows/Linux GPU inference, as Vulkan has proven itself being a reliable (just works™), and often already installed GPU Compute API (almost no...

This is really great, like a dream come true!! Thanks a lot for developing this! A C-only image generation program that has true good support for Macs! I know there...

I am running on Linux with OpenBLAS, but it is significantly slower than running via Python (256X256 with 2 steps). Is this intentional as the tradeoff of not using a...

Using commit https://github.com/antirez/iris.c/commit/9873887d4aa0646c650adc5b86b986d2f653b7e0 ## Crash EXC_BAD_ACCESS (KERN_INVALID_ADDRESS at 0x8) during img2img generation with reference images: ``` MPSGraphOSLog -[MPSGraphExecutable runInternalWithDevice:commandBuffer:feeds:results:executionDescriptor:mpsGraphOwnedCommandBuffer:] -[MPSGraph encodeToCommandBuffer:feeds:targetOperations:resultsDictionary:executionDescriptor:] iris_gpu_linear_bf16_mpsgraph_into (iris_metal.m:5691) iris_gpu_linear_bf16_native_into (iris_metal.m:5799) single_block_forward_bf16 (iris_transformer_flux.c:2939) iris_transformer_forward_bf16_flux (iris_transformer_flux.c:3217) iris_transformer_forward_refs_flux...

AMD Ryzen AI 9 365, installed huggingface_hub python package and downloaded model as per instructions in the README. No error message, but the output image is a mosaic of colored...