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

  • Log In
  • Sign Up

Shreeyut
/
SLlora7_20_quantization

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

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

  • Libraries
  • Diffusers

    How to use Shreeyut/SLlora7_20_quantization with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Shreeyut/SLlora7_20_quantization")
    
    prompt = "A candid full body shot of a young woman wearing CCVG jeans, a pink crop top, black pumps, and various accessories, standing on an urban street corner. She's posing confidently with one hand on her hip, surrounded by beige concrete buildings, traffic signs, and glimpses of a red car and trees. The scene is bathed in soft, diffused lighting, creating a street-style aesthetic. The woman is wearing CCVG jeans, a full-length denim pant in a dark blue wash with a high-waisted design. The jeans feature a wide, flared leg silhouette from the knee down and a prominent graphic design on the outer side of the left leg displaying \"BABY GIRL\" in bold, graffiti-style lettering in shades of pink and purple with black outlines. The jeans have traditional five-pocket styling with visible contrasting stitching. She pairs this with a shade of pink and purple crop top featuring a V neckline, noodle straps, and a hint of lace at the neckline. On her feet, she wears pointed-toe black pumps. Accessories include a denim baseball cap, a fandango-colored Baguette Bag, a layered star necklace in silver, star earrings in silver, a chunky silver bracelet, and a silver waist chain adorning the jeans. Showcasing a Y2K aesthetic , the woman stands straight, with her head tilted slightly, facing the camera with a neutral expression and slightly parted lips, gazing directly at the viewer. The soft, diffused lighting creates a gentle ambiance, highlighting the contrast between the subject's confident pose and the gritty urban backdrop, emphasizing a street-style vibe that exudes urban confidence.v"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
SLlora7_20_quantization
4.83 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Shreeyut's picture
Shreeyut
Add 3 files
e3ba7a6 verified over 1 year ago
  • images
    Add 3 files over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • README.md
    2.24 kB
    initial commit over 1 year ago
  • config.yaml
    3.29 kB
    Add 3 files over 1 year ago
  • specific_layers 7,20 layers with batch size 1 and steps 500 with quantization.safetensors
    4.72 MB
    xet
    Add 3 files over 1 year ago