Skip to content

Commit

Permalink
add LoRACheckpointToSaveHook
Browse files Browse the repository at this point in the history
  • Loading branch information
okotaku committed Sep 23, 2023
1 parent bb2cbec commit 0e6356a
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (c) OpenMMLab. All rights reserved.
import copy
import gc
import platform

import pytest
Expand Down Expand Up @@ -87,11 +86,6 @@ def tearDown(self):
MODELS.module_dict.pop('UNet2DConditionModel')
MODELS.module_dict.pop('AutoencoderKL')
MODELS.module_dict.pop('DataPreprocessor')

gc.collect()
globals().clear()
locals().clear()

return super().tearDown()

def test_init(self):
Expand Down

0 comments on commit 0e6356a

Please sign in to comment.