Instructions to use Nanite-Labs/nanites-petroglyph-sdxl-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Nanite-Labs/nanites-petroglyph-sdxl-1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Nanite-Labs/nanites-petroglyph-sdxl-1.0") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
nanites-petroglyph-1.0 (alpha)
LoRA adapter for Stable Diffusion XL, fine-tuned on 119 petroglyph-style reference images curated from public-domain and open-licensed (CC0 / CC-BY / CC-BY-SA) Wikimedia Commons rock-art photographs.
This is an alpha release. Expected working: pecked-line iconography, desert-varnish patina, weathered stone texture, animal/spiral/humanoid figures.
Trigger token
Use the phrase petroglyph in your prompt to invoke the style.
Example prompt
petroglyph, bighorn sheep carved into red sandstone, desert varnish, spiral, weathered rock, natural stone texture
Recommended negative
blurry, lowres, text, watermark, signature, cartoon, 3d, render, modern graffiti, photo of a museum display, high contrast
Training
base_model: stabilityai/stable-diffusion-xl-base-1.0
steps: 1500
lora_rank: 16
lora_alpha: 16
resolution: 768
mixed_precision: bf16
quantize_8bit: False
lr: 0.0001
dataset_size: 119
loss_avg_last_50: 0.148
hardware: RTX 4070 8GB, CPU offload
License
The LoRA adapter is a derivative of SD XL's UNet weights and inherits the CreativeML Open RAIL++-M terms of the base model. Reference images retain their original licenses (CC0 / CC-BY / CC-BY-SA); provenance is captured in the source repository (experts/petroglyph/data/manifest.csv).
- Downloads last month
- 8
Model tree for Nanite-Labs/nanites-petroglyph-sdxl-1.0
Base model
stabilityai/stable-diffusion-xl-base-1.0