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

X-ART
/
LeX-Lumina

Text-to-Image
Diffusers
Safetensors
Lumina2Text2ImgPipeline
art
text-rendering
Model card Files Files and versions
xet
Community
1

Instructions to use X-ART/LeX-Lumina with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use X-ART/LeX-Lumina with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("X-ART/LeX-Lumina", 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
  • Local Apps
  • Draw Things
  • DiffusionBee
LeX-Lumina
42.1 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 15 commits
stzhao's picture
stzhao
Update README.md
d18822e verified about 1 year ago
  • scheduler
    Add files using upload-large-folder tool about 1 year ago
  • text_encoder
    Add files using upload-large-folder tool about 1 year ago
  • tokenizer
    Add files using upload-large-folder tool about 1 year ago
  • transformer
    Add files using upload-large-folder tool about 1 year ago
  • vae
    Add files using upload-large-folder tool about 1 year ago
  • .gitattributes
    1.63 kB
    Upload teaser.png about 1 year ago
  • README.md
    4.16 kB
    Update README.md about 1 year ago
  • consolidated.00-of-01.pth

    Detected Pickle imports (5)

    • "torch._utils._rebuild_tensor_v2",
    • "torch._tensor._rebuild_from_type_v2",
    • "collections.OrderedDict",
    • "torch.Tensor",
    • "torch.FloatStorage"

    How to fix it?

    10.4 GB
    xet
    Add files using upload-large-folder tool about 1 year ago
  • consolidated_ema.00-of-01.pth

    Detected Pickle imports (5)

    • "torch.FloatStorage",
    • "torch.Tensor",
    • "torch._tensor._rebuild_from_type_v2",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    How to fix it?

    10.4 GB
    xet
    Add files using upload-large-folder tool about 1 year ago
  • model_args.pth

    Detected Pickle imports (1)

    • "argparse.Namespace"

    How to fix it?

    1.71 kB
    xet
    Add files using upload-large-folder tool about 1 year ago
  • model_index.json
    419 Bytes
    Add files using upload-large-folder tool about 1 year ago
  • teaser.png
    1.3 MB
    xet
    Upload teaser.png about 1 year ago