MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / lora_scale

Method lora_scale

diffusers/src/diffusers/loaders/lora_base.py:756–759  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

754
755 @property
756 def lora_scale(self) -> float:
757 # property function that returns the lora scale which can be set at run time by the pipeline.
758 # if _lora_scale has not been set, return 1
759 return self._lora_scale if hasattr(self, "_lora_scale") else 1.0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected