Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/models/test_models_unet_3d_condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,11 @@ def test_xformers_enable_works(self):
== "XFormersAttnProcessor"
), "xformers is not enabled"

# Overriding because `block_out_channels` needs to be different for this model.
# Overriding to set `norm_num_groups` needs to be different for this model.
def test_forward_with_norm_groups(self):
init_dict, inputs_dict = self.prepare_init_args_and_inputs_for_common()

init_dict["norm_num_groups"] = 32
init_dict["block_out_channels"] = (32, 64, 64, 64)

model = self.model_class(**init_dict)
model.to(torch_device)
Expand Down