-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Stable diffusion examples #12418
add Stable diffusion examples #12418
Conversation
use_safetensors=True) | ||
pipe = pipe.to("xpu") | ||
|
||
# warmup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with torch.inference_mode():
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# Code is adapted from https://huggingface.co/docs/diffusers/en/using-diffusers/sdxl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update the url to prompthero/openjourney
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@rnwang04