Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

lightx2v
/
Self-Forcing-NVFP4

Diffusers
Diffusion Single File
comfyui
distillation
NVFP4
video
video genration
Model card Files Files and versions
xet
Community
1

Instructions to use lightx2v/Self-Forcing-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use lightx2v/Self-Forcing-NVFP4 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("lightx2v/Self-Forcing-NVFP4", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Diffusion Single File

    How to use lightx2v/Self-Forcing-NVFP4 with Diffusion Single File:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • Notebooks
  • Google Colab
  • Kaggle
Self-Forcing-NVFP4
837 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
lightx2v's picture
lightx2v
Update README.md
7553c4f verified 13 days ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    5.01 kB
    Update README.md 13 days ago
  • self_forcing_nvfp4.safetensors
    837 MB
    xet
    Add files using upload-large-folder tool 2 months ago