Local image generation on hardware with no usable GPU acceleration: AMD
Ryzen (integrated Radeon 680M / RDNA2, gfx1035), Fedora Linux. Same
constraint-driven approach as agent-under-manager-hierarchy and
hive-mind-agents — work within real hardware limits, measure everything,
don't assume online benchmarks apply to this specific machine.
AMD's ROCm compute stack does not support this GPU target (confirmed via driver logs: "dropping ROCm device — no rocblas support for gfx target"). Vulkan compute was also attempted and did not work. A prior ComfyUI attempt on this same hardware, without resource monitoring in place at the time, took 3+ hours for a single image at standard step counts (30-50). CPU-only is the realistic path for this hardware — not a temporary workaround, a starting constraint.
Instead of standard Stable Diffusion (30-50 inference steps), this uses
OpenVINO (optimum-intel) for CPU-optimized inference paired with a
Latent Consistency Model (LCM) checkpoint that needs only 4-10 steps
— roughly an order of magnitude less compute per image.
python3 -m venv venv
source venv/bin/activate
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install --upgrade-strategy eager optimum[openvino] diffusers gradio
from optimum.intel import OVStableDiffusionPipeline
from diffusers import LCMScheduler
pipe = OVStableDiffusionPipeline.from_pretrained(
"OpenVINO/LCM_Dreamshaper_v7-fp16-ov", safety_checker=None
)
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config) # required -- see Findings
image = pipe("prompt here", num_inference_steps=8, guidance_scale=1.6).images[0]
A local Gradio GUI (gradio_app.py) wraps this with adjustable
steps/guidance sliders and loads the model once at startup rather than
per-generation.
LCMScheduler after loading.Baseline (SD1.5-class LCM Dreamshaper) tested and logged. SDXL-class comparison (heavier model, better anatomy in general but higher resource cost) planned as next test.
7 commits
Python
100.0%
Local image generation on hardware with no usable GPU acceleration: AMD
Ryzen (integrated Radeon 680M / RDNA2, gfx1035), Fedora Linux. Same
constraint-driven approach as agent-under-manager-hierarchy and
hive-mind-agents — work within real hardware limits, measure everything,
don't assume online benchmarks apply to this specific machine.
AMD's ROCm compute stack does not support this GPU target (confirmed via driver logs: "dropping ROCm device — no rocblas support for gfx target"). Vulkan compute was also attempted and did not work. A prior ComfyUI attempt on this same hardware, without resource monitoring in place at the time, took 3+ hours for a single image at standard step counts (30-50). CPU-only is the realistic path for this hardware — not a temporary workaround, a starting constraint.
Instead of standard Stable Diffusion (30-50 inference steps), this uses
OpenVINO (optimum-intel) for CPU-optimized inference paired with a
Latent Consistency Model (LCM) checkpoint that needs only 4-10 steps
— roughly an order of magnitude less compute per image.
python3 -m venv venv
source venv/bin/activate
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install --upgrade-strategy eager optimum[openvino] diffusers gradio
from optimum.intel import OVStableDiffusionPipeline
from diffusers import LCMScheduler
pipe = OVStableDiffusionPipeline.from_pretrained(
"OpenVINO/LCM_Dreamshaper_v7-fp16-ov", safety_checker=None
)
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config) # required -- see Findings
image = pipe("prompt here", num_inference_steps=8, guidance_scale=1.6).images[0]
A local Gradio GUI (gradio_app.py) wraps this with adjustable
steps/guidance sliders and loads the model once at startup rather than
per-generation.
LCMScheduler after loading.Baseline (SD1.5-class LCM Dreamshaper) tested and logged. SDXL-class comparison (heavier model, better anatomy in general but higher resource cost) planned as next test.
7 commits
Python
100.0%