Allow setting weight saving flag on hidream_o1
This commit is contained in:
@@ -140,7 +140,7 @@ class HidreamO1Model(BaseModel):
|
|||||||
print(f"Using noise scale: {self.noise_scale}")
|
print(f"Using noise scale: {self.noise_scale}")
|
||||||
global _GLOBAL_NOISE_SCALE
|
global _GLOBAL_NOISE_SCALE
|
||||||
_GLOBAL_NOISE_SCALE = self.noise_scale
|
_GLOBAL_NOISE_SCALE = self.noise_scale
|
||||||
self.is_comfy_weight = False # save as single file if true
|
self.is_comfy_weight = self.model_config.model_kwargs.get("is_comfy_weight", False)
|
||||||
|
|
||||||
# static method to get the noise scheduler
|
# static method to get the noise scheduler
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user