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

  • Log In
  • Sign Up

PhaiModelLab
/
Phai-M1

Text-to-Video
Diffusers
English
Chinese
Arabic
Model card Files Files and versions
xet
Community
1

Instructions to use PhaiModelLab/Phai-M1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use PhaiModelLab/Phai-M1 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("PhaiModelLab/Phai-M1", 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
Phai-M1
127 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 53 commits
PhaiModelLab's picture
PhaiModelLab
Update README.md
1d05f9a verified about 19 hours ago
  • _assets_
    Sync _assets_/video-12/phai.mp4 from ModelScope 3 days ago
  • prompt_enhancement
    Sync prompt_enhancement/enhancement_instructions_zh.md from ModelScope 3 days ago
  • .gitattributes
    3.02 kB
    Sync _assets_/video-12/phai.mp4 from ModelScope 3 days ago
  • LICENSE
    36 kB
    Sync LICENSE from ModelScope 3 days ago
  • Phai-M1-22b-dev-transformer-bf16.safetensors
    42 GB
    xet
    Copy files from models/PhaiModelLab/Phai-M1 about 20 hours ago
  • Phai-M1-22b-dev-transformer-comfy-int8-convrot.safetensors
    21.5 GB
    xet
    Copy files from models/PhaiModelLab/Phai-M1 about 20 hours ago
  • Phai-M1-22b-distilled-transformer-bf16.safetensors
    42 GB
    xet
    Copy files from models/PhaiModelLab/Phai-M1 about 20 hours ago
  • Phai-M1-22b-distilled-transformer-comfy-int8-convrot.safetensors
    21.5 GB
    xet
    Copy files from models/PhaiModelLab/Phai-M1 about 20 hours ago
  • README.md
    16.3 kB
    Update README.md about 19 hours ago
  • README_zh.md
    14.4 kB
    Update README_zh.md about 20 hours ago