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

Duplicated from  wangkanai/wan21-fp8-loras

Rob1221rib
/
wan21-fp8-loras

Text-to-Video
Diffusers
wan
video-generation
lora
camera-control
fp8
Model card Files Files and versions
xet
Community

Instructions to use Rob1221rib/wan21-fp8-loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Rob1221rib/wan21-fp8-loras with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Rob1221rib/wan21-fp8-loras")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    
    output = pipe(prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
wan21-fp8-loras
1.08 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Rob1221rib's picture
Rob1221rib
wangkanai's picture
wangkanai
Duplicate from wangkanai/wan21-fp8-loras
1144ca7 3 months ago
  • loras
    Duplicate from wangkanai/wan21-fp8-loras 3 months ago
  • .gitattributes
    1.52 kB
    Duplicate from wangkanai/wan21-fp8-loras 3 months ago
  • README.md
    14.5 kB
    Duplicate from wangkanai/wan21-fp8-loras 3 months ago