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

  • Log In
  • Sign Up

Skywork
/
Matrix-Game-2.0

Image-to-Video
Diffusers
Safetensors
English
MatrixGame2I2VPipeline
Model card Files Files and versions
xet
Community
6

Instructions to use Skywork/Matrix-Game-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Skywork/Matrix-Game-2.0 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image, export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Skywork/Matrix-Game-2.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.to("cuda")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    image = load_image(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png"
    )
    
    output = pipe(image=image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
Matrix-Game-2.0
27.9 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 34 commits
liuuzexiang's picture
liuuzexiang
Delete config.json
f1729d9 verified about 1 month ago
  • base_distilled_model
    Upload folder using huggingface_hub 9 months ago
  • base_model
    Upload folder using huggingface_hub 9 months ago
  • gta_distilled_model
    Upload folder using huggingface_hub 9 months ago
  • templerun_distilled_model
    Upload folder using huggingface_hub 9 months ago
  • xlm-roberta-large
    Upload folder using huggingface_hub 9 months ago
  • .gitattributes
    1.64 kB
    Upload folder using huggingface_hub 9 months ago
  • README.md
    5.63 kB
    Update README.md 9 months ago
  • Wan2.1_VAE.pth

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    508 MB
    xet
    Upload Wan2.1_VAE.pth with huggingface_hub 9 months ago
  • architecture.png
    414 kB
    xet
    Upload architecture.png 9 months ago
  • model_index.json
    46 Bytes
    Update model_index.json about 1 month ago
  • models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    4.77 GB
    xet
    Upload folder using huggingface_hub 9 months ago