Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
baar4
335m
multilingual
int8
webgpu
on-device
lightweight
Instructions to use aixk/BAAR4-IMG-335M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aixk/BAAR4-IMG-335M with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("aixk/BAAR4-IMG-335M", dtype=torch.bfloat16, device_map="cuda") prompt = "아름다운 젊은 여성의 얼굴 초상화, 자연광, 선명한 초점, 8k, photorealistic" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!