Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ _update_scale
Method
_update_scale
sat/sgm/modules/diffusionmodules/openaimodel.py:950–951 ·
view source on GitHub ↗
(self, scale)
Source
from the content-addressed store, hash-verified
948
self.load_state_dict(sd, strict=False)
949
950
def
_update_scale(self, scale):
951
update_lora_scale(self, scale)
952
953
def
convert_to_fp16(self):
954
""
"
Callers
nothing calls this directly
Calls
1
update_lora_scale
Function · 0.85
Tested by
no test coverage detected