Instructions to use rain1011/pyramid-flow-miniflux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use rain1011/pyramid-flow-miniflux with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("rain1011/pyramid-flow-miniflux", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Current CUDA Device does not support bfloat16. Please switch dtype to float16.
#4
by marcos777123 - opened
Olá,
cuda version é 12.1 e cudnn 8.9.7
coloquei: model_dtype, torch_dtype = 'bf16', torch.float16 #torch.bfloat16
e está indo...