Skip to content

Commit

Permalink
Fix offload tests for CogVideoX and CogView3 (#10547)
Browse files Browse the repository at this point in the history
* update

* update
  • Loading branch information
a-r-r-o-w authored Jan 15, 2025
1 parent 4dec63c commit f9e957f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class CogVideoXTransformerTests(ModelTesterMixin, unittest.TestCase):
model_class = CogVideoXTransformer3DModel
main_input_name = "hidden_states"
uses_custom_attn_processor = True
model_split_percents = [0.7, 0.7, 0.8]

@property
def dummy_input(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class CogView3PlusTransformerTests(ModelTesterMixin, unittest.TestCase):
model_class = CogView3PlusTransformer2DModel
main_input_name = "hidden_states"
uses_custom_attn_processor = True
model_split_percents = [0.7, 0.6, 0.6]

@property
def dummy_input(self):
Expand Down

0 comments on commit f9e957f

Please sign in to comment.