This model has been pushed to the Hub using the Diffusers library:
- Basic Usage of LinFusion:
from diffusers import AutoPipelineForText2Image
import torch
from src.linfusion import LinFusion
from src.tools import seed_everything
sd_repo = "Lykon/dreamshaper-8"
pipeline = AutoPipelineForText2Image.from_pretrained(
sd_repo, torch_dtype=torch.float16, variant="fp16"
).to(torch.device("cuda"))
linfusion = LinFusion.construct_for(pipeline)
seed_everything(123)
image = pipeline(
"An astronaut floating in space. Beautiful view of the stars and the universe in the background."
).images[0]
- Downloads last month
- 23
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
the model is not deployed on the HF Inference API.