Skip to content

Has this approach been used / tested with the new WAN 2.1 diffusers pipeline? #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ukaprch opened this issue Mar 23, 2025 · 0 comments

Comments

@ukaprch
Copy link

ukaprch commented Mar 23, 2025

I ran your approach with the diffusers library pipeline for WAN T2V 14 B and received the following messages:

Warning: DiT library is not accessible. DiTCacheHelper cannot be used.
Warning: CalibrationHelper not imported.
Warning: DiffuserCalibrationHelper not imported. Ensure Diffusers is installed.

bypassing smoothcache processing. I used the code below:

if device == 'cpu': pipe.enable_model_cpu_offload() else: pipe = pipe.to(device=device) # Import SmoothCacheHelper from SmoothCache import DiffuserCacheHelper import json # Initialize the DiffuserCacheHelper with the model with open("./SmoothCache/smoothcache_schedules/diffuser_schedule.json", "r") as f: schedule = json.load(f) cache_helper = DiffuserCacheHelper(pipe.transformer, schedule=schedule) # Enable the caching helper cache_helper.enable()
Is there an alternative approach that can be used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant