Cannot import wan pipeline

there is pipeline in diffusers for wan ai model but when I try to import it , it shows wanPipeline not found error
version details:

  • :hugs: Diffusers version: 0.33.0.dev0
  • Platform: Windows-11-10.0.22631-SP0
  • Running on Google Colab?: No
  • Python version: 3.12.0
  • PyTorch version (GPU?): 2.6.0+cpu (False)
  • Flax version (CPU?/GPU?/TPU?): not installed (NA)
  • Jax version: not installed
  • JaxLib version: not installed
  • Huggingface_hub version: 0.29.3
  • Transformers version: 4.48.0
  • Accelerate version: 1.4.0
  • PEFT version: not installed
  • Bitsandbytes version: not installed
  • Safetensors version: 0.5.2
  • xFormers version: not installed
  • Accelerator: NA
  • Using GPU in script?:
  • Using distributed or parallel set-up in script?:
1 Like

Diffusers version: 0.33.0.dev0

The version should be the development version, but as a problem that sometimes occurs with Diffusers, the development version version remains the same for a while, so it is not updated with pip install -U. You can update it by uninstalling it once.

pip uninstall diffusers
pip install git+https://github.com/huggingface/diffusers

Also, the import method may change slightly depending on the library version.

1 Like