Advertisement
Telegram ads for your business · TCA Media
Advertisement
Telegram ads for your business · TCA Media
AI

sd.cpp instead of Forge Neo: capabilities of nine models with 16 and 8 GB

The author compared nine image generation models for the RTX 4070 Ti SUPER with 16 GB of VRAM—versions for 8 and 16 GB were tested. Speed, quality, and Russian text rendering were evaluated.

16 Nov, 18:43Read in Russian
habr.com

The author replaced Forge Neo with stable-diffusion.cpp—a single binary C++ application engine. Models are used in the GGUF format with varying compression levels, allowing file selection based on available VRAM. The engine also supports AMD, Intel, and Apple Silicon, but in this test, it was evaluated only on an NVIDIA graphics card.

The comparison was conducted using identical prompts and seeds. Timing measured only the image generation process, excluding model loading. The 8 GB versions differ from the 16 GB versions not in GPU settings but in quantization—weight compression. In most cases, this did not affect speed: insufficient VRAM could be compensated by offloading part of the model to RAM, though generation would slow down.

The fastest in the test was Z-Image Turbo, generating an image in 5 seconds. Flux.3 Klein completed the task in 8 seconds, while Krea-2 Turbo took 11 seconds. Moss was the slowest, at 68 seconds. For the four slowest models, the author enabled a fast mode with caching of computations between adjacent steps. This reduces generation time but may degrade detail and alter composition in complex scenes, requiring separate evaluation for each prompt.

Z-Image Turbo, Flux.3 Klein, Krea-2 Turbo, and Qwen-Image 2.1 correctly rendered Russian text. Anima is primarily designed for anime and illustrations, while Flux.1 dev adheres well to descriptions but outputs symbols resembling Cyrillic letters instead of actual text. HiDream-O1 dev rendered Russian text only in large sizes. For the application to function, the author abandoned Ollama and connected the server directly to llama.cpp, adding model download and unloading capabilities.

Advertisement
Telegram ads for your business · TCA Media