UPSTREAM PR #1276: fix: correct sdapi LoRA file handling#55
UPSTREAM PR #1276: fix: correct sdapi LoRA file handling#55
Conversation
- open LoRA files through their discovered absolute paths - do not resolve symlinks when building the LoRA list
OverviewAnalysis of 48,305 functions across two binaries revealed 63 modified functions (0.13%) from a single commit fixing LoRA file handling. Power consumption increased minimally: build.bin.sd-server (+0.601%, +3,097 nJ) and build.bin.sd-cli (+0.703%, +3,374 nJ). Function counts: 63 modified, 2 new, 3 removed, 48,237 unchanged. Function AnalysisThe commit expanded Memory Operations:
Lifecycle Operations:
Application Logic:
Iterator Operations:
Standard Library Anomalies:
Other analyzed functions showed consistent patterns aligned with the structural change. Additional FindingsJustification: The regressions are expected consequences of storing an additional string field. The refactoring eliminates filesystem syscalls (microseconds) by caching absolute paths, replaces double-pass lookups ( 🔎 Full breakdown: Loci Inspector. |
Note
Source pull request: leejet/stable-diffusion.cpp#1276