Text-to-Image
Diffusers
NeuronStableDiffusionXLPipeline
stable-diffusion
lora
template:sd-lora
Neuron
Inferentia
Instructions to use Shekswess/Canopus-Interior-Architecture-0.1-Neuron with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Shekswess/Canopus-Interior-Architecture-0.1-Neuron 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("Shekswess/Canopus-Interior-Architecture-0.1-Neuron") prompt = "Interior room of the house with plants, a chair and candles, space to relax, soft lighting, pastel colors, style of ultrafine detail, high quality photo --ar 2:3 --v 5" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -68,7 +68,7 @@ You should use `Modern Design` to trigger the image generation.
|
|
| 68 |
from diffusers import DPMSolverMultistepScheduler
|
| 69 |
from optimum.neuron import NeuronStableDiffusionXLInpaintPipeline
|
| 70 |
|
| 71 |
-
pipe = NeuronStableDiffusionXLInpaintPipeline.from_pretrained("Shekswess/
|
| 72 |
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
|
| 73 |
prompt = "Interior of a van with blue water across the road, in the style of romantic landscape vistas, light beige and amber, sleepycore, maximalism, eco-friendly craftsmanship, luxurious drapery, photo taken with provia --ar 128:85 --v 6.0 --style raw"
|
| 74 |
|
|
|
|
| 68 |
from diffusers import DPMSolverMultistepScheduler
|
| 69 |
from optimum.neuron import NeuronStableDiffusionXLInpaintPipeline
|
| 70 |
|
| 71 |
+
pipe = NeuronStableDiffusionXLInpaintPipeline.from_pretrained("Shekswess/Canopus-Interior-Architecture-0.1-Neuron", device_ids=[0, 1])
|
| 72 |
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
|
| 73 |
prompt = "Interior of a van with blue water across the road, in the style of romantic landscape vistas, light beige and amber, sleepycore, maximalism, eco-friendly craftsmanship, luxurious drapery, photo taken with provia --ar 128:85 --v 6.0 --style raw"
|
| 74 |
|