Skip to content

Commit 8ddbcad

Browse files
committed
update
1 parent 6d0d68a commit 8ddbcad

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

src/diffusers/pipelines/wan/pipeline_wan_video2video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
>>> pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config, flow_shift=flow_shift)
6060
>>> pipe.to("cuda")
6161
62-
>>> prompt = "A cat and a dog baking a cake together in a kitchen. The cat is carefully measuring flour, while the dog is stirring the batter with a wooden spoon. The kitchen is cozy, with sunlight streaming through the window."
62+
>>> prompt = "A robot standing on a mountain top. The sun is setting in the background"
6363
>>> negative_prompt = "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards"
6464
>>> video = load_video(
6565
... "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/hiker.mp4"

tests/pipelines/wan/test_wan_video_to_video.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import gc
1615
import unittest
1716

1817
import numpy as np
@@ -23,8 +22,6 @@
2322
from diffusers import AutoencoderKLWan, UniPCMultistepScheduler, WanTransformer3DModel, WanVideoToVideoPipeline
2423
from diffusers.utils.testing_utils import (
2524
enable_full_determinism,
26-
require_torch_accelerator,
27-
slow,
2825
)
2926

3027
from ..pipeline_params import TEXT_TO_IMAGE_IMAGE_PARAMS, TEXT_TO_IMAGE_PARAMS
@@ -147,23 +144,3 @@ def test_float16_inference(self):
147144
)
148145
def test_save_load_float16(self):
149146
pass
150-
151-
152-
@slow
153-
@require_torch_accelerator
154-
class WanPipelineIntegrationTests(unittest.TestCase):
155-
prompt = "A painting of a squirrel eating a burger."
156-
157-
def setUp(self):
158-
super().setUp()
159-
gc.collect()
160-
torch.cuda.empty_cache()
161-
162-
def tearDown(self):
163-
super().tearDown()
164-
gc.collect()
165-
torch.cuda.empty_cache()
166-
167-
@unittest.skip("TODO: test needs to be implemented")
168-
def test_Wanx(self):
169-
pass

0 commit comments

Comments
 (0)