[go: nahoru, domu]

Skip to content

Commit

Permalink
Update diffusers version to 0.18.0 (modelscope#377)
Browse files Browse the repository at this point in the history
* update diffusers to 0.18.0

* fix bugs
  • Loading branch information
wangqiang9 authored Jul 14, 2023
1 parent 0f36b08 commit 0b85979
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements/multi-modal.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
accelerate
cloudpickle
decord>=0.6.0
diffusers==0.15.0
diffusers==0.18.0
fairseq
ftfy>=6.0.3
librosa==0.9.2
Expand Down
4 changes: 2 additions & 2 deletions tests/trainers/test_lora_diffusion_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def tearDown(self):
shutil.rmtree(self.tmp_dir)
super().tearDown()

@unittest.skipUnless(test_level() >= 1, 'skip test in current test level')
@unittest.skipUnless(test_level() >= 0, 'skip test in current test level')
def test_lora_diffusion_train(self):
model_id = 'AI-ModelScope/stable-diffusion-v1-5'
model_revision = 'v1.0.9'
Expand Down Expand Up @@ -67,7 +67,7 @@ def cfg_modify_fn(cfg):
results_files = os.listdir(self.tmp_dir)
self.assertIn(f'{trainer.timestamp}.log.json', results_files)

@unittest.skipUnless(test_level() >= 1, 'skip test in current test level')
@unittest.skipUnless(test_level() >= 0, 'skip test in current test level')
def test_lora_diffusion_eval(self):
model_id = 'AI-ModelScope/stable-diffusion-v1-5'
model_revision = 'v1.0.9'
Expand Down

0 comments on commit 0b85979

Please sign in to comment.