Downloads · 30 days
0
jburtoft/Lykon-dreamshaper-xl-1-0-Neuron
Lykon-dreamshaper-xl-1-0-Neuron is a machine learning model from jburtoft. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a neuron compiled model from https://huggingface.co/Lykon/dreamshaper-xl-1-0
Downloads · 30 days
0
Access
Public
Updated Sep 5, 2024
Repo size
7.5 GB
Likes
0
Public
Click a slice to open those files.
.neuron7.5 GB · 100%
From the Hugging Face model README
This is a neuron compiled model from https://huggingface.co/Lykon/dreamshaper-xl-1-0
It was compiled on the 20240123 version of the Hugging Face Deep Learing AMI. Using SDK 2.16.1. It should run on an inf2.8xlarge and maybe an inf2.xlarge.
To run:
from optimum.neuron import NeuronStableDiffusionXLPipeline
pipeline = NeuronStableDiffusionXLPipeline.from_pretrained("jburtoft/Lykon-dreamshaper-xl-1-0-Neuron", device_ids=[0, 1])
prompt = "a photo of an astronaut thinking about diffusion"
# generate image
image = pipeline(prompt).images[0]
image.save("generated_image3.jpg")