MCPcopy Index your code
hub / github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT / available_loras

Method available_loras

model_manager.py:178–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

176 return available
177
178 def available_loras(self):
179 available = {}
180 for p in os.listdir(TRT_MODEL_DIR):
181 if not p.endswith(".lora"):
182 continue
183 available[os.path.splitext(p)[0]] = os.path.join(TRT_MODEL_DIR, p)
184
185 return available
186
187 def get_timing_cache(self):
188 current_dir = os.path.dirname(os.path.abspath(__file__))

Callers 2

engine_profile_cardFunction · 0.80
get_lorasMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected