Skip to content

Commit

Permalink
use small model for testing textual inversion
Browse files Browse the repository at this point in the history
  • Loading branch information
eaidova committed Nov 25, 2024
1 parent 6a3b1ba commit f970233
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/openvino/test_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ def test_textual_inversion(self):
# for now we only test for stable-diffusion
# this is very slow and costly to run right now

model_id = "runwayml/stable-diffusion-v1-5"
ti_id = "sd-concepts-library/cat-toy"
model_id = "hf-internal-testing/tiny-stable-diffusion-torch"
ti_id = "katuni4ka/textual_inversion_cat"

inputs = self.generate_inputs()
inputs["prompt"] = "A <cat-toy> backpack"
Expand Down Expand Up @@ -630,8 +630,8 @@ def test_textual_inversion(self):
# for now we only test for stable-diffusion
# this is very slow and costly to run right now

model_id = "runwayml/stable-diffusion-v1-5"
ti_id = "sd-concepts-library/cat-toy"
model_id = "hf-internal-testing/tiny-stable-diffusion-torch"
ti_id = "katuni4ka/textual_inversion_cat"

inputs = self.generate_inputs(model_type="stable-diffusion")
inputs["prompt"] = "A <cat-toy> backpack"
Expand Down Expand Up @@ -874,8 +874,8 @@ def test_textual_inversion(self):
# for now we only test for stable-diffusion
# this is very slow and costly to run right now

model_id = "runwayml/stable-diffusion-v1-5"
ti_id = "sd-concepts-library/cat-toy"
model_id = "hf-internal-testing/tiny-stable-diffusion-torch"
ti_id = "katuni4ka/textual_inversion_cat"

inputs = self.generate_inputs()
inputs["prompt"] = "A <cat-toy> backpack"
Expand Down

0 comments on commit f970233

Please sign in to comment.