Expand _skip_layerwise_casting_patterns list
This commit is contained in:
@@ -536,7 +536,14 @@ class HeliosTransformer3DModel(
|
||||
"""
|
||||
|
||||
_supports_gradient_checkpointing = True
|
||||
_skip_layerwise_casting_patterns = ["patch_embedding", "condition_embedder", "norm"]
|
||||
_skip_layerwise_casting_patterns = [
|
||||
"patch_embedding",
|
||||
"patch_short",
|
||||
"patch_mid",
|
||||
"patch_long",
|
||||
"condition_embedder",
|
||||
"norm",
|
||||
]
|
||||
_no_split_modules = ["HeliosTransformerBlock", "HeliosOutputNorm"]
|
||||
_keep_in_fp32_modules = [
|
||||
"time_embedder",
|
||||
@@ -808,4 +815,4 @@ class HeliosTransformer3DModel(
|
||||
if not return_dict:
|
||||
return (output,)
|
||||
|
||||
return Transformer2DModelOutput(sample=output)
|
||||
return Transformer2DModelOutput(sample=output)
|
||||
|
||||
Reference in New Issue
Block a user