Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

charles2530
/
Wan2.2-NVFP4-Sparse

Diffusers
video_generation
NVFP4
Sparse_Attention
Wan
Model card Files Files and versions
xet
Community

Instructions to use charles2530/Wan2.2-NVFP4-Sparse with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use charles2530/Wan2.2-NVFP4-Sparse with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("charles2530/Wan2.2-NVFP4-Sparse", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
Wan2.2-NVFP4-Sparse / __pycache__
24.1 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
charles2530's picture
charles2530
Add files using upload-large-folder tool
e2634b7 verified 4 days ago
  • convert_lightx2v_nvfp4_to_comfy.cpython-312.pyc
    8.75 kB
    Add files using upload-large-folder tool 4 days ago
  • verify_comfy_nvfp4.cpython-312.pyc
    11 kB
    Add files using upload-large-folder tool 4 days ago
  • verify_comfy_source_compat.cpython-312.pyc
    4.33 kB
    Add files using upload-large-folder tool 4 days ago