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

yur1xfd
/
a3d_lora

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use yur1xfd/a3d_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use yur1xfd/a3d_lora with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ckpt/In-Context-LoRA", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("yur1xfd/a3d_lora")
    
    prompt = "This is a four-panel image which illustrates a pair of geometrically aligned objects in front and back side views. The [TOP-LEFT] shows a <cat animal> from the front side view. The [TOP-RIGHT] shows the same <cat animal> from the back side view. The [BOTTOM-LEFT] shows a <dog animal> from the front side view. The [BOTTOM-RIGHT] shows the same <dog animal> from the front side view."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
a3d_lora / images
53.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
yur1xfd's picture
yur1xfd
Add 2 files
4fe113d verified 12 months ago
  • photo_2025-05-21_13-47-59.jpg
    53.2 kB
    xet
    Add 2 files 12 months ago