Repository navigation
inferna 0.5.0
Changes since the last Release
Added
SDContextParams.auto_fit,.disable_segmented_compute,.disable_prefetch,.linear_scale,.attn_scaleand.tokenizer, plus the matching--auto-fit,--disable-segmented-compute,--disable-prefetchand--tokenizerCLI flags.tokenizeris required for PiD and Lens models.Scheduler.LLADA_IMAGE,Prediction.SENSENOVA_U1_FLOW,SDType.Q2_0/F8_E4M3/F8_E5M2andLogLevel.VERBOSEfollow the header.
Changed
-
stable-diffusion.cpp updated to
master-898-2bb7294(frommaster-816-487de75), matching cyllama (cyllama#19). Frommaster-817sd.cpp called ops that exist only in leejet's ggml fork, so it no longer compiled against llama.cpp's ggml. Upstream'sSD_USE_UPSTREAM_GGML(#1999) compiles those calls out. Shared-ggml builds now pass it, withSD_GGML_SOURCE_DIRpointing at llama.cpp's ggml, instead of swapping that tree into SD's checkout.SD_USE_VENDORED_GGMLstays the only switch: both options are derived from it and passed in both modes, because they are CMake cache variables. See Stable Diffusion ggml selection. Features lost in shared mode: INT8 ConvRot model files are rejected, FP8 safetensors load as F16, and SageAttention is unavailable. None of these worked at the old pin. An existing SD checkout failsverify_checkout()at the new pin; runmake reset. -
Breaking: SD memory defaults and semantics changed upstream.
auto_fitnow defaults toTrueand places modules on the GPU, RAM, another GPU or disk by free memory. A non-emptyparams_backend, which--offload-to-cpusets, disables it.max_vramis a per-device budget:"0"uses live free VRAM instead of disabling segmentation; setdisable_segmented_computeinstead.SDContextParams.stream_layersis removed; prefetch is on by default anddisable_prefetchturns it off. -
Breaking:
LogLevelvalues shifted. Upstream insertedSD_LOG_VERBOSEafterDEBUG, soINFO,WARNandERRORare now 2, 3 and 4. WithoutVERBOSE,set_log_callbackwould have mislabelled levels and dropped everyERRORmessage on theLogLevelconversion. The CLI and examples compared levels by number and now compare by name. -
make_xcframework.pyfails whenSD_USE_VENDORED_GGML=1instead of silently overriding it: the xcframeworks ship oneGgml.framework. It also points SD at llama.cpp's ggml withSD_GGML_SOURCE_DIRinstead of copying that tree over SD's vendored fork.
Removed
stable-diffusion.cpp-graph-cut-budget-clamp.patchandstable-diffusion.cpp-conditioner-compute-failure.patch. Both defects are fixed upstream at the new pin; seescripts/patches/README.md.